0

I am trying to upload a .zip file to Dropbox using the Dropbox API for python. But this method seems to fail. Can anyone please help me with this?

            if os.path.exists(zip_name):
                with zipfile.ZipFile(zip_name,'r') as zf:
                    self.auth_client.put_file('/', zf, overwrite=True)
                    zf.close()

Error Message:

KeyError: 'There is no item named 8192 in the archive'

This error seems to propagate from the put_file method.

Dharman
  • 30,962
  • 25
  • 85
  • 135

0 Answers0