<?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 API could not decode input as JSON in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-could-not-decode-input-as-JSON/m-p/178555#M7196</link>
    <description>&lt;DIV class="comment-container"&gt;
&lt;DIV class="comment-body markdown"&gt;
&lt;P&gt;LS,&lt;/P&gt;
&lt;P&gt;I'm developing a mobile app with Xamarin and its trivial that Dropbox gets integrated.&lt;/P&gt;
&lt;P&gt;Ref:&amp;nbsp;&lt;A href="https://blogs.dropbox.com/developers/2015/04/a-preview-of-the-new-dropbox-api-v2/" rel="nofollow noreferrer" target="_blank"&gt;https://blogs.dropbox.com/developers/2015/04/a-preview-of-the-new-dropbox-api-v2/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Now "&lt;STRONG&gt;users/get_current_account&lt;/STRONG&gt;" works like a charm, but if i try "&lt;STRONG&gt;/files/list_folder&lt;/STRONG&gt;" with "&lt;STRONG&gt;{\"path\": \"\"}&lt;/STRONG&gt;" as body, the response i get is "&lt;STRONG&gt;Error in call to API function "files/list_folder": request body: could not decode input as JSON&lt;/STRONG&gt;", whilst using fiddler.&lt;/P&gt;
&lt;P&gt;Am i overlooking something (obvious)?&lt;/P&gt;
&lt;P&gt;Can someone give me more info on this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Screenshots:&lt;BR /&gt;200&amp;nbsp;&lt;A href="https://img42.com/wA7gP" rel="nofollow noreferrer" target="_blank"&gt;https://img42.com/wA7gP&lt;/A&gt;&lt;BR /&gt;400&amp;nbsp;&lt;A href="https://img42.com/ufrLJ" rel="nofollow noreferrer" target="_blank"&gt;https://img42.com/ufrLJ&lt;/A&gt;&lt;/P&gt;
&lt;/DIV&gt;
 
&lt;/DIV&gt;
&lt;DIV class="comment-vote vote"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
    <pubDate>Wed, 29 May 2019 09:33:47 GMT</pubDate>
    <dc:creator>Jeff1</dc:creator>
    <dc:date>2019-05-29T09:33:47Z</dc:date>
    <item>
      <title>API could not decode input as JSON</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-could-not-decode-input-as-JSON/m-p/178555#M7196</link>
      <description>&lt;DIV class="comment-container"&gt;
&lt;DIV class="comment-body markdown"&gt;
&lt;P&gt;LS,&lt;/P&gt;
&lt;P&gt;I'm developing a mobile app with Xamarin and its trivial that Dropbox gets integrated.&lt;/P&gt;
&lt;P&gt;Ref:&amp;nbsp;&lt;A href="https://blogs.dropbox.com/developers/2015/04/a-preview-of-the-new-dropbox-api-v2/" rel="nofollow noreferrer" target="_blank"&gt;https://blogs.dropbox.com/developers/2015/04/a-preview-of-the-new-dropbox-api-v2/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Now "&lt;STRONG&gt;users/get_current_account&lt;/STRONG&gt;" works like a charm, but if i try "&lt;STRONG&gt;/files/list_folder&lt;/STRONG&gt;" with "&lt;STRONG&gt;{\"path\": \"\"}&lt;/STRONG&gt;" as body, the response i get is "&lt;STRONG&gt;Error in call to API function "files/list_folder": request body: could not decode input as JSON&lt;/STRONG&gt;", whilst using fiddler.&lt;/P&gt;
&lt;P&gt;Am i overlooking something (obvious)?&lt;/P&gt;
&lt;P&gt;Can someone give me more info on this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Screenshots:&lt;BR /&gt;200&amp;nbsp;&lt;A href="https://img42.com/wA7gP" rel="nofollow noreferrer" target="_blank"&gt;https://img42.com/wA7gP&lt;/A&gt;&lt;BR /&gt;400&amp;nbsp;&lt;A href="https://img42.com/ufrLJ" rel="nofollow noreferrer" target="_blank"&gt;https://img42.com/ufrLJ&lt;/A&gt;&lt;/P&gt;
&lt;/DIV&gt;
 
&lt;/DIV&gt;
&lt;DIV class="comment-vote vote"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Wed, 29 May 2019 09:33:47 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-could-not-decode-input-as-JSON/m-p/178555#M7196</guid>
      <dc:creator>Jeff1</dc:creator>
      <dc:date>2019-05-29T09:33:47Z</dc:date>
    </item>
    <item>
      <title>Re: API could not decode input as JSON</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-could-not-decode-input-as-JSON/m-p/178556#M7197</link>
      <description>&lt;P&gt;Hi Jeff, a few things first:&lt;/P&gt;
&lt;P&gt;- You're calling the beta /2-beta-2/ route. You should update to the stable /2/ route.&lt;/P&gt;
&lt;P&gt;- I can't see the request body view in the second screenshot,&amp;nbsp;can you share one that shows the raw body being sent up?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2016 01:01:53 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-could-not-decode-input-as-JSON/m-p/178556#M7197</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-04-27T01:01:53Z</dc:date>
    </item>
  </channel>
</rss>

