<?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 cannot copy files with filesCopyBatchV2 in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/cannot-copy-files-with-filesCopyBatchV2/m-p/466146#M23784</link>
    <description>&lt;P&gt;I am trying to copy some files from my `Camera Uploads` folder to another folder `Videos`&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;first I do&lt;/P&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;PRE&gt;const { async_job_id } = await dropbox.filesCopyBatchV2({
      entries,
      autorename: false,
    });    &lt;/PRE&gt;
&lt;P&gt;This seems to work because I get back a long string for &lt;STRONG&gt;async_job_id&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Then I do the following:&lt;/P&gt;
&lt;PRE&gt;while (true) {
    try {
      let response = await dropbox.filesCopyBatchCheckV2({ async_job_id });
      if (response['.tag'] != 'in_progress') {
        break;
      }
      await sleep(5000);
    } catch (error) {
      break;
    }&lt;/PRE&gt;
&lt;P&gt;What happens is that I hit &lt;STRONG&gt;filesCopyBatchCheckV2 &lt;/STRONG&gt;endpoint 5 or 6 times; I get back a response of &lt;STRONG&gt;in_progress &lt;/STRONG&gt;each time; then I get a response with a &lt;STRONG&gt;status&lt;/STRONG&gt; of 409, &lt;STRONG&gt;statusText &lt;/STRONG&gt;of "Conflict" and an error_summary of &lt;STRONG&gt;internal_error.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;No files get transferred.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please help!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 02 Nov 2020 08:10:36 GMT</pubDate>
    <dc:creator>tiamat</dc:creator>
    <dc:date>2020-11-02T08:10:36Z</dc:date>
    <item>
      <title>cannot copy files with filesCopyBatchV2</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/cannot-copy-files-with-filesCopyBatchV2/m-p/466146#M23784</link>
      <description>&lt;P&gt;I am trying to copy some files from my `Camera Uploads` folder to another folder `Videos`&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;first I do&lt;/P&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;PRE&gt;const { async_job_id } = await dropbox.filesCopyBatchV2({
      entries,
      autorename: false,
    });    &lt;/PRE&gt;
&lt;P&gt;This seems to work because I get back a long string for &lt;STRONG&gt;async_job_id&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Then I do the following:&lt;/P&gt;
&lt;PRE&gt;while (true) {
    try {
      let response = await dropbox.filesCopyBatchCheckV2({ async_job_id });
      if (response['.tag'] != 'in_progress') {
        break;
      }
      await sleep(5000);
    } catch (error) {
      break;
    }&lt;/PRE&gt;
&lt;P&gt;What happens is that I hit &lt;STRONG&gt;filesCopyBatchCheckV2 &lt;/STRONG&gt;endpoint 5 or 6 times; I get back a response of &lt;STRONG&gt;in_progress &lt;/STRONG&gt;each time; then I get a response with a &lt;STRONG&gt;status&lt;/STRONG&gt; of 409, &lt;STRONG&gt;statusText &lt;/STRONG&gt;of "Conflict" and an error_summary of &lt;STRONG&gt;internal_error.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;No files get transferred.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please help!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2020 08:10:36 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/cannot-copy-files-with-filesCopyBatchV2/m-p/466146#M23784</guid>
      <dc:creator>tiamat</dc:creator>
      <dc:date>2020-11-02T08:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: cannot copy files with filesCopyBatchV2</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/cannot-copy-files-with-filesCopyBatchV2/m-p/466157#M23785</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1325620"&gt;@tiamat&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;...&lt;/P&gt;&lt;PRE&gt;const { async_job_id } = await dropbox.filesCopyBatchV2({
      entries,
     &lt;STRONG&gt; autorename: false,&lt;/STRONG&gt;
    });    &lt;/PRE&gt;&lt;P&gt;... I get a response with a &lt;STRONG&gt;status&lt;/STRONG&gt; of 409, &lt;STRONG&gt;statusText &lt;/STRONG&gt;of "Conflict" and an error_summary of &lt;STRONG&gt;internal_error.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;...&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/1325620"&gt;@tiamat&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Seems, someone (one or more) file with same name reside at destination already. &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; If you are forbidding autorename, it's coming up as an error.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Sat, 31 Oct 2020 02:04:24 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/cannot-copy-files-with-filesCopyBatchV2/m-p/466157#M23785</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2020-10-31T02:04:24Z</dc:date>
    </item>
    <item>
      <title>Re: cannot copy files with filesCopyBatchV2</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/cannot-copy-files-with-filesCopyBatchV2/m-p/466549#M23794</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1325620"&gt;@tiamat&lt;/a&gt;&amp;nbsp;I see you already got some help here, but it's worth noting that there can be other causes of failures like this, so if you still need help tracking down what's wrong, feel free to &lt;A href="https://www.dropbox.com/developers/contact" target="_self"&gt;contact us directly&lt;/A&gt; with the job ID.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2020 15:27:00 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/cannot-copy-files-with-filesCopyBatchV2/m-p/466549#M23794</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-11-02T15:27:00Z</dc:date>
    </item>
  </channel>
</rss>

