<?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: Started to get PathRootErrorException in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Started-to-get-PathRootErrorException/m-p/765591#M33483</link>
    <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1824478"&gt;@EvgeniyCatito&lt;/a&gt; When connected to a user account (whether or not it is a member of a team), an app can list anything in that account, including shared folders mounted in that account, using the same listFolder functionality. When using the recursive mode, the resulting listFolder cursor(s) would cover everything under that root.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You may want to check out the &lt;A href="https://developers.dropbox.com/dbx-file-access-guide" target="_blank"&gt;File Access Guide&lt;/A&gt; for more information on interacting with files/folders.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you're interested in listing everything a team has access to, &lt;A href="https://dropbox.tech/developers/listing-team-contents" target="_blank"&gt;this post/sample&lt;/A&gt; may be helpful.&lt;/P&gt;</description>
    <pubDate>Mon, 22 Apr 2024 16:56:01 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2024-04-22T16:56:01Z</dc:date>
    <item>
      <title>Started to get PathRootErrorException</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Started-to-get-PathRootErrorException/m-p/763830#M33427</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;I work with Dropbox Java SDK latest, and have a running app. Since recently I started to get&amp;nbsp;PathRootErrorException&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;sdkClient.asAdmin().withPathRoot(PathRoot.root(teamNamespace))
                            .files()
                            .listFolderGetLatestCursorBuilder("")
                            .withRecursive(true)
                            .start().getCursor();&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When trying to call this method.&amp;nbsp;&lt;STRONG&gt;listFolderGetLatestCursorBuilder&lt;BR /&gt;&lt;/STRONG&gt;Exception looks like:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pathrooterrorException.png" style="width: 800px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/45459iF8899E19C341447D/image-size/large?v=v2&amp;amp;px=999" role="button" title="pathrooterrorException.png" alt="pathrooterrorException.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 14 Apr 2024 07:31:45 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Started-to-get-PathRootErrorException/m-p/763830#M33427</guid>
      <dc:creator>EvgeniyCatito</dc:creator>
      <dc:date>2024-04-14T07:31:45Z</dc:date>
    </item>
    <item>
      <title>Re: Started to get PathRootErrorException</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Started-to-get-PathRootErrorException/m-p/764108#M33429</link>
      <description>&lt;P&gt;This should indicate that the value you're sending in withPathRoot, in this case the teamNamespace variable value, is incorrect for the connected account.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that the root for an account can change, e.g., due to team changes, so the app will need to be able to catch and handle this error. The error contains the current correct values for reference, or you can retrieve them the same way you would have originally.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please refer to the following resources for more information:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://developers.dropbox.com/dbx-team-files-guide" target="_blank"&gt;Team Files Guide&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://www.dropbox.com/developers/reference/path-root-header-modes" target="_blank"&gt;Path Root Header Modes&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Mon, 15 Apr 2024 15:18:41 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Started-to-get-PathRootErrorException/m-p/764108#M33429</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2024-04-15T15:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: Started to get PathRootErrorException</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Started-to-get-PathRootErrorException/m-p/764546#M33441</link>
      <description>&lt;P&gt;Thank you!&lt;BR /&gt;Do I understand right, that starting this change :&amp;nbsp;&lt;A href="https://dropbox.tech/developers/api-updates-to-better-support-team-spaces" target="_blank"&gt;https://dropbox.tech/developers/api-updates-to-better-support-team-spaces&amp;nbsp;&lt;/A&gt;&lt;BR /&gt;there is no one root for all teams, but each team has their own root? Is there a way to get a cursor for the whole org?&lt;BR /&gt;Regards,&lt;/P&gt;&lt;P&gt;Evgeniy&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2024 07:21:39 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Started-to-get-PathRootErrorException/m-p/764546#M33441</guid>
      <dc:creator>EvgeniyCatito</dc:creator>
      <dc:date>2024-04-17T07:21:39Z</dc:date>
    </item>
    <item>
      <title>Re: Started to get PathRootErrorException</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Started-to-get-PathRootErrorException/m-p/764707#M33452</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1824478"&gt;@EvgeniyCatito&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;On teams with the updated team space, there is not a single shared root; each team member has their own root, and so there is not a way to get a single cursor for the entire team.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2024 19:17:51 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Started-to-get-PathRootErrorException/m-p/764707#M33452</guid>
      <dc:creator>iNeil</dc:creator>
      <dc:date>2024-04-17T19:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: Started to get PathRootErrorException</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Started-to-get-PathRootErrorException/m-p/765176#M33472</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1706500"&gt;@iNeil&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you for the answer,&lt;/P&gt;&lt;P&gt;how about assorted folder? or other folder that can be accessed by the whole account?&amp;nbsp;&lt;BR /&gt;It might be accessed from any team and it will be a part of cursor for every team of the account?&amp;nbsp;&lt;BR /&gt;thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 19 Apr 2024 20:47:26 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Started-to-get-PathRootErrorException/m-p/765176#M33472</guid>
      <dc:creator>EvgeniyCatito</dc:creator>
      <dc:date>2024-04-19T20:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: Started to get PathRootErrorException</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Started-to-get-PathRootErrorException/m-p/765591#M33483</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1824478"&gt;@EvgeniyCatito&lt;/a&gt; When connected to a user account (whether or not it is a member of a team), an app can list anything in that account, including shared folders mounted in that account, using the same listFolder functionality. When using the recursive mode, the resulting listFolder cursor(s) would cover everything under that root.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You may want to check out the &lt;A href="https://developers.dropbox.com/dbx-file-access-guide" target="_blank"&gt;File Access Guide&lt;/A&gt; for more information on interacting with files/folders.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you're interested in listing everything a team has access to, &lt;A href="https://dropbox.tech/developers/listing-team-contents" target="_blank"&gt;this post/sample&lt;/A&gt; may be helpful.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Apr 2024 16:56:01 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Started-to-get-PathRootErrorException/m-p/765591#M33483</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2024-04-22T16:56:01Z</dc:date>
    </item>
  </channel>
</rss>

