<?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: One user can't see his Dropbox folders or files in my iOS app in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/One-user-can-t-see-his-Dropbox-folders-or-files-in-my-iOS-app/m-p/722900#M31942</link>
    <description>&lt;P&gt;Thanks for the quick response Greg. I'm using listFolder. However, wouldn't listFolder at least show more than just the Vault? He has 11 folders, two files, and the Vault in his top-level Dropbox directory. But in our app it only shows the Vault folder.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's our code for displaying the contents:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;for (DBFILESMetadata *entry in folder.entries)
{
    String path = entry.pathLower;
    String name = entry.name;
        
    bool isFolder = [entry isKindOfClass:[DBFILESFolderMetadata class]];
        
    if (isFolder) {
        items.add(new FileItemComponent(name, path, true));
    } else if (name.fromLastOccurrenceOf(".", false, true) == "syn") {
        items.add(new FileItemComponent(name, path, false));
    }
}
    
items.sort(*this);
    
for (int i = 0; i &amp;lt; items.size(); i++) {
    addAndMakeVisible(items[i]);
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 19 Oct 2023 14:45:14 GMT</pubDate>
    <dc:creator>hanley</dc:creator>
    <dc:date>2023-10-19T14:45:14Z</dc:date>
    <item>
      <title>One user can't see his Dropbox folders or files in my iOS app</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/One-user-can-t-see-his-Dropbox-folders-or-files-in-my-iOS-app/m-p/722877#M31939</link>
      <description>&lt;P&gt;My iOS app has had the Dropbox API integrated into it for several years. Our users use it to save and load files into our app.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This week one user reported that it's not showing any of their folders or files EXCEPT their "Vault" folder. He has sent screenshots of his Dropbox contents on both his Mac and iOS Dropbox App and they are all visible there. But in our app only the Vault folder is visible, nothing else. The files and folders in question are NOT inside the Vault folder.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No other users have this problem. I've had him reconnect his Dropbox account, restart the app, and unlock his vault. Nothing seems to help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Oct 2023 13:50:39 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/One-user-can-t-see-his-Dropbox-folders-or-files-in-my-iOS-app/m-p/722877#M31939</guid>
      <dc:creator>hanley</dc:creator>
      <dc:date>2023-10-19T13:50:39Z</dc:date>
    </item>
    <item>
      <title>Re: One user can't see his Dropbox folders or files in my iOS app</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/One-user-can-t-see-his-Dropbox-folders-or-files-in-my-iOS-app/m-p/722891#M31941</link>
      <description>&lt;P&gt;How are you listing the contents of the account? Feel free to share the relevant code snippet(s) so we can take a look.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From the description though, it sounds like you might only have &lt;A href="https://dropbox.github.io/dropbox-sdk-obj-c/api-docs/7.1.0/Classes/DBFILESUserAuthRoutes.html#/c:objc(cs)DBFILESUserAuthRoutes(im)listFolder:" target="_self"&gt;listFolder&lt;/A&gt; and not &lt;A href="https://dropbox.github.io/dropbox-sdk-obj-c/api-docs/7.1.0/Classes/DBFILESUserAuthRoutes.html#/c:objc(cs)DBFILESUserAuthRoutes(im)listFolderContinue:" target="_self"&gt;listFolderContinue&lt;/A&gt; implemented and so are sometimes only retrieving a partial listing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This functionality is paginated and you are not always guaranteed to get all of the results back in a single &lt;A href="https://dropbox.github.io/dropbox-sdk-obj-c/api-docs/7.1.0/Classes/DBFILESUserAuthRoutes.html#/c:objc(cs)DBFILESUserAuthRoutes(im)listFolder:" target="_self"&gt;listFolder&lt;/A&gt; call, so make sure you implement support for &lt;A href="https://dropbox.github.io/dropbox-sdk-obj-c/api-docs/7.1.0/Classes/DBFILESUserAuthRoutes.html#/c:objc(cs)DBFILESUserAuthRoutes(im)listFolderContinue:" target="_self"&gt;listFolderContinue&lt;/A&gt; as well. Refer to the &lt;A href="https://dropbox.github.io/dropbox-sdk-obj-c/api-docs/7.1.0/Classes/DBFILESUserAuthRoutes.html#/c:objc(cs)DBFILESUserAuthRoutes(im)listFolder:" target="_self"&gt;listFolder&lt;/A&gt; and&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-obj-c/api-docs/7.1.0/Classes/DBFILESUserAuthRoutes.html#/c:objc(cs)DBFILESUserAuthRoutes(im)listFolderContinue:" target="_self"&gt;listFolderContinue&lt;/A&gt; documentation for information on doing so. (Those are links to the methods in the official Dropbox API v2 Objective-C SDK, but refer to the documentation for whichever SDK you're using, if any, or &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder" target="_blank"&gt;the API documentation&lt;/A&gt; itself.)&lt;/P&gt;</description>
      <pubDate>Thu, 19 Oct 2023 14:31:49 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/One-user-can-t-see-his-Dropbox-folders-or-files-in-my-iOS-app/m-p/722891#M31941</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2023-10-19T14:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: One user can't see his Dropbox folders or files in my iOS app</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/One-user-can-t-see-his-Dropbox-folders-or-files-in-my-iOS-app/m-p/722900#M31942</link>
      <description>&lt;P&gt;Thanks for the quick response Greg. I'm using listFolder. However, wouldn't listFolder at least show more than just the Vault? He has 11 folders, two files, and the Vault in his top-level Dropbox directory. But in our app it only shows the Vault folder.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's our code for displaying the contents:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;for (DBFILESMetadata *entry in folder.entries)
{
    String path = entry.pathLower;
    String name = entry.name;
        
    bool isFolder = [entry isKindOfClass:[DBFILESFolderMetadata class]];
        
    if (isFolder) {
        items.add(new FileItemComponent(name, path, true));
    } else if (name.fromLastOccurrenceOf(".", false, true) == "syn") {
        items.add(new FileItemComponent(name, path, false));
    }
}
    
items.sort(*this);
    
for (int i = 0; i &amp;lt; items.size(); i++) {
    addAndMakeVisible(items[i]);
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Oct 2023 14:45:14 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/One-user-can-t-see-his-Dropbox-folders-or-files-in-my-iOS-app/m-p/722900#M31942</guid>
      <dc:creator>hanley</dc:creator>
      <dc:date>2023-10-19T14:45:14Z</dc:date>
    </item>
    <item>
      <title>Re: One user can't see his Dropbox folders or files in my iOS app</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/One-user-can-t-see-his-Dropbox-folders-or-files-in-my-iOS-app/m-p/722904#M31943</link>
      <description>&lt;P&gt;The exact number of entries returned per page is not guaranteed, and can be small in some cases. The listFolder[Continue] functionality can return even just one entry per page sometimes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are a few factors that can affect what/how much is returned in a single call, and that can vary over time and across accounts due to a number of factors, e.g., as the state and contents of the account changes, etc, so you need to make sure you always have both&amp;nbsp;listFolder and&amp;nbsp;listFolderContinue implemented.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Oct 2023 14:51:25 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/One-user-can-t-see-his-Dropbox-folders-or-files-in-my-iOS-app/m-p/722904#M31943</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2023-10-19T14:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: One user can't see his Dropbox folders or files in my iOS app</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/One-user-can-t-see-his-Dropbox-folders-or-files-in-my-iOS-app/m-p/722912#M31944</link>
      <description>&lt;P&gt;Ok. I'll give that a shot. Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Oct 2023 15:13:04 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/One-user-can-t-see-his-Dropbox-folders-or-files-in-my-iOS-app/m-p/722912#M31944</guid>
      <dc:creator>hanley</dc:creator>
      <dc:date>2023-10-19T15:13:04Z</dc:date>
    </item>
  </channel>
</rss>

