Forum Discussion

mikemcrae25's avatar
mikemcrae25
New member | Level 2
2 years ago

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 connection timeouts. The error reads: "Connection broken: IncompleteRead", followed by a file specific: "(2013265920 bytes read, 2153556605 more expected)', IncompleteRead(2013265920 bytes read, 2153556605 more expected))".

 

I have tried downloading on multiple devices, using different Dropbox accounts and in various locations with different IP addresses and internet connections. The error is occuring around 60% of the time. This means that the downlaod process is taking dramatically longer than it should. As I mentioned, this was not an issue until recently. 

Any help greatly appreciated. 
M

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    Thanks for the report. Can you let me know:

    • Are you referring to using the /2/files/download_zip endpoint?
    • Does it always fail after 2013265920 bytes, or does that number vary?
    • Does it always fail after a specific amount of time? If so, how long is that?
  • denseishin's avatar
    denseishin
    New member | Level 1

    I'm facing a similar problem, but in my case I'm merely downloading a very large file (~125 GB). It usually crashes between 58000000000 - 49000000000 bytes read.

    • DB-Des's avatar
      DB-Des
      Icon for Dropbox Engineer rankDropbox Engineer

      Hi 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?

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,950 PostsLatest Activity: 2 days ago
351 Following

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 or Facebook.

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!