<?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 Error in call to API function &amp;quot;files/list_folder&amp;quot;: This function requires its argument in the HTTP r in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Error-in-call-to-API-function-quot-files-list-folder-quot-This/m-p/746525#M32807</link>
    <description>&lt;UL&gt;&lt;LI&gt;I am integrating Dropbox with InfoLobby.&lt;/LI&gt;&lt;LI&gt;The integration works fine.&lt;/LI&gt;&lt;LI&gt;I can use the download endpoint successfully (This proves my integration is fine and is connected okay) - &lt;A href="https://content.dropboxapi.com/2/files/download" target="_blank"&gt;https://content.dropboxapi.com/2/files/download.&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;But I am not able to use any endpoint that requires a --data parameter in the body.&amp;nbsp;I pass the body, still, the endpoint returns the error -&amp;nbsp;Error in call to API function "files/list_folder": This function requires its argument in the HTTP request body, but your request body is empty. (below image)&lt;/LI&gt;&lt;LI&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ss218.png" style="width: 800px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/43615i6778F6FF6512D8DC/image-size/large?v=v2&amp;amp;px=999" role="button" title="ss218.png" alt="ss218.png" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;LI&gt;Here's when I try to download something using the same integration. It works fine.&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ss219.png" style="width: 800px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/43616i90D6939CFA058174/image-size/large?v=v2&amp;amp;px=999" role="button" title="ss219.png" alt="ss219.png" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;LI&gt;Now if I do not use the integration and directly use the bearer token, that works fine too&lt;/LI&gt;&lt;LI&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ss220.png" style="width: 800px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/43617i1722206945734861/image-size/large?v=v2&amp;amp;px=999" role="button" title="ss220.png" alt="ss220.png" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please advise why am I getting this error when trying to access the list of contents. Basically, why is Dropbox not recognizing the body that I submit?&lt;BR /&gt;&lt;BR /&gt;Body:&lt;BR /&gt;&lt;BR /&gt;{"path":"\/test","recursive":false,"include_media_info":false,"include_deleted":false,"include_has_explicit_shared_members":false,"include_mounted_folders":true,"include_non_downloadable_files":true}&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Error in call to API function "files/list_folder": This function requires its argument in the HTTP request body, but your request body is empty.&lt;/P&gt;</description>
    <pubDate>Mon, 22 Jan 2024 17:48:26 GMT</pubDate>
    <dc:creator>thaha</dc:creator>
    <dc:date>2024-01-22T17:48:26Z</dc:date>
    <item>
      <title>Error in call to API function "files/list_folder": This function requires its argument in the HTTP r</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Error-in-call-to-API-function-quot-files-list-folder-quot-This/m-p/746525#M32807</link>
      <description>&lt;UL&gt;&lt;LI&gt;I am integrating Dropbox with InfoLobby.&lt;/LI&gt;&lt;LI&gt;The integration works fine.&lt;/LI&gt;&lt;LI&gt;I can use the download endpoint successfully (This proves my integration is fine and is connected okay) - &lt;A href="https://content.dropboxapi.com/2/files/download" target="_blank"&gt;https://content.dropboxapi.com/2/files/download.&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;But I am not able to use any endpoint that requires a --data parameter in the body.&amp;nbsp;I pass the body, still, the endpoint returns the error -&amp;nbsp;Error in call to API function "files/list_folder": This function requires its argument in the HTTP request body, but your request body is empty. (below image)&lt;/LI&gt;&lt;LI&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ss218.png" style="width: 800px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/43615i6778F6FF6512D8DC/image-size/large?v=v2&amp;amp;px=999" role="button" title="ss218.png" alt="ss218.png" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;LI&gt;Here's when I try to download something using the same integration. It works fine.&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ss219.png" style="width: 800px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/43616i90D6939CFA058174/image-size/large?v=v2&amp;amp;px=999" role="button" title="ss219.png" alt="ss219.png" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;LI&gt;Now if I do not use the integration and directly use the bearer token, that works fine too&lt;/LI&gt;&lt;LI&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ss220.png" style="width: 800px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/43617i1722206945734861/image-size/large?v=v2&amp;amp;px=999" role="button" title="ss220.png" alt="ss220.png" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please advise why am I getting this error when trying to access the list of contents. Basically, why is Dropbox not recognizing the body that I submit?&lt;BR /&gt;&lt;BR /&gt;Body:&lt;BR /&gt;&lt;BR /&gt;{"path":"\/test","recursive":false,"include_media_info":false,"include_deleted":false,"include_has_explicit_shared_members":false,"include_mounted_folders":true,"include_non_downloadable_files":true}&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Error in call to API function "files/list_folder": This function requires its argument in the HTTP request body, but your request body is empty.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2024 17:48:26 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Error-in-call-to-API-function-quot-files-list-folder-quot-This/m-p/746525#M32807</guid>
      <dc:creator>thaha</dc:creator>
      <dc:date>2024-01-22T17:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: Error in call to API function "files/list_folder": This function requires its argument</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Error-in-call-to-API-function-quot-files-list-folder-quot-This/m-p/746545#M32808</link>
      <description>&lt;P&gt;The &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-download" target="_blank"&gt;/2/files/download&lt;/A&gt; and &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder" target="_blank"&gt;/2/files/list_folder&lt;/A&gt; endpoints use different formats, so those wold need to be implemented differently and so aren't a good comparison. The &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder" target="_blank"&gt;/2/files/list_folder&lt;/A&gt; endpoint is an RPC &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#formats" target="_blank"&gt;style&lt;/A&gt; endpoint, meaning that it requires the parameters JSON in the request body.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The error message you received indicates that the API did not receive the parameters in the request body for that API call.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It looks like you have the data for the parameters in "params", so you'll need to make sure that's getting properly sent in the request body. I can't offer help for third party network clients themselves, as they're not made by Dropbox, so I recommend referring to the documentation for your client for information on how to configure it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, I notice from the partial screenshots you shared that the two scenarios you have for /2/files/list_folder do not seem to be configured the same way: the working one has "content-type" set in "headers", and the non-working one has "content-type" set in "attribs". In addition to sending the parameters in the request body, make sure you are correctly setting the "content-type" header to "application/json".&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2024 18:48:49 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Error-in-call-to-API-function-quot-files-list-folder-quot-This/m-p/746545#M32808</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2024-01-22T18:48:49Z</dc:date>
    </item>
    <item>
      <title>Re: Error in call to API function "files/list_folder": This function requires its argument</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Error-in-call-to-API-function-quot-files-list-folder-quot-This/m-p/746554#M32809</link>
      <description>&lt;P&gt;Thanks Greg, for your quick response.&lt;BR /&gt;Contacted &lt;A title="InfoLobby" href="https://infolobby.com/" target="_self"&gt;InfoLobby&lt;/A&gt;. They helped me sort it out. Amazing support in both places.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2024 19:35:39 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Error-in-call-to-API-function-quot-files-list-folder-quot-This/m-p/746554#M32809</guid>
      <dc:creator>thaha</dc:creator>
      <dc:date>2024-01-22T19:35:39Z</dc:date>
    </item>
  </channel>
</rss>

