<?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: How to get list of files in root folder or in any folder with API v2 in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-get-list-of-files-in-root-folder-or-in-any-folder-with/m-p/158040#M5352</link>
    <description>&lt;P&gt;This is a bug in version 2.0.3 of the SwiftyDropbox library. Upgrade to the latest version, currently 3.0.0, and try again.&lt;/P&gt;</description>
    <pubDate>Thu, 10 Mar 2016 02:05:43 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2016-03-10T02:05:43Z</dc:date>
    <item>
      <title>How to get list of files in root folder or in any folder with API v2</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-get-list-of-files-in-root-folder-or-in-any-folder-with/m-p/158039#M5351</link>
      <description>&lt;P&gt;Using the example below:&lt;/P&gt;
&lt;PRE&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;client.files.listFolder(path: "").response { response, error in&lt;/PRE&gt;
&lt;PRE&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if let result = response {&lt;/PRE&gt;
&lt;PRE&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; print("Folder contents:")&lt;/PRE&gt;
&lt;PRE&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; for entry in result.entries {&lt;/PRE&gt;
&lt;PRE&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; print(entry.name)&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;returns nothing (or rather nil for the response var), and understanding this represents ROOT folder, and I get this error:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Bad Input: Error in call to API function "files/list_folder": request body: could not decode input as JSON&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;So ... I was able to upload a file, so the token is good, but any list, either files or shared, returns nothing. &amp;nbsp;Guessing something not set correct either in the account or this api ... thanks for your help !&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:35:05 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-get-list-of-files-in-root-folder-or-in-any-folder-with/m-p/158039#M5351</guid>
      <dc:creator>Peter K.23</dc:creator>
      <dc:date>2019-05-29T09:35:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to get list of files in root folder or in any folder with API v2</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-get-list-of-files-in-root-folder-or-in-any-folder-with/m-p/158040#M5352</link>
      <description>&lt;P&gt;This is a bug in version 2.0.3 of the SwiftyDropbox library. Upgrade to the latest version, currently 3.0.0, and try again.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Mar 2016 02:05:43 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-get-list-of-files-in-root-folder-or-in-any-folder-with/m-p/158040#M5352</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-03-10T02:05:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to get list of files in root folder or in any folder with API v2</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-get-list-of-files-in-root-folder-or-in-any-folder-with/m-p/158041#M5353</link>
      <description>&lt;P&gt;Thanks for the update and I have confirmed that v3.0 is working great.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks again.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Mar 2016 18:21:17 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-get-list-of-files-in-root-folder-or-in-any-folder-with/m-p/158041#M5353</guid>
      <dc:creator>Peter K.23</dc:creator>
      <dc:date>2016-03-10T18:21:17Z</dc:date>
    </item>
  </channel>
</rss>

