<?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: Get List of files in Discuss Dropbox Developer &amp; API</title>
    <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Get-List-of-files/m-p/422304#M1231</link>
    <description>&lt;P&gt;Yes, using&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;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder-continue" target="_self" rel="noopener noreferrer"&gt;/continue&lt;/A&gt;&lt;SPAN&gt;] is the right way to list the files in an account. To list every file, you would set the 'path' parameter to the empty string "" (not "/"), and set 'recursive' to true.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The error you're getting indicates that the call failed because the HTTPS request body was empty, instead of containing the expected parameters. I see from your code that you are attempting to set the body via the 'SetBody' method, but that's apparently not actually getting sent to the server.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I can't provide support for the Appeon PowerBuilder environment or OAuthClient/OAuthRequest/ResourceResponse classes themselves as they aren't made by&amp;nbsp;Dropbox though, so I&amp;nbsp;recommend referring to the documentation for those for information on how to configure/debug HTTPS requests like this.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 20 May 2020 17:14:34 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2020-05-20T17:14:34Z</dc:date>
    <item>
      <title>Get List of files</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Get-List-of-files/m-p/422032#M1225</link>
      <description>&lt;P&gt;I am using the DropBox API to retrieve the list of files in my account.&lt;BR /&gt;But it returns the following:&lt;/P&gt;&lt;P&gt;{"file_requests": [], "cursor": "AADerDxM8V_QQRJQgZRYpGTqYBnD8wSl2InNNU0QJnXZgPapKCqPSJIurqgKVUSCSeixo2HSYVRqM-KAs_FrYmeJ8XPOe67op6xH95mDljNf56FIcs-jD1XDYjHi1ARHhAbS6G89E7ir_BrHZIF5rwZIY94cKTR6yMSio1VLx5eqLg", "has_more": false}&lt;/P&gt;&lt;P&gt;This despite having multiple files.&lt;/P&gt;&lt;P&gt;This is the code (I'm using PowerBuilder 2019 R2):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Codigo.jpg" style="width: 999px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/15823iAC4351FA9B83D5AE/image-size/large?v=v2&amp;amp;px=999" role="button" title="Codigo.jpg" alt="Codigo.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks in advacne&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2020 21:43:37 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Get-List-of-files/m-p/422032#M1225</guid>
      <dc:creator>adolfochairez</dc:creator>
      <dc:date>2020-05-19T21:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: Get List of files</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Get-List-of-files/m-p/422227#M1228</link>
      <description>&lt;P&gt;The&lt;SPAN&gt;&amp;nbsp;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#file_requests-list" target="_self"&gt;/2/file_requests/list_v2&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;endpoint is for listing&amp;nbsp;&lt;A href="https://www.dropbox.com/help/files-folders/create-file-request" target="_self" rel="noopener noreferrer noopener noreferrer"&gt;'file requests'&lt;/A&gt;, not actual files. (A "file request" is a way to receive&amp;nbsp;files from other people.)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To list files, you should instead use&lt;SPAN&gt;&amp;nbsp;&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;].&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2020 14:15:51 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Get-List-of-files/m-p/422227#M1228</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-05-20T14:15:51Z</dc:date>
    </item>
    <item>
      <title>Re: Get List of files</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Get-List-of-files/m-p/422285#M1230</link>
      <description>&lt;P&gt;Maybe I didn't explain myself, I'm trying to retrieve all the file list from my account.&lt;BR /&gt;It changes to the instruction&amp;nbsp;files/list_folder but it marks the following error:&lt;/P&gt;&lt;P&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;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Error2.jpg" style="width: 999px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/15833i732B9C0E113771B5/image-size/large?v=v2&amp;amp;px=999" role="button" title="Error2.jpg" alt="Error2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2020 16:27:07 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Get-List-of-files/m-p/422285#M1230</guid>
      <dc:creator>adolfochairez</dc:creator>
      <dc:date>2020-05-20T16:27:07Z</dc:date>
    </item>
    <item>
      <title>Re: Get List of files</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Get-List-of-files/m-p/422304#M1231</link>
      <description>&lt;P&gt;Yes, using&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;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder-continue" target="_self" rel="noopener noreferrer"&gt;/continue&lt;/A&gt;&lt;SPAN&gt;] is the right way to list the files in an account. To list every file, you would set the 'path' parameter to the empty string "" (not "/"), and set 'recursive' to true.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The error you're getting indicates that the call failed because the HTTPS request body was empty, instead of containing the expected parameters. I see from your code that you are attempting to set the body via the 'SetBody' method, but that's apparently not actually getting sent to the server.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I can't provide support for the Appeon PowerBuilder environment or OAuthClient/OAuthRequest/ResourceResponse classes themselves as they aren't made by&amp;nbsp;Dropbox though, so I&amp;nbsp;recommend referring to the documentation for those for information on how to configure/debug HTTPS requests like this.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2020 17:14:34 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Get-List-of-files/m-p/422304#M1231</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-05-20T17:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: Get List of files</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Get-List-of-files/m-p/422434#M1233</link>
      <description>&lt;P&gt;SOLVED:&lt;/P&gt;&lt;P&gt;The problem was this:&lt;/P&gt;&lt;P&gt;Say Contet change this and works fine&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Error3.jpg" style="width: 999px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/15852iDE686629908A4733/image-size/large?v=v2&amp;amp;px=999" role="button" title="Error3.jpg" alt="Error3.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Work.jpg" style="width: 698px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/15853i123CB31CA6EF8A92/image-size/large?v=v2&amp;amp;px=999" role="button" title="Work.jpg" alt="Work.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2020 23:57:35 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Get-List-of-files/m-p/422434#M1233</guid>
      <dc:creator>adolfochairez</dc:creator>
      <dc:date>2020-05-20T23:57:35Z</dc:date>
    </item>
  </channel>
</rss>

