Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
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/.
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.
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/.
Hi there!
If you need more help you can view your support options (expected response time for a 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!