Forum Discussion

Rephoto's avatar
Rephoto
Helpful | Level 5
3 years ago

Upload session append v2 error "Too_large"

Hello, I split my file with 60MB size. But I get this error "Too_large"

 

5 Replies

  • Здравко's avatar
    Здравко
    Legendary | Level 20
    3 years ago

    Hi Rephoto,

    Are you sure about what size of data you are trying to upload in total? That error means that you have reached buffer size 350GB or so! As seems you are going to get above the absolute file size limit. Do you by any chance have some infinite loop, you got in, that broke by the error /exception only? 🧐

  • Здравко's avatar
    Здравко
    Legendary | Level 20
    3 years ago

    Ok... Let I ask in another way.. How many times you have this file uploaded in this same upload session?

    Post the code you're using.

  • Rephoto's avatar
    Rephoto
    Helpful | Level 5
    3 years ago

    Well, here is my code used for uploading

     

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    3 years ago

    Rephoto While the API supports uploading up to 350 GB for a file, it sounds like there's an issue in that code causing it to try to upload too much data for the 2.6 GB file. I suggest printing out the offset from the cursor before each append call to begin to debug this.

About Dropbox API Support & Feedback

Node avatar for 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!