<?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: dropbox filesListFolder with limit args do not work well in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/dropbox-filesListFolder-with-limit-args-do-not-work-well/m-p/651942#M29771</link>
    <description>&lt;P&gt;The 'limit' parameter does not guarantee how many results will be returned per page. It only puts an approximate limit on the maximum number of entries that may be returned. Per &lt;A href="https://dropbox.github.io/dropbox-sdk-js/global.html#FilesListFolderArg" target="_blank"&gt;the documentation&lt;/A&gt;:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;The maximum number of results to return per request. Note: This is an approximate number and there can be slightly more entries returned in some cases.&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You may get less than the 'limit' in any returned page of results. &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="mount-point-wrapper"&gt;Due to various factors, the exact number of entries you may get back per &lt;A href="https://dropbox.github.io/dropbox-sdk-js/Dropbox.html#filesListFolder__anchor" target="_blank"&gt;filesListFolder&lt;/A&gt;/&lt;A href="https://dropbox.github.io/dropbox-sdk-js/Dropbox.html#filesListFolderContinue__anchor" target="_blank"&gt;filesListFolderContinue&lt;/A&gt; page can vary, and is not guaranteed to be consistent over time, or across accounts or different folders, etc. These methods aren't guaranteed to return all of the results in a single API call response, and there isn't a way to force it to do so, so you need to always check the returned &lt;A href="https://dropbox.github.io/dropbox-sdk-js/global.html#FilesListFolderResult" target="_blank"&gt;FilesListFolderResult&lt;/A&gt;.has_more value. If the returned 'has_more' is true, you need to call back to&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-js/Dropbox.html#filesListFolderContinue__anchor" target="_blank"&gt;filesListFolderContinue&lt;/A&gt; to get more results.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 18 Jan 2023 13:04:25 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2023-01-18T13:04:25Z</dc:date>
    <item>
      <title>dropbox filesListFolder with limit args do not work well</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/dropbox-filesListFolder-with-limit-args-do-not-work-well/m-p/651825#M29770</link>
      <description>&lt;P&gt;`dropbox.filesListFolder()` (js) with limit option does not work correctly. I think it was working until last week or so.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The correct behavior is that if you have a folder with dozens of data and you put `limit: 100`, you should be able to get all the data. However, it now only returns a maximum of 12 cases.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I try to remove `limit: 100` and add `recursive: true`, I can get all dozens of data.&lt;/P&gt;
&lt;P&gt;Since I have not changed anything in the implementation, I am assuming that the Dropbox API has changed its behavior.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2023 14:44:22 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/dropbox-filesListFolder-with-limit-args-do-not-work-well/m-p/651825#M29770</guid>
      <dc:creator>YuichiTateno</dc:creator>
      <dc:date>2023-01-19T14:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: dropbox filesListFolder with limit args do not work well</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/dropbox-filesListFolder-with-limit-args-do-not-work-well/m-p/651942#M29771</link>
      <description>&lt;P&gt;The 'limit' parameter does not guarantee how many results will be returned per page. It only puts an approximate limit on the maximum number of entries that may be returned. Per &lt;A href="https://dropbox.github.io/dropbox-sdk-js/global.html#FilesListFolderArg" target="_blank"&gt;the documentation&lt;/A&gt;:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;The maximum number of results to return per request. Note: This is an approximate number and there can be slightly more entries returned in some cases.&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You may get less than the 'limit' in any returned page of results. &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="mount-point-wrapper"&gt;Due to various factors, the exact number of entries you may get back per &lt;A href="https://dropbox.github.io/dropbox-sdk-js/Dropbox.html#filesListFolder__anchor" target="_blank"&gt;filesListFolder&lt;/A&gt;/&lt;A href="https://dropbox.github.io/dropbox-sdk-js/Dropbox.html#filesListFolderContinue__anchor" target="_blank"&gt;filesListFolderContinue&lt;/A&gt; page can vary, and is not guaranteed to be consistent over time, or across accounts or different folders, etc. These methods aren't guaranteed to return all of the results in a single API call response, and there isn't a way to force it to do so, so you need to always check the returned &lt;A href="https://dropbox.github.io/dropbox-sdk-js/global.html#FilesListFolderResult" target="_blank"&gt;FilesListFolderResult&lt;/A&gt;.has_more value. If the returned 'has_more' is true, you need to call back to&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-js/Dropbox.html#filesListFolderContinue__anchor" target="_blank"&gt;filesListFolderContinue&lt;/A&gt; to get more results.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2023 13:04:25 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/dropbox-filesListFolder-with-limit-args-do-not-work-well/m-p/651942#M29771</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2023-01-18T13:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: dropbox filesListFolder with limit args do not work well</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/dropbox-filesListFolder-with-limit-args-do-not-work-well/m-p/652110#M29780</link>
      <description>&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;I checked `has_more` and fixed it to work fine.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2023 23:28:55 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/dropbox-filesListFolder-with-limit-args-do-not-work-well/m-p/652110#M29780</guid>
      <dc:creator>YuichiTateno</dc:creator>
      <dc:date>2023-01-18T23:28:55Z</dc:date>
    </item>
  </channel>
</rss>

