<?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 API can't see new files in APP folder in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-can-t-see-new-files-in-APP-folder/m-p/352584#M20179</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm having an issue using &lt;A href="https://assets.maven-repository.com/artifact/com.dropbox.core/dropbox-core-sdk/3.1.1" target="_self"&gt;java/groovy API 3.0.8 and 3.1.1 (latest)&lt;/A&gt;.&lt;BR /&gt;I have a local APP, with a few 'old' folders created before 06/27/2019 and 'new' files and folders added after that day.&lt;BR /&gt;I was able to see files in APP's root folder before that day, using code like this:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;com.dropbox.core.v2.DbxClientV2 client = ...&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ListFolderResult lfResult = client.files().listFolder('/apps/my test app')&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;lfResult.getEntries().each{ Metadata metadata -&amp;gt; println(metadata.getPathLower()) }&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;now it lists only 'old' folders, skipping 'new' folders and files.&lt;BR /&gt;Those exist - I can see them on the website and even blinedly download over same API, if I give the direct path!&lt;BR /&gt;Surprizingly, API can also list content of 'new' folders, that API doesn't see in the APP root.&lt;BR /&gt;More interesting effect - if I rename 'old' forder in root from website UI, API stopps seeing it, even if I rename it back to original name that was previously seen by the API.&lt;/P&gt;&lt;P&gt;basically any change to app's root contentent make it invisible (but accessable!) to the API since that day.&lt;/P&gt;&lt;P&gt;Any help or comments appriciated!&lt;/P&gt;</description>
    <pubDate>Sat, 29 Jun 2019 20:22:00 GMT</pubDate>
    <dc:creator>SanjayGupta</dc:creator>
    <dc:date>2019-06-29T20:22:00Z</dc:date>
    <item>
      <title>API can't see new files in APP folder</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-can-t-see-new-files-in-APP-folder/m-p/352584#M20179</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm having an issue using &lt;A href="https://assets.maven-repository.com/artifact/com.dropbox.core/dropbox-core-sdk/3.1.1" target="_self"&gt;java/groovy API 3.0.8 and 3.1.1 (latest)&lt;/A&gt;.&lt;BR /&gt;I have a local APP, with a few 'old' folders created before 06/27/2019 and 'new' files and folders added after that day.&lt;BR /&gt;I was able to see files in APP's root folder before that day, using code like this:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;com.dropbox.core.v2.DbxClientV2 client = ...&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ListFolderResult lfResult = client.files().listFolder('/apps/my test app')&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;lfResult.getEntries().each{ Metadata metadata -&amp;gt; println(metadata.getPathLower()) }&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;now it lists only 'old' folders, skipping 'new' folders and files.&lt;BR /&gt;Those exist - I can see them on the website and even blinedly download over same API, if I give the direct path!&lt;BR /&gt;Surprizingly, API can also list content of 'new' folders, that API doesn't see in the APP root.&lt;BR /&gt;More interesting effect - if I rename 'old' forder in root from website UI, API stopps seeing it, even if I rename it back to original name that was previously seen by the API.&lt;/P&gt;&lt;P&gt;basically any change to app's root contentent make it invisible (but accessable!) to the API since that day.&lt;/P&gt;&lt;P&gt;Any help or comments appriciated!&lt;/P&gt;</description>
      <pubDate>Sat, 29 Jun 2019 20:22:00 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-can-t-see-new-files-in-APP-folder/m-p/352584#M20179</guid>
      <dc:creator>SanjayGupta</dc:creator>
      <dc:date>2019-06-29T20:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: API can't see new files in APP folder</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-can-t-see-new-files-in-APP-folder/m-p/352905#M20187</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I have an idea for what may be causing this confusing behavior. When you're creating an app in the Dropbox developer console, there are two API access types to choose from: 'App folder' and 'Full Dropbox'. You can read about some of the differences &lt;A href="https://www.dropbox.com/developers/reference/developer-guide" target="_self"&gt;here&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;It sounds like you may be using an 'App folder' token to make calls that require a 'Full Dropbox' token.&lt;/P&gt;
&lt;P&gt;Making a files/list_folder call from an 'App folder' token vs a 'Full Dropbox token' will yield different results and require a different path. A good way to tinker with them and gain a better understanding is the &lt;A href="https://www.dropbox.com/developers/reference/developer-guide" target="_self"&gt;files/list_folder endpoint on the API explorer&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'd recommend creating another Dropbox app, this time with 'Full Dropbox' access. Please give that a shot and come give me an update!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2019 17:28:22 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-can-t-see-new-files-in-APP-folder/m-p/352905#M20187</guid>
      <dc:creator>TaylorKrusen</dc:creator>
      <dc:date>2019-07-01T17:28:22Z</dc:date>
    </item>
    <item>
      <title>Re: API can't see new files in APP folder</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-can-t-see-new-files-in-APP-folder/m-p/352909#M20189</link>
      <description>&lt;P&gt;Thanks for reply, I solved it!&lt;/P&gt;&lt;P&gt;Yes, I am using 'App folder', but it was a different issue - I didn't paginate results using &lt;EM&gt;ListFolderResult.getCursor()&lt;/EM&gt;, as described in &lt;A href="https://github.com/dropbox/dropbox-sdk-java" target="_self"&gt;this example&lt;/A&gt;, because I had just a few items in app root. Seems like my simplistic approach stopped working &lt;EM&gt;when subfolders became big enough&lt;/EM&gt;. So adding check for&amp;nbsp;&lt;EM&gt;result.getHasMore()&lt;/EM&gt; helped.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2019 17:56:45 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-can-t-see-new-files-in-APP-folder/m-p/352909#M20189</guid>
      <dc:creator>sgvcp</dc:creator>
      <dc:date>2019-07-01T17:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: API can't see new files in APP folder</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-can-t-see-new-files-in-APP-folder/m-p/352935#M20190</link>
      <description>&lt;P&gt;Awesome! I'm glad you got it working.&lt;/P&gt;
&lt;P&gt;Thanks so much for sharing the solution! It may help others that run into similar issues down the road.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2019 21:29:00 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-can-t-see-new-files-in-APP-folder/m-p/352935#M20190</guid>
      <dc:creator>TaylorKrusen</dc:creator>
      <dc:date>2019-07-01T21:29:00Z</dc:date>
    </item>
  </channel>
</rss>

