<?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 Cannot get team folder's content in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Cannot-get-team-folder-s-content/m-p/712011#M31529</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using a dropbox app to get users dropbox content with APIs. It works fine with user personal account.&lt;/P&gt;
&lt;P&gt;But, when I can't find a way to get content of a team shared folder.&lt;/P&gt;
&lt;P&gt;Here an example:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="borhene_0-1694072881601.png" style="width: 670px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/40373i8FBC1E610DA4F6BB/image-dimensions/670x186?v=v2" width="670" height="186" role="button" title="borhene_0-1694072881601.png" alt="borhene_0-1694072881601.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;So with&amp;nbsp;ListFolderAsync I can access and get all folders and files inside the first folder which is personal user's drive.&lt;/P&gt;
&lt;P&gt;For the second one which is a team shred folder, I can't find a way to get folder content.&lt;/P&gt;
&lt;P&gt;The&amp;nbsp;TeamFolderListAsync call is returning this shared folder with its Id but nor the content.&lt;/P&gt;
&lt;P&gt;Is there any way to retrieve this team shared content with .Net SDK ?&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>Thu, 07 Sep 2023 09:18:49 GMT</pubDate>
    <dc:creator>borhene</dc:creator>
    <dc:date>2023-09-07T09:18:49Z</dc:date>
    <item>
      <title>Cannot get team folder's content</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Cannot-get-team-folder-s-content/m-p/712011#M31529</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using a dropbox app to get users dropbox content with APIs. It works fine with user personal account.&lt;/P&gt;
&lt;P&gt;But, when I can't find a way to get content of a team shared folder.&lt;/P&gt;
&lt;P&gt;Here an example:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="borhene_0-1694072881601.png" style="width: 670px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/40373i8FBC1E610DA4F6BB/image-dimensions/670x186?v=v2" width="670" height="186" role="button" title="borhene_0-1694072881601.png" alt="borhene_0-1694072881601.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;So with&amp;nbsp;ListFolderAsync I can access and get all folders and files inside the first folder which is personal user's drive.&lt;/P&gt;
&lt;P&gt;For the second one which is a team shred folder, I can't find a way to get folder content.&lt;/P&gt;
&lt;P&gt;The&amp;nbsp;TeamFolderListAsync call is returning this shared folder with its Id but nor the content.&lt;/P&gt;
&lt;P&gt;Is there any way to retrieve this team shared content with .Net SDK ?&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>Thu, 07 Sep 2023 09:18:49 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Cannot-get-team-folder-s-content/m-p/712011#M31529</guid>
      <dc:creator>borhene</dc:creator>
      <dc:date>2023-09-07T09:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot get team folder's content</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Cannot-get-team-folder-s-content/m-p/712016#M31530</link>
      <description>&lt;P&gt;Hi &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1743026"&gt;@borhene&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;By default, all calls to access content are rooted to user/member folder (not to account root). On personal account, account root and user folder are the same thing, which is NOT the case for member of team account (seen on your screenshot too). To be able list something outside member folder, you have to explicitly set root namespace (to be account root for instance). &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;Hope this gives direction.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2023 08:34:04 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Cannot-get-team-folder-s-content/m-p/712016#M31530</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2023-09-07T08:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot get team folder's content</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Cannot-get-team-folder-s-content/m-p/712026#M31531</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for your answer.&lt;/P&gt;&lt;P&gt;I tried this way. I got an error saying that we have a wrong format userId.&lt;/P&gt;&lt;P&gt;Here the code that is working well for personal drive:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="borhene_0-1694076583596.png" style="width: 652px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/40376iD28F18F356384E69/image-dimensions/652x75?v=v2" width="652" height="75" role="button" title="borhene_0-1694076583596.png" alt="borhene_0-1694076583596.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here the code that is returning an error saying that the userId has wrong format&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="borhene_1-1694076647752.png" style="width: 653px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/40377iD191ECBCA7DA3CCC/image-dimensions/653x62?v=v2" width="653" height="62" role="button" title="borhene_1-1694076647752.png" alt="borhene_1-1694076647752.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is not expecting to get an id of teamDrive.&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>Thu, 07 Sep 2023 08:52:02 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Cannot-get-team-folder-s-content/m-p/712026#M31531</guid>
      <dc:creator>borhene</dc:creator>
      <dc:date>2023-09-07T08:52:02Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot get team folder's content</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Cannot-get-team-folder-s-content/m-p/712028#M31532</link>
      <description>&lt;P&gt;To do that you need to use &lt;A href="https://github.com/dropbox/dropbox-sdk-dotnet/blob/main/dropbox-sdk-dotnet/Dropbox.Api/DropboxClient.cs#L245" target="_blank" rel="noopener"&gt;WithPathRoot&lt;/A&gt;. By the way, team folder id is neither admin nor member id. That's why you got the error. &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;</description>
      <pubDate>Thu, 07 Sep 2023 09:06:55 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Cannot-get-team-folder-s-content/m-p/712028#M31532</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2023-09-07T09:06:55Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot get team folder's content</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Cannot-get-team-folder-s-content/m-p/712047#M31533</link>
      <description>&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;It works and here the implemented code&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="borhene_0-1694081529921.png" style="width: 737px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/40381i7998D391EC78B3E4/image-dimensions/737x317?v=v2" width="737" height="317" role="button" title="borhene_0-1694081529921.png" alt="borhene_0-1694081529921.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2023 10:12:30 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Cannot-get-team-folder-s-content/m-p/712047#M31533</guid>
      <dc:creator>borhene</dc:creator>
      <dc:date>2023-09-07T10:12:30Z</dc:date>
    </item>
  </channel>
</rss>

