We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.

Forum Discussion

Info V.1's avatar
Info V.1
Collaborator | Level 8
6 years ago

Too many write operations when moving a file

We are renaming many files using the "2/files/move_v2" API, and we perform the operation on many files for a single user parallely. We get many "too_many_write_operations" error.

I know about the "lock contention" but not sure why it should affect this because this is just a rename.

Questions:

  1. Why are we getting this error while moving a file? Does move also acquires the lock?
  2. Is there any other API to just perform rename to avoid move? 
  • 1. Yes, any file/folder change would require a lock, including moving/renaming, which can result in lock contention.

    2. No, moving and renaming are functionally equivalent on the Dropbox API.

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    1. Yes, any file/folder change would require a lock, including moving/renaming, which can result in lock contention.

    2. No, moving and renaming are functionally equivalent on the Dropbox API.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,877 PostsLatest Activity: 7 hours ago
325 Following

If 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!