<?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 folder in the way conflict/error when using /move API endpoint in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/folder-in-the-way-conflict-error-when-using-move-API-endpoint/m-p/168495#M6175</link>
    <description>&lt;P&gt;Getting a not very intuitive error whenever I try to move files from one folder to another using the API. Please check out my full question in stackoverflow here: &lt;A href="http://stackoverflow.com/questions/36169788/conflict-folder-move-dropbox-api" rel="nofollow noreferrer" target="_blank"&gt;http://stackoverflow.com/questions/36169788/conflict-folder-move-dropbox-api&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2019 09:34:43 GMT</pubDate>
    <dc:creator>Hippo M.</dc:creator>
    <dc:date>2019-05-29T09:34:43Z</dc:date>
    <item>
      <title>folder in the way conflict/error when using /move API endpoint</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/folder-in-the-way-conflict-error-when-using-move-API-endpoint/m-p/168495#M6175</link>
      <description>&lt;P&gt;Getting a not very intuitive error whenever I try to move files from one folder to another using the API. Please check out my full question in stackoverflow here: &lt;A href="http://stackoverflow.com/questions/36169788/conflict-folder-move-dropbox-api" rel="nofollow noreferrer" target="_blank"&gt;http://stackoverflow.com/questions/36169788/conflict-folder-move-dropbox-api&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:34:43 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/folder-in-the-way-conflict-error-when-using-move-API-endpoint/m-p/168495#M6175</guid>
      <dc:creator>Hippo M.</dc:creator>
      <dc:date>2019-05-29T09:34:43Z</dc:date>
    </item>
    <item>
      <title>Re: folder in the way conflict/error when using /move API endpoint</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/folder-in-the-way-conflict-error-when-using-move-API-endpoint/m-p/168496#M6176</link>
      <description>&lt;P&gt;It looks like you already &lt;A href="http://stackoverflow.com/a/36177912/1305693" target="_blank" rel="nofollow noreferrer"&gt;got this working&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;For reference, the /move endpoint lets you move items, be it files or folders. Both the to_path and from_path must specify the full, exact path of the existing item and the new&amp;nbsp;desired&amp;nbsp;path, respectively. If you wanted to move an entire folder, which is currently at&amp;nbsp;/folder1, to be a folder at named folder2.1, inside a folder at /folder2, you need to make sure there isn't already a folder at&amp;nbsp;/folder2/folder2.1 (even if the existing folder2.1 is empty).&lt;/P&gt;
&lt;P&gt;Alternatively, to move all of the contents of a folder from one folder to another, you have to loop through to move each item as desired, like you described in your answer.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2016 23:48:46 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/folder-in-the-way-conflict-error-when-using-move-API-endpoint/m-p/168496#M6176</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-03-23T23:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: folder in the way conflict/error when using /move API endpoint</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/folder-in-the-way-conflict-error-when-using-move-API-endpoint/m-p/168497#M6177</link>
      <description>&lt;P&gt;yes! I ended up doing exactly that - looping through each file. I was under the impression that by not specifying the full path, it would move all the contents of the folder, and that is (at least in my eyes) what the description of the endpoint says in the docs!&lt;/P&gt;
&lt;P&gt;"Move a file or folder to a different location in the user's Dropbox.&lt;BR /&gt;If the source path is a folder all its contents will be moved."&lt;/P&gt;
&lt;P&gt;Instead, when I wasn't specifying the file in the path, it would attempt to move the folder itself, not just the contents!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In addition the definition of to_path is the following: "&lt;STRONG&gt;&lt;CODE&gt;to_path&lt;/CODE&gt;&lt;/STRONG&gt; &lt;EM class="type show_datatype"&gt;String&lt;/EM&gt; Path in the user's Dropbox that is the destination."&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It doesn't say anything about having to specify how you'll be calling the file/folder that you are trying to move. So I thought that the path specified was just my destination and the name of my file would be inherited from the source. Hence there would be a conflict. It might be because English isn't my native language that I am getting confused by these definitions, but I think it would help making them clearer in the docs regardless.&lt;/P&gt;
&lt;P&gt;For instance, the definition of the error didn't help much either. Instead of "conflict" meaning "there is something in the way" it might be better to say "there is a folder or file in the destination that is named like your to_path destination" or something along those lines...&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2016 23:57:53 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/folder-in-the-way-conflict-error-when-using-move-API-endpoint/m-p/168497#M6177</guid>
      <dc:creator>Hippo M.</dc:creator>
      <dc:date>2016-03-23T23:57:53Z</dc:date>
    </item>
  </channel>
</rss>

