Start 2025 on time and up to date. Seamlessly integrate your calendars into Dropbox with these simple steps.

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.