cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

[Java SDK V2] too_many_write_operations while uploading

[Java SDK V2] too_many_write_operations while uploading

michal_k
Explorer | Level 4

Hello,

 

we are uploading a quite a lot of files in 4-6 threads and it is very likely, that other users write into our repository at the same time. Today we started to get "too_many_write_operations" error:

 

 

 

Caused by: com.dropbox.core.RateLimitException: {"error_summary": "too_many_write_operations/.", "error": {"reason": {".tag": "too_many_write_operations"}}}
at com.dropbox.core.DbxRequestUtil.unexpectedStatus(DbxRequestUtil.java:293)
at com.dropbox.core.DbxUploader.finish(DbxUploader.java:223)
at com.dropbox.core.DbxUploader.uploadAndFinish(DbxUploader.java:101)
at com.dropbox.core.DbxUploader.uploadAndFinish(DbxUploader.java:142)
at com.moravia.facebookintegration.connectors.dropbox.DropboxNonBlocking.uploadFileWhenEnabled(DropboxNonBlocking.java:104)

 

 

I checked the documentation and it says this:

too_many_write_operations Void They are too many write operations happening in the user's Dropbox.

 

Is there something we can do with this error so it will not happen so often? We have some client applications that upload files via V1 API (will be replaced in future), some new clients that upload files via V2 API (4-6 threads in total), some users, who use Dropbox application or Web interface and they all work in paralel.

1 Reply 1

Greg-DB
Dropbox Staff
The simplest solution is to upload files serially, but alternatively, we do have a data ingress guide here that covers this issue and details how you can avoid this issue by committing files in batches:

https://www.dropbox.com/developers/reference/data-ingress-guide

Hope this helps!
Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?