Announcements
Known issues updated. Learn more

Error message received from Http Server, Code 429: too_many_write_operations/...; Caused by: Error m

Level 10

We are running into these error codes when using the upload APIs to upload files from our application. It happens about 3 or 4 times a day for this integration and we run every 15 minutes.

Any suggestions on how to mitigate these errors?

Am also sometimes seeing this error too: (409) - Error message received from Http Server, Code 409: path/conflict/file/.; Caused by: Error message received from Http Server, Code 409: path/conflict/file/.

2 Replies

Re: Error message received from Http Server, Code 429: too_many_write_operations/...; Caused by: Err

Dropboxer

The '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, shared folder, or app folder preventing your app from making the state-modifying call (e.g., adding, editing, moving, or deleting files) 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: 

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


In short, to avoid this error, you should avoid making multiple concurrent state modifications. E.g., don't issue multiple such requests at a time, and use batch endpoints whenever possible. 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 also want to implement automatic retries in your app

The 'path/conflict/file' error indicates that the file couldn't be uploaded because there's already a file at the specified path. You can control what happens in this case using the 'mode' and 'autorename' parameters. You can find more information on this in the upload documentation.

Reply
Loading...

Re: Error message received from Http Server, Code 429: too_many_write_operations/...; Caused by: Err

Level 3

hi


@mxoh wrote:

We are running into these error codes when using the upload APIs to upload files from our application. It happens about 3 or 4 times a day for this integration and we run every 15 minutes.

Any suggestions on how to mitigate these errors?

Am also sometimes seeing this error too: (409) - Error message received from Http Server, Code 409: path/conflict/file/.; Caused by: Error message received from Http Server, Code 409: path/conflict/file/.


 

Reply
Loading...
API Support

Have a question? Our Dropbox Community is here to help you find an answer!
You won’t have to wait too long for a reply, but why not learn more about the Community while you’re here.

Not the right discussion for you? Find out what else our Community has to say about API Support.

Or, search our Help Center for even more.

Who's talking
Top contributors to this post