<?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 &amp;quot;has_more = true&amp;quot; was returned even though &amp;quot;files / list_folder&amp;quot; was less than &amp;quot;limit&amp;quot;. in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/quot-has-more-true-quot-was-returned-even-though-quot-files-list/m-p/373889#M21023</link>
    <description>&lt;P&gt;I tried to get information about all files and folders in my account.&lt;BR /&gt;I restricted the number of acquisitions by "limit".So I tried to get the rest by " / list_folder / continue", when I cannot get all.&lt;BR /&gt;However, "has_more=true" was returned returned, despite being less than the "limit".&lt;BR /&gt;Is this a bug in Dropbox?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Response example (42 items in total)&lt;BR /&gt;{&lt;BR /&gt;"entries": [&lt;BR /&gt;{&lt;BR /&gt;".tag": "folder",&lt;BR /&gt;"name": "test",&lt;BR /&gt;"path_lower": "/test",&lt;BR /&gt;"path_display": "/test",&lt;BR /&gt;"id": "id:dummy_id_aaaaa"&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;".tag": "folder",&lt;BR /&gt;"name": "test_folder",&lt;BR /&gt;"path_lower": "/test_folder",&lt;BR /&gt;"path_display": "test_folder",&lt;BR /&gt;"id": "id:dummy_id_bbbbb"&lt;BR /&gt;}&lt;BR /&gt;],&lt;BR /&gt;"cursor": "dummy_cursol_ccccc",&lt;BR /&gt;"has_more": true&lt;BR /&gt;}&lt;/P&gt;</description>
    <pubDate>Thu, 24 Oct 2019 01:52:22 GMT</pubDate>
    <dc:creator>minamiSasaki</dc:creator>
    <dc:date>2019-10-24T01:52:22Z</dc:date>
    <item>
      <title>"has_more = true" was returned even though "files / list_folder" was less than "limit".</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/quot-has-more-true-quot-was-returned-even-though-quot-files-list/m-p/373889#M21023</link>
      <description>&lt;P&gt;I tried to get information about all files and folders in my account.&lt;BR /&gt;I restricted the number of acquisitions by "limit".So I tried to get the rest by " / list_folder / continue", when I cannot get all.&lt;BR /&gt;However, "has_more=true" was returned returned, despite being less than the "limit".&lt;BR /&gt;Is this a bug in Dropbox?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Response example (42 items in total)&lt;BR /&gt;{&lt;BR /&gt;"entries": [&lt;BR /&gt;{&lt;BR /&gt;".tag": "folder",&lt;BR /&gt;"name": "test",&lt;BR /&gt;"path_lower": "/test",&lt;BR /&gt;"path_display": "/test",&lt;BR /&gt;"id": "id:dummy_id_aaaaa"&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;".tag": "folder",&lt;BR /&gt;"name": "test_folder",&lt;BR /&gt;"path_lower": "/test_folder",&lt;BR /&gt;"path_display": "test_folder",&lt;BR /&gt;"id": "id:dummy_id_bbbbb"&lt;BR /&gt;}&lt;BR /&gt;],&lt;BR /&gt;"cursor": "dummy_cursol_ccccc",&lt;BR /&gt;"has_more": true&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2019 01:52:22 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/quot-has-more-true-quot-was-returned-even-though-quot-files-list/m-p/373889#M21023</guid>
      <dc:creator>minamiSasaki</dc:creator>
      <dc:date>2019-10-24T01:52:22Z</dc:date>
    </item>
    <item>
      <title>Re: "has_more = true" was returned even though "files / list_folder" was less th</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/quot-has-more-true-quot-was-returned-even-though-quot-files-list/m-p/374010#M21030</link>
      <description>&lt;P&gt;Thanks for the report. This sort of thing can happen when using &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder" target="_self"&gt;/2/files/list_folder&lt;/A&gt;[&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder-continue" target="_self"&gt;/continue&lt;/A&gt;], and while it's not a bug, we do understand it's not ideal.&lt;/P&gt;
&lt;P&gt;The &lt;CODE&gt;limit&lt;/CODE&gt; the client supplies is only a guideline, and the API may not always be able to actually follow it. Because of how the Dropbox filesystem works on the backend, sometimes the API may return less than the &lt;CODE&gt;limit&lt;/CODE&gt;, and sometimes it may actually return a little more.&lt;/P&gt;
&lt;P&gt;There's some information about this in &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder" target="_self"&gt;the docs&lt;/A&gt; for the param:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;CODE&gt;limit&lt;/CODE&gt; &lt;CODE&gt;UInt32(min=1, max=2000)?&lt;/CODE&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;That's to point out that the value is only meant as a &lt;EM&gt;maximum&lt;/EM&gt;, so the API can still return less than the specified value (but also sometimes more).&lt;/P&gt;
&lt;P&gt;So, all of that being the case, the client always needs to check the &lt;CODE&gt;has_more&lt;/CODE&gt; value and call back to &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder-continue" target="_self"&gt;/2/files/list_folder/continue&lt;/A&gt; if it's true.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2019 13:45:42 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/quot-has-more-true-quot-was-returned-even-though-quot-files-list/m-p/374010#M21030</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2019-10-24T13:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: "has_more = true" was returned even though "files / list_folder" was less th</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/quot-has-more-true-quot-was-returned-even-though-quot-files-list/m-p/374213#M21039</link>
      <description>&lt;P&gt;thank you for your answer.&lt;BR /&gt;I understanded that it may return less than "limit".&lt;BR /&gt;Even if &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder" target="_self"&gt;/ 2 / files / list_folder&lt;/A&gt; is used at the first acquisition, the same phenomenon occurs. Is this the same reason?&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2019 02:32:13 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/quot-has-more-true-quot-was-returned-even-though-quot-files-list/m-p/374213#M21039</guid>
      <dc:creator>minamiSasaki</dc:creator>
      <dc:date>2019-10-25T02:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: "has_more = true" was returned even though "files / list_folder" was less th</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/quot-has-more-true-quot-was-returned-even-though-quot-files-list/m-p/374347#M21042</link>
      <description>&lt;P&gt;Yes, this &lt;CODE&gt;limit&lt;/CODE&gt; behavior applies to using both&amp;nbsp;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder" target="_self" rel="noopener noreferrer"&gt;/2/files/list_folder&lt;/A&gt;&amp;nbsp;and&amp;nbsp;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder-continue" target="_self" rel="noopener noreferrer"&gt;/2/files/list_folder/continue&lt;/A&gt;&amp;nbsp;at any time.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2019 13:51:11 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/quot-has-more-true-quot-was-returned-even-though-quot-files-list/m-p/374347#M21042</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2019-10-25T13:51:11Z</dc:date>
    </item>
    <item>
      <title>Re: "has_more = true" was returned even though "files / list_folder" was less th</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/quot-has-more-true-quot-was-returned-even-though-quot-files-list/m-p/375049#M21068</link>
      <description>&lt;P&gt;Thank you very much.&lt;BR /&gt;Implement to get all items using / 2 / files / list_folder / continue.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2019 08:31:28 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/quot-has-more-true-quot-was-returned-even-though-quot-files-list/m-p/375049#M21068</guid>
      <dc:creator>minamiSasaki</dc:creator>
      <dc:date>2019-10-29T08:31:28Z</dc:date>
    </item>
  </channel>
</rss>

