Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
De L.1
7 years agoCollaborator | Level 9
Large uploads via /get_temporary_upload_link are terminated with '413 Request Entity Too Large'
Hi!
I am uploading files via the temporarily upload links generated via the /get_temporary_upload_link call. This all works fine, but the POST upload call to the generated upload link (e.g. https://dl.dropboxusercontent.com/apitul/1/bNi....) is terminated for files larger than a certain limit.
> POST /apitul/1/bNi.... HTTP/1.1 Host: dl.dropboxusercontent.com Accept: */* Content-Length: 536871142 Expect: 100-continue Content-Type: multipart/form-data; boundary=------------------------b315544e35df5ae3 < HTTP/1.1 413 Request Entity Too Large < Server: nginx < Date: Tue, 12 Mar 2019 10:10:15 GMT < Content-Type: text/html < Content-Length: 25658 < Connection: close < ETag: "5c816ae0-643a" < X-Dropbox-Request-Id: 9600532cf40be9d1ae39f8cdd6182848 < X-Robots-Tag: noindex, nofollow, noimageindex < Strict-Transport-Security: max-age=15552000; includeSubDomains < * Closing connection 0
This test-file-200MB works fine but this larger test-file-512MB isn't working. The receiving Dropbox account has enough space available to store the large file.
Are there any uploads limits? If there are limits, is there another way to upload files to upload large files via the API without the need of an authorization token?
I appreciate if anyone can help me out with this issue.
Cheers!
Unfortunately, the links returned by get_temporary_upload_link do have a file size limit, as you found. Apologies this isn't better documented! I'll ask the team to clarify this.
There isn't an alternative though, so that does mean that in this case, to upload large files, you'd need to either give the access token to the client to perform the upload session calls client-side (which isn't recommended for untrusted clients, of course), or send all of the data to upload through your server to perform the upload session calls there.
I'll also send this along as a feature request for a 'get_temporary_upload_link'-like version of upload sessions to support uploading large files without direct access to the access token, but I can't promise if or when that would be implemented.
18 Replies
Replies have been turned off for this discussion
- Greg-DB6 years ago
Dropbox Community Moderator
raRaRa Thanks for the additional feedback and context!
- Kirk Schneider6 years agoExplorer | Level 3
Has a decision been made regarding this?
- Greg-DB6 years ago
Dropbox Community Moderator
Kirk Schneider No, unfortunately I don't have an update on this request.
- MARPAT5 years agoNew member | Level 2
I'd also like to put my support behind letting larger files be uploaded through a temporary upload link. Perhaps there are restrictions in place that prevent Dropbox from raising the file upload limit, in which case I would suggest creating another endpoint similar to upload_session and its associated functions, but using the temporary upload link instead of authorization.
- Greg-DB5 years ago
Dropbox Community Moderator
MARPAT Thanks for the feedback!
- Matias_FAC4 years agoNew member | Level 2
hello, will you have any decision made regarding the length of the file? I am starting a new project and I require this functionality but for files larger than 15GB
- Greg-DB4 years ago
Dropbox Community Moderator
Matias_FAC No, I don't have an update on this request.
- julio_diniz_perdigao2 years agoExplorer | Level 3
Hi raRaRa ,
what's the method you use wiht Drive API to upload with temporary link, as you describe here? Didn't find any info.
Thanks!
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!