You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
Net4nel
4 years agoExplorer | Level 4
'too_many_write_operations' on 'sharingAddFolderMember'
Hi, i wrote an async automation that grant permissions to specific DB groups according to folders paths for an existing folders structure. This structure gets built using a different automation but ...
Greg-DB
4 years agoDropbox Staff
This 'too_many_write_operations' error indicates "lock contention". That's a result of how Dropbox works on the backend. 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 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 this in the Performance Guide. (That's written more for uploading files, but it has useful context.)
In short, to avoid this error, you should avoid making multiple concurrent state modifications. That won't guarantee that you won't run in to this error though, as contention can still come from other sources, so you may want to implement some automatic retrying, following the 'Retry-After' header, if given.
Also, note that the sharingShareFolder job itself can runs asynchronously. If you get an async job ID back, you should use sharingCheckShareJobStatus to check the status and wait until it's complete before issuing more changes.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,910 PostsLatest Activity: 3 days agoIf 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 or Facebook.
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!