We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
Kestas P.
11 years agoNew member | Level 1
Failed to grab locks
We are making simple file copying files via Dropbox API and getting exceptions like
com.dropbox.core.DbxException$RetryLater: {"error": "Failed to grab locks for 954581991: lock held by connect...
Kestas P.
11 years agoNew member | Level 1
Yes indeed my app is submitting for file copy concurrently but there are no way to submit batch copy (folder doesn't fit). If I do sequentially it takes plenty of time to copy files. Let say 40 image files with about 600 kb of size each it takes about 30s to copy all but I need to copy 4000 of images and it would take an hour.
Dropbox sync folder on windows doesn't have similar problem. Looks like it doesn't deal with locking issue. Is it possible to deal with locks in different way? I mean obtain pessimistic lock, do the operations and release lock or take locks just on destination folder where I am copying files.
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!