<?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 Re: API V2 nightmares......... /move    I cannot seem to move anyfolders inside any files or root in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-V2-nightmares-move-I-cannot-seem-to-move-anyfolders-inside/m-p/202557#M9625</link>
    <description>&lt;P&gt;Hi Michael, the /copy and /move endpoints on the&amp;nbsp;Dropbox API expect the "to_path" parameter to be the full path where you want to put the item specified by the "from_path" parameter. So, if you want to move folder1 into folder2,&amp;nbsp;your "to_path" should be&amp;nbsp;"/14a148a2-21bd-4e95-a16a-82081a6f9504/folder2/folder1".&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As is, your request is saying you want to copy folder1 to&amp;nbsp; "/14a148a2-21bd-4e95-a16a-82081a6f9504/folder2", and the API error is indicating that something already exists there.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, note that you said you want to move the folder, but your code is using the &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-copy" target="_self"&gt;/2/files/copy endpoint&lt;/A&gt;. Moving files or folders is done via &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-move" target="_self"&gt;/2/files/move&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Tue, 17 Jan 2017 19:19:40 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2017-01-17T19:19:40Z</dc:date>
    <item>
      <title>API V2 nightmares......... /move    I cannot seem to move anyfolders inside any files or root</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-V2-nightmares-move-I-cannot-seem-to-move-anyfolders-inside/m-p/202455#M9614</link>
      <description>&lt;P&gt;&amp;nbsp;Everything that I try&amp;nbsp;&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;/folder1&lt;/P&gt;&lt;P&gt;/folder2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am wanting to move folder1 into folder2..... THERE IS NO /folder2/folder1&lt;/P&gt;&lt;P&gt;I want this:&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;/folder1/folder2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried all day, I am losing hair. I can see how V2 moves folders at all.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;curl -X POST &lt;A href="https://api.dropboxapi.com/2/files/copy" target="_blank"&gt;https://api.dropboxapi.com/2/files/copy&lt;/A&gt;&lt;BR /&gt;--header "Authorization: Bearer XXX"&lt;BR /&gt;--header "Content-Type: application/json"&lt;BR /&gt;--data "{&lt;BR /&gt;\"from_path\": \"/14a148a2-21bd-4e95-a16a-82081a6f9504/folder1\",&lt;BR /&gt;\"to_path\": \"/14a148a2-21bd-4e95-a16a-82081a6f9504/folder2\",&lt;BR /&gt;\"allow_shared_folder\": false,&lt;BR /&gt;\"autorename\": false}"&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;{"error_summary": "to/conflict/folder/.", "error": {".tag": "to", "to": {".tag": "conflict", "conflict": {".tag": "folder"}}}}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:26:42 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-V2-nightmares-move-I-cannot-seem-to-move-anyfolders-inside/m-p/202455#M9614</guid>
      <dc:creator>michaelwjoyner</dc:creator>
      <dc:date>2019-05-29T09:26:42Z</dc:date>
    </item>
    <item>
      <title>Re: API V2 nightmares......... /move    I cannot seem to move anyfolders inside any files or root</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-V2-nightmares-move-I-cannot-seem-to-move-anyfolders-inside/m-p/202557#M9625</link>
      <description>&lt;P&gt;Hi Michael, the /copy and /move endpoints on the&amp;nbsp;Dropbox API expect the "to_path" parameter to be the full path where you want to put the item specified by the "from_path" parameter. So, if you want to move folder1 into folder2,&amp;nbsp;your "to_path" should be&amp;nbsp;"/14a148a2-21bd-4e95-a16a-82081a6f9504/folder2/folder1".&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As is, your request is saying you want to copy folder1 to&amp;nbsp; "/14a148a2-21bd-4e95-a16a-82081a6f9504/folder2", and the API error is indicating that something already exists there.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, note that you said you want to move the folder, but your code is using the &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-copy" target="_self"&gt;/2/files/copy endpoint&lt;/A&gt;. Moving files or folders is done via &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-move" target="_self"&gt;/2/files/move&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2017 19:19:40 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-V2-nightmares-move-I-cannot-seem-to-move-anyfolders-inside/m-p/202557#M9625</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-01-17T19:19:40Z</dc:date>
    </item>
    <item>
      <title>Re: API V2 nightmares......... /move    I cannot seem to move anyfolders inside any files or root</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-V2-nightmares-move-I-cannot-seem-to-move-anyfolders-inside/m-p/202577#M9634</link>
      <description>Thanks,&lt;BR /&gt;&lt;BR /&gt;It was me. I need to make the "to" "/folder2/folder1" not "/folder"&lt;BR /&gt;&lt;BR /&gt;THANKS GREG!!!!!!!</description>
      <pubDate>Tue, 17 Jan 2017 20:34:14 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-V2-nightmares-move-I-cannot-seem-to-move-anyfolders-inside/m-p/202577#M9634</guid>
      <dc:creator>michaelwjoyner</dc:creator>
      <dc:date>2017-01-17T20:34:14Z</dc:date>
    </item>
  </channel>
</rss>

