<?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 Dropbox API - files/list_folder : request body: could not decode input as JSON in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API-files-list-folder-request-body-could-not-decode/m-p/335482#M19559</link>
    <description>&lt;P&gt;I have a windows app that creates an HTTP request.&amp;nbsp; When I use apis that don't have arguments, everything works fine, but when I use one that needs arguments in the body like the files/list_folder, I can never get it to work.&amp;nbsp; I'm definitely putting json in there, but for some reason it doesn't recognize.&amp;nbsp; I've tried it as a string and also blob, with and without UTF8 encoding and always get the same error.&amp;nbsp; Here is my ful request as trapped from Fiddler:&lt;BR /&gt;&lt;BR /&gt;POST &lt;A href="https://api.dropboxapi.com/2/files/list_folder" target="_blank"&gt;https://api.dropboxapi.com/2/files/list_folder&lt;/A&gt; HTTP/1.1&lt;BR /&gt;Connection: Keep-Alive&lt;BR /&gt;Content-Type: application/json&lt;BR /&gt;Authorization: Bearer mytoken&lt;BR /&gt;User-Agent: api-explorer-client&lt;BR /&gt;Content-Length: 14&lt;BR /&gt;Host: api.dropboxapi.com&lt;/P&gt;&lt;P&gt;{"path":"/mysharedfolder"}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have also tried it with no folder just "" and same error.&lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2019 09:07:14 GMT</pubDate>
    <dc:creator>KR23</dc:creator>
    <dc:date>2019-05-29T09:07:14Z</dc:date>
    <item>
      <title>Dropbox API - files/list_folder : request body: could not decode input as JSON</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API-files-list-folder-request-body-could-not-decode/m-p/335482#M19559</link>
      <description>&lt;P&gt;I have a windows app that creates an HTTP request.&amp;nbsp; When I use apis that don't have arguments, everything works fine, but when I use one that needs arguments in the body like the files/list_folder, I can never get it to work.&amp;nbsp; I'm definitely putting json in there, but for some reason it doesn't recognize.&amp;nbsp; I've tried it as a string and also blob, with and without UTF8 encoding and always get the same error.&amp;nbsp; Here is my ful request as trapped from Fiddler:&lt;BR /&gt;&lt;BR /&gt;POST &lt;A href="https://api.dropboxapi.com/2/files/list_folder" target="_blank"&gt;https://api.dropboxapi.com/2/files/list_folder&lt;/A&gt; HTTP/1.1&lt;BR /&gt;Connection: Keep-Alive&lt;BR /&gt;Content-Type: application/json&lt;BR /&gt;Authorization: Bearer mytoken&lt;BR /&gt;User-Agent: api-explorer-client&lt;BR /&gt;Content-Length: 14&lt;BR /&gt;Host: api.dropboxapi.com&lt;/P&gt;&lt;P&gt;{"path":"/mysharedfolder"}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have also tried it with no folder just "" and same error.&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:07:14 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API-files-list-folder-request-body-could-not-decode/m-p/335482#M19559</guid>
      <dc:creator>KR23</dc:creator>
      <dc:date>2019-05-29T09:07:14Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox API - files/list_folder : request body: could not decode input as JSON</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API-files-list-folder-request-body-could-not-decode/m-p/335717#M19563</link>
      <description>&lt;P&gt;Ok I figured out what was wrong.&amp;nbsp; I needed to use a UTF8 blob not string in my request.SetBody.&amp;nbsp; I guess I never tried the blob as UTF8 only ansi.&amp;nbsp; Anyway, I'm all set now.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2019 14:08:49 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API-files-list-folder-request-body-could-not-decode/m-p/335717#M19563</guid>
      <dc:creator>KR23</dc:creator>
      <dc:date>2019-03-25T14:08:49Z</dc:date>
    </item>
  </channel>
</rss>

