<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic /move_batch/check_v2 returns too_many_write_operations for some files in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/move-batch-check-v2-returns-too-many-write-operations-for-some/m-p/550753#M26193</link>
    <description>&lt;P&gt;I use&amp;nbsp;&lt;A href="https://api.dropboxapi.com/2/files/move_batch_v2" target="_self"&gt;https://api.dropboxapi.com/2/files/move_batch_v2&lt;/A&gt;&amp;nbsp;to move files and get the `async_job_id`. Then I use&amp;nbsp;&lt;A href="https://api.dropboxapi.com/2/files/move_batch/check_v2" target="_self"&gt;https://api.dropboxapi.com/2/files/move_batch/check_v2&lt;/A&gt;&amp;nbsp;with `async_job_id` to check the process status, and when the process was done, I get the response which includes&amp;nbsp; `too_many_write_operations` error for some files, the others are ok.&lt;/P&gt;</description>
    <pubDate>Tue, 19 Oct 2021 18:07:14 GMT</pubDate>
    <dc:creator>Shahen</dc:creator>
    <dc:date>2021-10-19T18:07:14Z</dc:date>
    <item>
      <title>/move_batch/check_v2 returns too_many_write_operations for some files</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/move-batch-check-v2-returns-too-many-write-operations-for-some/m-p/550753#M26193</link>
      <description>&lt;P&gt;I use&amp;nbsp;&lt;A href="https://api.dropboxapi.com/2/files/move_batch_v2" target="_self"&gt;https://api.dropboxapi.com/2/files/move_batch_v2&lt;/A&gt;&amp;nbsp;to move files and get the `async_job_id`. Then I use&amp;nbsp;&lt;A href="https://api.dropboxapi.com/2/files/move_batch/check_v2" target="_self"&gt;https://api.dropboxapi.com/2/files/move_batch/check_v2&lt;/A&gt;&amp;nbsp;with `async_job_id` to check the process status, and when the process was done, I get the response which includes&amp;nbsp; `too_many_write_operations` error for some files, the others are ok.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Oct 2021 18:07:14 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/move-batch-check-v2-returns-too-many-write-operations-for-some/m-p/550753#M26193</guid>
      <dc:creator>Shahen</dc:creator>
      <dc:date>2021-10-19T18:07:14Z</dc:date>
    </item>
    <item>
      <title>Re: /move_batch/check_v2 returns too_many_write_operations for some files</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/move-batch-check-v2-returns-too-many-write-operations-for-some/m-p/550806#M26194</link>
      <description>&lt;P&gt;If there are multiple changes at the same time in the same account or shared folder, you can run in to this 'too_many_write_operations' error, which is "lock contention".&amp;nbsp;That's not explicit rate limiting, but rather 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 or shared/team folder preventing your app from making the state-modifying call (e.g., adding, editing, moving, copying, sharing, or deleting files/folders) 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 &lt;A href="https://developers.dropbox.com/dbx-performance-guide" rel="noreferrer" target="_blank"&gt;more information about lock contention here&lt;/A&gt;. The app will need to be written to automatically handle this error.&lt;BR /&gt;&lt;BR /&gt;In short, to avoid this error, you should avoid making multiple concurrent state modifications and use batch endpoints where 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 should also implement error handling and automatic retrying as needed.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Oct 2021 20:41:50 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/move-batch-check-v2-returns-too-many-write-operations-for-some/m-p/550806#M26194</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2021-10-14T20:41:50Z</dc:date>
    </item>
    <item>
      <title>Re: /move_batch/check_v2 returns too_many_write_operations for some files</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/move-batch-check-v2-returns-too-many-write-operations-for-some/m-p/550877#M26198</link>
      <description>&lt;P&gt;Ok, thanks for your answer. But we send&amp;nbsp;move_batch/check_v2, we receive only 'too_many_write_operations' for some files without id or name. Does it mean that I need to move all files again using 'files/move_batch_v2'? Can't we detect all the files which were failed.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Oct 2021 08:22:42 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/move-batch-check-v2-returns-too-many-write-operations-for-some/m-p/550877#M26198</guid>
      <dc:creator>Shahen</dc:creator>
      <dc:date>2021-10-15T08:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: /move_batch/check_v2 returns too_many_write_operations for some files</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/move-batch-check-v2-returns-too-many-write-operations-for-some/m-p/550942#M26200</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1482174"&gt;@Shahen&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;... But we send&amp;nbsp;move_batch/check_v2, we receive only 'too_many_write_operations' for some files without id or name. Does it mean that I need to move all files again using 'files/move_batch_v2'? ...&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Hi &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1482174"&gt;@Shahen&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Calling &lt;A title="Check a batch move" href="https://www.dropbox.com/developers/documentation/http/documentation#files-move_batch-check" target="_blank" rel="noopener"&gt;2/files/move_batch/check_v2 &lt;/A&gt;gives you the status of a scheduled operation identified with the id provided. It doesn't matter how many times you will call this API, doesn't matter the status (in progress or completed) - it will always refers to the same operation (no new one gets launched). To initiate new move try, you have to perform &lt;A title="Batch move" href="https://www.dropbox.com/developers/documentation/http/documentation#files-move_batch" target="_blank" rel="noopener"&gt;2/files/move_batch_v2&lt;/A&gt; API call again, of course.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1482174"&gt;@Shahen&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;... Can't we detect all the files which were failed.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@9AD39CA637682E9616FBE31CDAF1B6C4/emoticons/1f914.png" alt=":thinking_face:" title=":thinking_face:" /&gt;That would be a good feature request. As a workaround, you can perform completed move entries&amp;nbsp;collecting and exclude them out from the initial request before the retry. &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@41457EF40051AFF130FDBFE21B496926/emoticons/1f609.png" alt=":winking_face:" title=":winking_face:" /&gt; Not very convenient, but it's something.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Oct 2021 13:00:07 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/move-batch-check-v2-returns-too-many-write-operations-for-some/m-p/550942#M26200</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2021-10-15T13:00:07Z</dc:date>
    </item>
    <item>
      <title>Re: /move_batch/check_v2 returns too_many_write_operations for some files</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/move-batch-check-v2-returns-too-many-write-operations-for-some/m-p/550961#M26201</link>
      <description>&lt;P&gt;When the returned RelocationBatchV2JobStatus is 'complete', it will contain a RelocationBatchV2Result with a list of RelocationBatchResultEntry as the 'entries' property. Each RelocationBatchResultEntry will be either 'success' or 'failure', indicating the result for that particular file. This list corresponds to the files originally supplied to /2/files/move_batch_v2 in the 'entries' parameter, in the same order.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Oct 2021 15:09:20 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/move-batch-check-v2-returns-too-many-write-operations-for-some/m-p/550961#M26201</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2021-10-15T15:09:20Z</dc:date>
    </item>
  </channel>
</rss>

