We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
Omri1984
5 years agoExplorer | Level 4
Urgent - Create Folder Returning null
hello ,my company (Cloudsfder) are doing data migration for customer from goolge derive to dropbox , 5 TB , we are getting weird behavior when creating some of the folders- the request just returnin...
Omri1984
5 years agoExplorer | Level 4
now it is clear for me i miss somthing ,
we are getting
too_many_write_operations/.
what is the rate limit for writes?
Greg-DB
Dropbox Community Moderator
5 years agoIf there are multiple changes at the same time in the same account or shared folder (or more accurately, "namespace"), you can run in to this 'too_many_write_operations' error, which is "lock contention". That's not explicit rate limiting, but rather a result of how Dropbox works on the back-end. This is a technical inability to make a modification in the account or shared folder at the time of the API call. This error indicates that there was simultaneous activity in the account or shared/team folder preventing your app from making the state-modifying call (e.g., adding, editing, moving, copying, sharing, or deleting files/folders) it is attempting. The simultaneous activity could be coming from your app itself, or elsewhere, e.g., from the user's desktop client. It can come from the same user, or another member of a shared folder. You can find more information about lock contention here.
The app should be written to automatically handle this error when it occurs, but to help avoid this error to begin with, you should avoid making multiple concurrent state modifications in the same namespace and use batch endpoints where possible, such as CreateFolderBatchAsync. That won't guarantee that you won't run in to this error though, as contention can still come from other sources, so you should also implement error handling and automatic retrying as needed.
- Omri19845 years agoExplorer | Level 4Ok . Thank you.
Retries did worked.
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!