Need to see if your shared folder is taking up space on your dropbox 👨‍💻? Find out how to check here.

Forum Discussion

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

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.

1 Reply

Replies have been turned off for this discussion
  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    7 years ago

    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.

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

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, Facebook or Instagram.

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!