We Want to Hear From You! What Do You Want to See on the Community? Tell us here!

Forum Discussion

Hen4's avatar
Hen4
Explorer | Level 3
2 years ago

API V2 temporary upload link max file size

Hi all,


I'm creating an "anonymous" upload functionality (where the user-facing page does not have access to my dropbox tokens) and use the /get_temporary_upload_link method for this.

 

This generally works great, except that when the uploaded file exceeds exactly 314572800 bytes (300MB) the server throws an 409 Conflict error.

< HTTP/1.1 409 Conflict
< Cache-Control: no-cache
< Referrer-Policy: no-referrer
< Vary: Origin
< X-Robots-Tag: noindex, nofollow, noimageindex
< Content-Type: text/html; charset=utf-8
< Accept-Encoding: identity,gzip
< Date: Wed, 29 Nov 2023 21:43:47 GMT
< Server: envoy
< Content-Length: 41
< Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
< X-Dropbox-Response-Origin: far_remote
< X-Dropbox-Request-Id: 0e26ce42d620479e845ed0f0d39278da

 

This limitation is 100% repeatable and was mentioned before some years ago, see 

https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Large-uploads-via-get-temporary-upload-link-are-terminated-with/td-p/333377

The official documentation does not mention this limitation. I have a paid account and can have 100GB uploads per plan. How can I upload larger files? Presumably this works via the file requests mechanism, does this use some unofficial api  or mechanism?

2 Replies

  • Hen4's avatar
    Hen4
    Explorer | Level 3
    2 years ago

    Addendum: using a "file request" does allow anonymous users to upload larger files using that dropbox.com landing page, so clearly there is some kind of undocumented API that would enable this. 

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

    The information in the other thread you linked to is still accurate. Dropbox does not offer a way to programmatically upload larger files by link, but I'll add this thread to the feature request.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.6,035 PostsLatest Activity: 8 hours ago
410 Following

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 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!