<?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: List all files &amp;amp; folders in the root namespace for a user. in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/List-all-files-amp-folders-in-the-root-namespace-for-a-user/m-p/271437#M16067</link>
    <description>Thank you Greg, for your reply, I will test this and let you know if this works.&lt;BR /&gt;&lt;BR /&gt;Regards.</description>
    <pubDate>Thu, 05 Apr 2018 19:21:33 GMT</pubDate>
    <dc:creator>aosingh</dc:creator>
    <dc:date>2018-04-05T19:21:33Z</dc:date>
    <item>
      <title>List all files &amp; folders in the root namespace for a user.</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/List-all-files-amp-folders-in-the-root-namespace-for-a-user/m-p/271317#M16047</link>
      <description>&lt;P&gt;My aim is to list all the folders/files that belong to a user's dropbox&amp;nbsp;account.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My test user has 2 name-spaces as shown below:&lt;/P&gt;&lt;P&gt;root_namespace_id=u'XXXXXXXX', home_namespace_id=u'XXXXXXXXX')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The method &lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/moduledoc.html#dropbox.dropbox.Dropbox.files_list_folder" target="_self"&gt;files_list_folder&lt;/A&gt; takes in a&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;path &lt;/STRONG&gt;&lt;/EM&gt;argument&amp;nbsp;in which I pass the namespace id 'ns:XXXXXXX'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For root_namespace_id, I get the below error&lt;/P&gt;&lt;P&gt;ApiError('', ListFolderError(u'path', Looked(u'not_found', None)))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For home_namespace_id, it returns the files in the home namespace, but I do not get the Team files/folders(which belong to the root namespace). &lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2018-04-04 at 3.53.49 PM.png" style="width: 999px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/2852i9FD46B30149F42B1/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2018-04-04 at 3.53.49 PM.png" alt="Screen Shot 2018-04-04 at 3.53.49 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;How can I get team&amp;nbsp;files/folders?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&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:14:13 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/List-all-files-amp-folders-in-the-root-namespace-for-a-user/m-p/271317#M16047</guid>
      <dc:creator>aosingh</dc:creator>
      <dc:date>2019-05-29T09:14:13Z</dc:date>
    </item>
    <item>
      <title>Re: List all files &amp; folders in the root namespace for a user.</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/List-all-files-amp-folders-in-the-root-namespace-for-a-user/m-p/271429#M16063</link>
      <description>&lt;P&gt;In order to access the team root using the Python SDK, you'll need to use `with_path_root` like this:&lt;/P&gt;
&lt;PRE&gt;dbx.with_path_root(dropbox.common.PathRoot.root("XXXXXXXXX")).files_list_folder("")&lt;/PRE&gt;
&lt;P&gt;Apologies this isn't better documented yet!&lt;/P&gt;</description>
      <pubDate>Thu, 05 Apr 2018 18:52:26 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/List-all-files-amp-folders-in-the-root-namespace-for-a-user/m-p/271429#M16063</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-04-05T18:52:26Z</dc:date>
    </item>
    <item>
      <title>Re: List all files &amp; folders in the root namespace for a user.</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/List-all-files-amp-folders-in-the-root-namespace-for-a-user/m-p/271437#M16067</link>
      <description>Thank you Greg, for your reply, I will test this and let you know if this works.&lt;BR /&gt;&lt;BR /&gt;Regards.</description>
      <pubDate>Thu, 05 Apr 2018 19:21:33 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/List-all-files-amp-folders-in-the-root-namespace-for-a-user/m-p/271437#M16067</guid>
      <dc:creator>aosingh</dc:creator>
      <dc:date>2018-04-05T19:21:33Z</dc:date>
    </item>
    <item>
      <title>Re: List all files &amp; folders in the root namespace for a user.</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/List-all-files-amp-folders-in-the-root-namespace-for-a-user/m-p/271491#M16073</link>
      <description>&lt;P&gt;This works as expected.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you Greg.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Apr 2018 04:13:56 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/List-all-files-amp-folders-in-the-root-namespace-for-a-user/m-p/271491#M16073</guid>
      <dc:creator>aosingh</dc:creator>
      <dc:date>2018-04-06T04:13:56Z</dc:date>
    </item>
  </channel>
</rss>

