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
Lars2
8 years agoNew member | Level 2
HTTP endpoint results in too_many_write_operations
Hi,
When doing an initial sync with dropbox from our app we sometimes receive a 429 "too_many_write_operations". I have read https://www.dropbox.com/developers/reference/data-ingress-guide and want to check if using batch upload will "fix" this, meaning that there is no limit in write_operations. Is that correct?
- It won't remove the limit entirely, but it should certainly improve performance significantly.
Essentially, the "too_many_write_operations" is a matter of "lock contention", in that multiple simultaneous calls to /files/upload try to take a lock and compete with each other.
Using /files/upload_session/finish_batch instead consolidates where the lock is taken. Each call to /files/upload_session/finish_batch also takes a lock, but you can commit multiple files using that single call and lock, so it generally works out better than using multiple calls to /files/upload.
- Greg-DBDropbox StaffIt won't remove the limit entirely, but it should certainly improve performance significantly.
Essentially, the "too_many_write_operations" is a matter of "lock contention", in that multiple simultaneous calls to /files/upload try to take a lock and compete with each other.
Using /files/upload_session/finish_batch instead consolidates where the lock is taken. Each call to /files/upload_session/finish_batch also takes a lock, but you can commit multiple files using that single call and lock, so it generally works out better than using multiple calls to /files/upload.
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!