<?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: Folder searches using the API often fail. in Discuss Dropbox Developer &amp; API</title>
    <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Folder-searches-using-the-API-often-fail/m-p/719279#M3668</link>
    <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1549776"&gt;@gbc04&lt;/a&gt;&amp;nbsp;Здравко is correct; you need to implement both &lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/gh-pages/obj/api/Dropbox.Api.Files.Routes.FilesAppRoutes.html#Dropbox_Api_Files_Routes_FilesAppRoutes_ListFolderAsync_System_String_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Nullable_System_UInt32__Dropbox_Api_Files_SharedLink_Dropbox_Api_FileProperties_TemplateFilterBase_System_Boolean_" target="_blank"&gt;ListFolderAsync&lt;/A&gt; and &lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/gh-pages/obj/api/Dropbox.Api.Files.Routes.FilesAppRoutes.html#Dropbox_Api_Files_Routes_FilesAppRoutes_ListFolderAsync_System_String_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Nullable_System_UInt32__Dropbox_Api_Files_SharedLink_Dropbox_Api_FileProperties_TemplateFilterBase_System_Boolean_" target="_blank"&gt;ListFolderContinueAsync&lt;/A&gt;. You aren't guaranteed to get all results back in just one call to ListFolderAsync. Please refer to the documentation linked there for information on how to use this.&lt;/P&gt;</description>
    <pubDate>Fri, 06 Oct 2023 11:43:58 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2023-10-06T11:43:58Z</dc:date>
    <item>
      <title>Folder searches using the API often fail.</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Folder-searches-using-the-API-often-fail/m-p/718946#M3663</link>
      <description>&lt;P&gt;I created a function to download data files at the desired time by searching folders by date in a program (C#) through App Key (OAuth 2) and used it for several years.&lt;BR /&gt;However, from 09-12 to the 12th, the folder list could not be viewed, but from 09-18, access was possible from the 12th to the 18th.&lt;BR /&gt;After that, it suddenly showed up on 10-04 from the 1st to the 4th, and has not worked again until now (10-05).&lt;BR /&gt;I can view it through the Dropbox program, but why can't I access it only through the API?&lt;BR /&gt;Is there any workaround for this?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2023 08:07:04 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Folder-searches-using-the-API-often-fail/m-p/718946#M3663</guid>
      <dc:creator>gbc04</dc:creator>
      <dc:date>2023-10-05T08:07:04Z</dc:date>
    </item>
    <item>
      <title>Re: Folder searches using the API often fail.</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Folder-searches-using-the-API-often-fail/m-p/719046#M3665</link>
      <description>&lt;P&gt;I'll be happy to help with any issues you're having with the Dropbox API, but I'll need some more information. Please reply with:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;the name and version number of the platform and SDK/library you are using, if any&lt;/LI&gt;
&lt;LI&gt;the steps to reproduce the issue, including relevant code snippet(s), but don't include any access or refresh token(s)&lt;/LI&gt;
&lt;LI&gt;the full text of any error or unexpected output&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Thu, 05 Oct 2023 14:55:26 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Folder-searches-using-the-API-often-fail/m-p/719046#M3665</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2023-10-05T14:55:26Z</dc:date>
    </item>
    <item>
      <title>Re: Folder searches using the API often fail.</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Folder-searches-using-the-API-often-fail/m-p/719190#M3666</link>
      <description>&lt;P&gt;* SDK information is [Official Dropbox .Net v2 SDK v5.0.7591]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;* Source Code&lt;/P&gt;&lt;P&gt;using (var dbx = new DropboxClient(Program.ConfigIni.BaseInfo.DropBoxApiTokenKey))&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp; &amp;nbsp;string DownForderName = "/" + Program.ConfigIni.BaseInfo.ServerOpenPath;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;var aData = await dbx.Files.ListFolderAsync(DownForderName);&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;//When loading here, only part of the folder information is displayed, but all is displayed in the dropbox program.&lt;BR /&gt;&amp;nbsp; &amp;nbsp;var list = aData.Entries.OrderBy(x =&amp;gt; x.Name).ToArray();&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;//show folders then files&lt;BR /&gt;&amp;nbsp; &amp;nbsp;foreach (var item in list.Where(i =&amp;gt; i.IsFolder))&lt;BR /&gt;&amp;nbsp; &amp;nbsp;{&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; IsActivce = true;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; string FileFullPath = "";&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; FileFullPath = item.Name;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; var ForderInFiles = await dbx.Files.ListFolderAsync(DownForderName + "/" + item.Name);&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; foreach (var Files in ForderInFiles.Entries.Where(i =&amp;gt; i.IsFile))&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ~~~&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Fri, 06 Oct 2023 01:38:23 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Folder-searches-using-the-API-often-fail/m-p/719190#M3666</guid>
      <dc:creator>gbc04</dc:creator>
      <dc:date>2023-10-06T01:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: Folder searches using the API often fail.</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Folder-searches-using-the-API-often-fail/m-p/719192#M3667</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1549776"&gt;@gbc04&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;...&lt;BR /&gt;&amp;nbsp; &amp;nbsp;var aData = await dbx.Files.ListFolderAsync(DownForderName);&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;//When loading here, only part of the folder information is displayed, but all is displayed in the dropbox program.&lt;BR /&gt;&amp;nbsp; &amp;nbsp;var list = aData.Entries.OrderBy(x =&amp;gt; x.Name).ToArray();&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Hi &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1549776"&gt;@gbc04&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;How many are all files/folders in the folder, that's object of listing/enumeration? Keep in mind that 'ListFolderAsync' only starts the listing (and possibly completes it when short enough). Its result is the first page from the result and eventually the only, but may be more pages! There is a flag that shows whether are more pages or just received page is the last - you never checked it in your code. When there are more pages, you have to continue pagination to the last one - something you skipped.&lt;/P&gt;&lt;P&gt;Hope this gives direction.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Oct 2023 02:22:35 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Folder-searches-using-the-API-often-fail/m-p/719192#M3667</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2023-10-06T02:22:35Z</dc:date>
    </item>
    <item>
      <title>Re: Folder searches using the API often fail.</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Folder-searches-using-the-API-often-fail/m-p/719279#M3668</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1549776"&gt;@gbc04&lt;/a&gt;&amp;nbsp;Здравко is correct; you need to implement both &lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/gh-pages/obj/api/Dropbox.Api.Files.Routes.FilesAppRoutes.html#Dropbox_Api_Files_Routes_FilesAppRoutes_ListFolderAsync_System_String_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Nullable_System_UInt32__Dropbox_Api_Files_SharedLink_Dropbox_Api_FileProperties_TemplateFilterBase_System_Boolean_" target="_blank"&gt;ListFolderAsync&lt;/A&gt; and &lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/gh-pages/obj/api/Dropbox.Api.Files.Routes.FilesAppRoutes.html#Dropbox_Api_Files_Routes_FilesAppRoutes_ListFolderAsync_System_String_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Nullable_System_UInt32__Dropbox_Api_Files_SharedLink_Dropbox_Api_FileProperties_TemplateFilterBase_System_Boolean_" target="_blank"&gt;ListFolderContinueAsync&lt;/A&gt;. You aren't guaranteed to get all results back in just one call to ListFolderAsync. Please refer to the documentation linked there for information on how to use this.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Oct 2023 11:43:58 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Folder-searches-using-the-API-often-fail/m-p/719279#M3668</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2023-10-06T11:43:58Z</dc:date>
    </item>
  </channel>
</rss>

