Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
Győző C.
9 years agoExplorer | Level 3
Parallel file upload fails
My app uses core api v1. When I try to upload 10+ files into my dropbox account, a few of them randomly fails with response:
[..] <head><title>Dropbox - 403</title>
<link href="//www.dropbox.com/...
Győző C.
9 years agoExplorer | Level 3
My bad, the 403 response was not for these requests. However some files are still missing. It can be reproduced with this:
#!/bin/bash
for i in `seq 10 19`;
do
curl -H "Authorization: Bearer <my token>" https://api-content.dropbox.com/1/files_put/auto/ -T file$i &
done;
Now I can see that the response for the missing files is:
{"error": "Failed to grab locks for 532934897: lock held by connection 4695316.Please re-issue the request."}
Is there a queue I can use on your side for file upload? Else I guess I have to check the response and retry if necessary. Thanks!
About Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.
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!