<?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 Getting 409 error when calling list_folder/continue on renamed folder in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Getting-409-error-when-calling-list-folder-continue-on-renamed/m-p/394310#M21717</link>
    <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;I'm using your API in order to fetch the folders. I'm accessing the endpoint "/2/files/list_folder" for the first request and then using cursor I send the rest of the requests through "/2/files/list_folder/continue".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Everything works perfectly until I change the folder name in Dropbox(UI). Then, I get the following error -&amp;nbsp;409, Conflict (HTTP): {".tag":"path","path":{".tag":"not_found"}}.&lt;/P&gt;&lt;P&gt;My request contains {path: "/folderName"} but as I mentioned, I just renamed the folder name so the path is incorrect. I change the folder name in the Dropbox website so I have no way to identify this change (also tried to use webhook to see this change).&lt;/P&gt;&lt;P&gt;What am I missing ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TIA&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 03 Feb 2020 14:43:21 GMT</pubDate>
    <dc:creator>avivtzo</dc:creator>
    <dc:date>2020-02-03T14:43:21Z</dc:date>
    <item>
      <title>Getting 409 error when calling list_folder/continue on renamed folder</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Getting-409-error-when-calling-list-folder-continue-on-renamed/m-p/394310#M21717</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;I'm using your API in order to fetch the folders. I'm accessing the endpoint "/2/files/list_folder" for the first request and then using cursor I send the rest of the requests through "/2/files/list_folder/continue".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Everything works perfectly until I change the folder name in Dropbox(UI). Then, I get the following error -&amp;nbsp;409, Conflict (HTTP): {".tag":"path","path":{".tag":"not_found"}}.&lt;/P&gt;&lt;P&gt;My request contains {path: "/folderName"} but as I mentioned, I just renamed the folder name so the path is incorrect. I change the folder name in the Dropbox website so I have no way to identify this change (also tried to use webhook to see this change).&lt;/P&gt;&lt;P&gt;What am I missing ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TIA&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Feb 2020 14:43:21 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Getting-409-error-when-calling-list-folder-continue-on-renamed/m-p/394310#M21717</guid>
      <dc:creator>avivtzo</dc:creator>
      <dc:date>2020-02-03T14:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: Getting 409 error when calling list_folder/continue on renamed folder</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Getting-409-error-when-calling-list-folder-continue-on-renamed/m-p/394335#M21721</link>
      <description>&lt;P&gt;You don't miss anything. You are just trying access something missing (as noted in the error and described by you). That's it. Would be surprise if something else happens. To be sure that everything is consistent (at least some more) in dynamic environment don't use names, but ids and enumerate the things starting from the root, so if anything have changed you can catch it. The root is always the same. &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@F55D1311E4D274BF094217A54A6087D3/images/emoticons/1f609.png" alt=":wink:" title=":wink:" /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Feb 2020 15:22:44 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Getting-409-error-when-calling-list-folder-continue-on-renamed/m-p/394335#M21721</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2020-02-03T15:22:44Z</dc:date>
    </item>
    <item>
      <title>Re: Getting 409 error when calling list_folder/continue on renamed folder</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Getting-409-error-when-calling-list-folder-continue-on-renamed/m-p/394353#M21723</link>
      <description>&lt;P&gt;That's correct, when listing a folder based on the folder's path, if the path changes the folder will no longer be found.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Здравко's recommendation&amp;nbsp;of using the folder's 'id' instead of the path is a good one. That is, when calling&amp;nbsp;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder" target="_self"&gt;/2/files/list_folder&lt;/A&gt;, supply the folder's id (which starts with "id:") as the 'path' parameter. The id doesn't change when the folder is moved/renamed. (You may get a 'reset' error from&amp;nbsp;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder-continue" target="_self"&gt;/2/files/list_folder/continue&lt;/A&gt; in that case, but you can then easily start from&amp;nbsp;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder" target="_self"&gt;/2/files/list_folder&lt;/A&gt;&amp;nbsp;again with the same id.)&lt;/P&gt;
&lt;P&gt;Alternatively, you could use&amp;nbsp;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder" target="_self"&gt;/2/files/list_folder&lt;/A&gt;[&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder-continue" target="_self"&gt;/continue&lt;/A&gt;] for the folder's parent folder, whatever that may be, to keep track of changes to that parent folder's contents. (Note: the "path" value for the root folder itself is the empty string: "")&lt;/P&gt;
&lt;P&gt;And yes, webhooks would only tell you when something changed, not what changed, so you would still need to use one of the above methods.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Feb 2020 15:54:44 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Getting-409-error-when-calling-list-folder-continue-on-renamed/m-p/394353#M21723</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-02-03T15:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: Getting 409 error when calling list_folder/continue on renamed folder</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Getting-409-error-when-calling-list-folder-continue-on-renamed/m-p/395775#M21760</link>
      <description>&lt;P&gt;Thanks everyone, using ID as the path is definitely a better idea.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Feb 2020 09:22:49 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Getting-409-error-when-calling-list-folder-continue-on-renamed/m-p/395775#M21760</guid>
      <dc:creator>avivtzo</dc:creator>
      <dc:date>2020-02-10T09:22:49Z</dc:date>
    </item>
    <item>
      <title>Re: Getting 409 error when calling list_folder/continue on renamed folder</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Getting-409-error-when-calling-list-folder-continue-on-renamed/m-p/395812#M21761</link>
      <description>&lt;P&gt;Another question, when I get 'reset' error, why not using /get_latest_cursor with the folder ID instead of fetching the all folder (/2/files/list_folder) again ?&lt;/P&gt;&lt;P&gt;By getting the latest cursor I can continue my flow like nothing have been changed and I won't get all the files and folder again like I would if I use the /list_folder endpoint.&lt;/P&gt;&lt;P&gt;Thanks!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Feb 2020 11:52:24 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Getting-409-error-when-calling-list-folder-continue-on-renamed/m-p/395812#M21761</guid>
      <dc:creator>avivtzo</dc:creator>
      <dc:date>2020-02-10T11:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: Getting 409 error when calling list_folder/continue on renamed folder</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Getting-409-error-when-calling-list-folder-continue-on-renamed/m-p/395905#M21763</link>
      <description>&lt;P&gt;You can use&amp;nbsp;&lt;SPAN&gt;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder-get_latest_cursor" target="_self"&gt;/2/files/list_folder/get_latest_cursor&lt;/A&gt;&lt;/SPAN&gt;&amp;nbsp;if that works for your use case.&lt;/P&gt;
&lt;P&gt;Keep in mind though that there is a race condition if you do so, with the possibility that you will miss some changes. That is, if something changes after your last successful update from&amp;nbsp;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder-continue" target="_self" rel="noopener noreferrer"&gt;/2/files/list_folder/continue&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;and before your call to&amp;nbsp;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder-get_latest_cursor" target="_self"&gt;/2/files/list_folder/get_latest_cursor&lt;/A&gt;, you won't&amp;nbsp;receive information about those change(s).&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Feb 2020 18:22:17 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Getting-409-error-when-calling-list-folder-continue-on-renamed/m-p/395905#M21763</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-02-10T18:22:17Z</dc:date>
    </item>
  </channel>
</rss>

