Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
sebbelese
6 years agoExplorer | Level 4
Intermittent Error 500 when uploading files using temporary upload links (API v2)
I use the API v2 to get temporary upload links for a bunch of files, then they are uploaded to dropbox using POST requests. Most of the files upload OK, but I get error 500 for some files. I am b...
- 6 years ago
Thanks for the report! I just looked into this based on the request IDs, and this is due to "lock contention". You can find more information on that in the Data Ingress Guide. That guide refers to the standard API endpoints, but the same applies to temporary upload links too. We should certainly return a better error message in this case though, so I'll ask the team to update the server to do so.
Anyway, to avoid this, you should perform these uploads one at a time.
Greg-DB
Dropbox Community Moderator
6 years agoThanks for the report! I just looked into this based on the request IDs, and this is due to "lock contention". You can find more information on that in the Data Ingress Guide. That guide refers to the standard API endpoints, but the same applies to temporary upload links too. We should certainly return a better error message in this case though, so I'll ask the team to update the server to do so.
Anyway, to avoid this, you should perform these uploads one at a time.
sebbelese
6 years agoExplorer | Level 4
Thanks for the fast and clear answer.
I guess there is currently no way to upload a whole set of files together directly from a browser while not sharing the access token publicly. Are the following options the only ones?
- generate an upload link server-side for each file, then direct upload each file serially to avoid locks
- upload all files from the client to the web server, then upload batch from the server to dropbox
- ( direct upload batch from the client to dropbox, with the access token publicly shared )
Thanks
- Greg-DB6 years ago
Dropbox Community Moderator
Yes, that's correct. I'll pass this along as a feature request, but I can't promise if or when that might be implemented.
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!