We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
mikemcrae25
2 years agoNew member | Level 2
Dropbox API: Connection broken: IncompleteRead
Hi everyone,
I am using the API to zip and download folders each with 1000 .jpegs in them (approx 4GB - 5GB). Historically this has been no issue. In the last week however, I have started receiving...
DB-Des
Dropbox Community Moderator
11 months agoHi denseishin
I'll be happy to look further into this issue for you, please reply with:
- the name and version number of the platform and SDK/library you are using, if any
- the steps to reproduce the issue, including relevant code snippet(s), but don't
- include any access or refresh token(s)
- the full text of any error or unexpected output
Could you also confirm if requests are failing after a specific amount of time? And if so, how long is that?
denseishin
10 months agoNew member | Level 1
- Python 3.8.10 on Ubuntu 20.04 with the Python dropbox package version 11.36.2
code snippet:
def __init__():
self.dbx = dropbox.Dropbox(API keys etc. here)
def download(self, info: dict):
dbx_path = info["path"]
self.logger.log(logging.INFO,f"Downloading {dbx_path}")
noroot = dbx_path.lstrip('/')
dl_path = self.dl_path / pathlib.Path(noroot)
dl_path.parent.mkdir(exist_ok=True, parents=True)
metadata = self.dbx.files_download_to_file(str(dl_path), dbx_path)
return metadataINFO:dbx_downloader:Downloading (file name redacted)
INFO:dropbox:Request to files/download
ERROR:modulenameredacted:('Connection broken: IncompleteRead(54876571369 bytes read, 78618595296 more expected)', IncompleteRead(54876571369 bytes read, 78618595296 more expected))
I couldn't test for the amount of time yet
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!