<?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: I can't access newly created folders via API in Discuss Dropbox Developer &amp; API</title>
    <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/I-can-t-access-newly-created-folders-via-API/m-p/626700#M2929</link>
    <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1578873"&gt;@_shintaku_&lt;/a&gt; You're not guaranteed to get everything back in one call to files_list_folder, so as Здравко indicated, make sure you implement &lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/api/dropbox.html#dropbox.dropbox_client.Dropbox.files_list_folder_continue" target="_blank"&gt;files_list_folder_continue&lt;/A&gt; in addition to files_list_folder as &lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/api/dropbox.html#dropbox.dropbox_client.Dropbox.files_list_folder" target="_blank"&gt;documented&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, &lt;A href="https://github.com/dropbox/dropbox-sdk-python/blob/fc72aaa95fa474171c3b4a42ee08f06841e65108/example/updown.py#L91" target="_blank"&gt;here's an example of how you can check the type of a Metadata object&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Mon, 03 Oct 2022 15:27:08 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2022-10-03T15:27:08Z</dc:date>
    <item>
      <title>I can't access newly created folders via API</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/I-can-t-access-newly-created-folders-via-API/m-p/626405#M2925</link>
      <description>&lt;P&gt;I am using Dropbox for Python (&lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/index.html" target="_blank" rel="noopener"&gt;https://dropbox-sdk-python.readthedocs.io/en/latest/index.html&lt;/A&gt;). However, I realized that the script doesn't retrieve newly created folders. The script is like this....&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;client = dropbox.Dropbox(DROPBOX_ACCESS_TOKEN)&lt;/P&gt;
&lt;P&gt;file_list = client.files_list_folder(r'', recursive=True )&lt;/P&gt;
&lt;P&gt;myfolders = [x.name for x in file_list.entries if 'size' not in dir(x)]&lt;/P&gt;
&lt;P&gt;print(myfolders)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This script gave the same problem on&amp;nbsp;both 'App folder' and 'Full Dropbox'&amp;nbsp;as suggested on this thread: &lt;A href="https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-can-t-see-new-files-in-APP-folder/td-p/352584" target="_blank" rel="noopener"&gt;https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-can-t-see-new-files-in-APP-folder/td-p/352584&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2022 08:54:26 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/I-can-t-access-newly-created-folders-via-API/m-p/626405#M2925</guid>
      <dc:creator>_shintaku_</dc:creator>
      <dc:date>2022-10-03T08:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: I can't access newly created folders via API</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/I-can-t-access-newly-created-folders-via-API/m-p/626411#M2926</link>
      <description>&lt;P&gt;Hi &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1578873"&gt;@_shintaku_&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Did you try to continue pagination using '&lt;A title="Once a cursor has been retrieved from files_list_folder(), use this to paginate" href="https://dropbox-sdk-python.readthedocs.io/en/latest/api/dropbox.html#dropbox.dropbox_client.Dropbox.files_list_folder_continue" target="_blank" rel="noopener"&gt;files_list_folder_continue&lt;/A&gt;'? 🧐 If not, give it a try. &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;&lt;/P&gt;&lt;P&gt;By the way.. 'if 'size' not in dir(x)' ..statement is not very stable. Better use 'type(x) is '...&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 01 Oct 2022 17:03:53 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/I-can-t-access-newly-created-folders-via-API/m-p/626411#M2926</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2022-10-01T17:03:53Z</dc:date>
    </item>
    <item>
      <title>Re: I can't access newly created folders via API</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/I-can-t-access-newly-created-folders-via-API/m-p/626530#M2927</link>
      <description>&lt;P&gt;Thank you @Здравко, you solution solved it.&lt;/P&gt;</description>
      <pubDate>Sun, 02 Oct 2022 23:19:24 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/I-can-t-access-newly-created-folders-via-API/m-p/626530#M2927</guid>
      <dc:creator>_shintaku_</dc:creator>
      <dc:date>2022-10-02T23:19:24Z</dc:date>
    </item>
    <item>
      <title>Re: I can't access newly created folders via API</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/I-can-t-access-newly-created-folders-via-API/m-p/626700#M2929</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1578873"&gt;@_shintaku_&lt;/a&gt; You're not guaranteed to get everything back in one call to files_list_folder, so as Здравко indicated, make sure you implement &lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/api/dropbox.html#dropbox.dropbox_client.Dropbox.files_list_folder_continue" target="_blank"&gt;files_list_folder_continue&lt;/A&gt; in addition to files_list_folder as &lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/api/dropbox.html#dropbox.dropbox_client.Dropbox.files_list_folder" target="_blank"&gt;documented&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, &lt;A href="https://github.com/dropbox/dropbox-sdk-python/blob/fc72aaa95fa474171c3b4a42ee08f06841e65108/example/updown.py#L91" target="_blank"&gt;here's an example of how you can check the type of a Metadata object&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2022 15:27:08 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/I-can-t-access-newly-created-folders-via-API/m-p/626700#M2929</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2022-10-03T15:27:08Z</dc:date>
    </item>
  </channel>
</rss>

