<?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: Unable to access shared team folder with Python API in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Unable-to-access-shared-team-folder-with-Python-API/m-p/542705#M25977</link>
    <description>&lt;P&gt;Solved!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was using the account id and not the member id. Member ids start with dbmid as opposed to account ids that start with dbid.&lt;/P&gt;</description>
    <pubDate>Thu, 02 Sep 2021 14:18:31 GMT</pubDate>
    <dc:creator>hekkta</dc:creator>
    <dc:date>2021-09-02T14:18:31Z</dc:date>
    <item>
      <title>Unable to access shared team folder with Python API</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Unable-to-access-shared-team-folder-with-Python-API/m-p/542684#M25976</link>
      <description>&lt;P&gt;I have in the past been able to access files in the dropbox account with python.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We recently upgraded to a business account with teams and shared folders.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can now only access the non-shared folders, it's my understanding that I now need to create a dbx class "as a user" to access the shared folders.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is my code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;dbx = dropbox.DropboxTeam(token).as_admin('dbid:AABKkpEBW..._N9WJo')&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;dbx.files_list_folder('')&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm receiving an error that implies that the id is incorrect:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;'Error in call to API function "files/list_folder": Invalid select user id format'&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've also tried the same call with "as_user" and a non-admin id but I get the same error.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I found these ids with the 'team_members_list' function.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any help is greatly appreciated!&lt;/P&gt;</description>
      <pubDate>Thu, 02 Sep 2021 12:14:35 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Unable-to-access-shared-team-folder-with-Python-API/m-p/542684#M25976</guid>
      <dc:creator>hekkta</dc:creator>
      <dc:date>2021-09-02T12:14:35Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to access shared team folder with Python API</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Unable-to-access-shared-team-folder-with-Python-API/m-p/542705#M25977</link>
      <description>&lt;P&gt;Solved!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was using the account id and not the member id. Member ids start with dbmid as opposed to account ids that start with dbid.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Sep 2021 14:18:31 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Unable-to-access-shared-team-folder-with-Python-API/m-p/542705#M25977</guid>
      <dc:creator>hekkta</dc:creator>
      <dc:date>2021-09-02T14:18:31Z</dc:date>
    </item>
  </channel>
</rss>

