<?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: API Call using Integromat returns error in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-Call-using-Integromat-returns-error/m-p/564315#M26530</link>
    <description>&lt;P&gt;Hey &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/422790"&gt;@Здравко&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;thanks for the hint. I was using the /share_folder call on a folder that was created by another team member and in it the call was supposed to create a folder called 'test'. I wanted to take this out of the equation for now as it might be fixed if I give the Integromat app more permissions in the dropbox but I can't access those preferences right now.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So what I did to test the actual API call is I went into the root folder (a folder I most definetely own) and executed the program. I do get a new error here (which I would say is a success!) and it reads: "&lt;SPAN&gt;[400] Error in call to API function "sharing/share_folder": request body: could not decode input as JSON". Did I do something wrong in the body of the call?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's my input:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;URL&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;/2/sharing/share_folder&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;Body&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;{&amp;nbsp; &amp;nbsp; "path": "/not a machine cloud/test",&amp;nbsp; &amp;nbsp; "acl_update_policy": "editors",&amp;nbsp; &amp;nbsp; "force_async": false,&amp;nbsp; &amp;nbsp; "member_policy": "team",&amp;nbsp; &amp;nbsp; "shared_link_policy": "members",&amp;nbsp; &amp;nbsp; "access_inheritance": "no_inherit"}&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;Dropbox API Endpoint&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;api&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;Method&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;POST&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;--&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;Headers:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;Key&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;Content-Type&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;Value&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;application/json&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;--&lt;BR /&gt;Disable Dropbox API Path Root&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;false&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;Thanks for all your help!&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 15 Dec 2021 11:35:27 GMT</pubDate>
    <dc:creator>Leon_NAM</dc:creator>
    <dc:date>2021-12-15T11:35:27Z</dc:date>
    <item>
      <title>API Call using Integromat returns error</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-Call-using-Integromat-returns-error/m-p/561702#M26473</link>
      <description>&lt;P&gt;Hey there,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to create an automated API Call to our company's Dropbox that creates a folder with only select user groups having access. To do that I am using the Dropbox "Make an API Call"-module in Integromat and "&lt;SPAN&gt;/share_folder". I have tested it both with a path that is an existing folder and with one that would create a new folder but every time I run the operation I get the error "&lt;/SPAN&gt;The operation failed with an error. [401] missing_scope/".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am an absolute beginner with this stuff but after doing some reading on this forum I suspect that the connection to Dropbox is read-only. Especially since API Calls like get_metadata or list_folders work just fine. What I am wondering is: How do I find out what kinds of permissions an app that is authorized within Dropbox has (Integromat in this case)? Should I ditch the pre-made module and just make the call using the generic HTTP modules?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is the full input I am giving the module:&lt;/P&gt;
&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=""&gt;&lt;U&gt;URL&lt;/U&gt;: /2/sharing/share_folder (relative to &lt;A href="https://api.dropboxapi.com" target="_blank" rel="noopener"&gt;&lt;SPAN class=""&gt;https://api.dropboxapi.com&lt;/SPAN&gt;&lt;/A&gt;)&lt;/P&gt;
&lt;P class=""&gt;&lt;U&gt;Body&lt;/U&gt;: {&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;"path": "/not a machine cloud/projekte/2021/21012 - casefilm google barklaycard - acht - jm/test",&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;"acl_update_policy": "editors",&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;"force_async": false,&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;"member_policy": "team",&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;"shared_link_policy": "members",&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;"access_inheritance": "inherit"&lt;/P&gt;
&lt;P class=""&gt;}&lt;/P&gt;
&lt;P class=""&gt;&lt;U&gt;Dropbox API Endpoint&lt;/U&gt;: api&lt;/P&gt;
&lt;P class=""&gt;&lt;U&gt;Method&lt;/U&gt;: POST&lt;/P&gt;
&lt;P class=""&gt;&lt;U&gt;Headers&lt;/U&gt;:&lt;/P&gt;
&lt;P class=""&gt;Key: Content-Type&lt;/P&gt;
&lt;P class=""&gt;Value: application/json&lt;/P&gt;
&lt;P class=""&gt;&lt;U&gt;Disable Dropbox API Path Root&lt;/U&gt;: false&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks a lot in advance!&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Leon&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Dec 2021 11:52:24 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-Call-using-Integromat-returns-error/m-p/561702#M26473</guid>
      <dc:creator>Leon_NAM</dc:creator>
      <dc:date>2021-12-01T11:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: API Call using Integromat returns error</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-Call-using-Integromat-returns-error/m-p/561727#M26474</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1497696"&gt;@Leon_NAM&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;... I am using the Dropbox "Make an API Call"-module in Integromat and "&lt;SPAN&gt;/share_folder". I have tested it both with a path that is an existing folder and with one that would create a new folder but every time I run the operation I get the error "&lt;/SPAN&gt;The operation failed with an error. [401] missing_scope/".&lt;P&gt;...&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Hi &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1497696"&gt;@Leon_NAM&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Your call (the &lt;A title="Share a folder with collaborators" href="https://www.dropbox.com/developers/documentation/http/documentation#sharing-share_folder" target="_blank" rel="noopener"&gt;2/sharing/share_folder&lt;/A&gt; call) requires "sharing.write" scope enabled to your application. Have you enabled it? 🧐&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1497696"&gt;@Leon_NAM&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;.... Especially since API Calls like get_metadata or list_folders work just fine. What I am wondering is: How do I find out what kinds of permissions an app that is authorized within Dropbox has (Integromat in this case)? ...&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Call &lt;A title="Returns the metadata for a file or folder" href="https://www.dropbox.com/developers/documentation/http/documentation#files-get_metadata" target="_blank" rel="noopener"&gt;2/files/get_metadata&lt;/A&gt; required scope is "files.metadata.read". Call &lt;A title="Return the list of all shared folders the current user has access to" href="https://www.dropbox.com/developers/documentation/http/documentation#sharing-list_folders" target="_blank" rel="noopener"&gt;2/sharing/list_folders&lt;/A&gt; required scope is "sharing.read". All points you're mentioning have different scopes. You can see those scopes in the documentation (follow the links). According to the described by you, your application has "files.metadata.read" and "sharing.read" scopes, but missing the "sharing.write" one (and probably others too)! Check all your calls required scopes and make sure they are on for the application. &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@41457EF40051AFF130FDBFE21B496926/emoticons/1f609.png" alt=":winking_face:" title=":winking_face:" /&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Dec 2021 13:28:05 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-Call-using-Integromat-returns-error/m-p/561727#M26474</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2021-12-01T13:28:05Z</dc:date>
    </item>
    <item>
      <title>Re: API Call using Integromat returns error</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-Call-using-Integromat-returns-error/m-p/561741#M26476</link>
      <description>&lt;P&gt;Hey there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for the detailed reply! Now I definetely understand why it's throwing an error. I am not making the app however it is a web-based integration software (&lt;A href="https://www.integromat.com/" target="_blank" rel="noopener"&gt;https://www.integromat.com/&lt;/A&gt;) so it looks like the problem is that their app doesn't request "enough" access when you connect it to Dropbox.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;UPDATE: I made some progress. The problem here is that integromat doesn't ask for the extended permissions until it needs them for one of the Dropbox preset modules they offer. As soon as you try to use one of them (e.g. Create Folder) it allows you to update the permissions of the app. It's a bit cumbersome but it might have worked (now I am getting a 409 instead of a 401 error which is probably due to missing permissions my account has)&lt;/P&gt;</description>
      <pubDate>Wed, 01 Dec 2021 14:32:40 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-Call-using-Integromat-returns-error/m-p/561741#M26476</guid>
      <dc:creator>Leon_NAM</dc:creator>
      <dc:date>2021-12-01T14:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: API Call using Integromat returns error</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-Call-using-Integromat-returns-error/m-p/561767#M26478</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1497696"&gt;@Leon_NAM&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;... now I am getting a 409 instead of a 401 error which is probably due to missing permissions my account has)&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;HTTP status code isn't enough for reason conclusion. Pay attention on error text (as you did within OP)! There you can see the exact error text and probably precise error description (or direction to, at least).&lt;/P&gt;</description>
      <pubDate>Wed, 01 Dec 2021 16:42:13 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-Call-using-Integromat-returns-error/m-p/561767#M26478</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2021-12-01T16:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: API Call using Integromat returns error</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-Call-using-Integromat-returns-error/m-p/561769#M26479</link>
      <description>&lt;P&gt;That's correct, a "missing_scope" error indicates that the access token being used isn't authorized with the particular scope needed to access that endpoint, and so the call is not allowed. You'd instead need to get an access token with that scope authorized.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A 409 error would indicate a different kind of endpoint-specific error. You should check the response body for more specific error information.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Dec 2021 16:47:48 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-Call-using-Integromat-returns-error/m-p/561769#M26479</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2021-12-01T16:47:48Z</dc:date>
    </item>
    <item>
      <title>Re: API Call using Integromat returns error</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-Call-using-Integromat-returns-error/m-p/562623#M26494</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for the replies. You are both right of course. Just saying "there is a&amp;nbsp;&lt;SPAN&gt;[409] no_permission/.. error" is hardly enough information to go on. Sadly integromat does not supply any further information on the error...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My input is the same as last time:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;URL&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;/2/sharing/share_folder&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;Body&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;{ "path": "/not a machine cloud/projekte/2021/21012 - casefilm google barklaycard - acht - jm/test", "acl_update_policy": "editors", "force_async": false, "member_policy": "team", "shared_link_policy": "members", "access_inheritance": "no_inherit" }&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;Dropbox API Endpoint&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;api&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;Method&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;POST&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;Headers&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;Key&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;Content-Type&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;Value&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;application/json&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;Disable Dropbox API Path Root&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;false&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;SPAN&gt;Any idea where I could start looking to get to the bottom of this?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Dec 2021 11:35:13 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-Call-using-Integromat-returns-error/m-p/562623#M26494</guid>
      <dc:creator>Leon_NAM</dc:creator>
      <dc:date>2021-12-06T11:35:13Z</dc:date>
    </item>
    <item>
      <title>Re: API Call using Integromat returns error</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-Call-using-Integromat-returns-error/m-p/562645#M26495</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1497696"&gt;@Leon_NAM&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;.... Just saying "there is a&amp;nbsp;&lt;SPAN&gt;[409] no_permission/.. error" ...&lt;/SPAN&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Hi &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1497696"&gt;@Leon_NAM&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Yes, sometimes the error message isn't too verbose. 🤷 It's clear&amp;nbsp;though that some permissions are missing. Do you able to share the same folder, using web interface, in context of the same account? &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@9AD39CA637682E9616FBE31CDAF1B6C4/emoticons/1f914.png" alt=":thinking_face:" title=":thinking_face:" /&gt; Are you (as account) the folder owner? Do you have rights to do that? Is some other shared folder within the one you are trying to share or does 'test' folder reside within a shared folder?&lt;/P&gt;</description>
      <pubDate>Mon, 06 Dec 2021 13:41:24 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-Call-using-Integromat-returns-error/m-p/562645#M26495</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2021-12-06T13:41:24Z</dc:date>
    </item>
    <item>
      <title>Re: API Call using Integromat returns error</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-Call-using-Integromat-returns-error/m-p/564315#M26530</link>
      <description>&lt;P&gt;Hey &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/422790"&gt;@Здравко&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;thanks for the hint. I was using the /share_folder call on a folder that was created by another team member and in it the call was supposed to create a folder called 'test'. I wanted to take this out of the equation for now as it might be fixed if I give the Integromat app more permissions in the dropbox but I can't access those preferences right now.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So what I did to test the actual API call is I went into the root folder (a folder I most definetely own) and executed the program. I do get a new error here (which I would say is a success!) and it reads: "&lt;SPAN&gt;[400] Error in call to API function "sharing/share_folder": request body: could not decode input as JSON". Did I do something wrong in the body of the call?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's my input:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;URL&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;/2/sharing/share_folder&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;Body&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;{&amp;nbsp; &amp;nbsp; "path": "/not a machine cloud/test",&amp;nbsp; &amp;nbsp; "acl_update_policy": "editors",&amp;nbsp; &amp;nbsp; "force_async": false,&amp;nbsp; &amp;nbsp; "member_policy": "team",&amp;nbsp; &amp;nbsp; "shared_link_policy": "members",&amp;nbsp; &amp;nbsp; "access_inheritance": "no_inherit"}&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;Dropbox API Endpoint&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;api&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;Method&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;POST&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;--&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;Headers:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;Key&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;Content-Type&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;Value&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;application/json&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;--&lt;BR /&gt;Disable Dropbox API Path Root&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;false&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;Thanks for all your help!&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Dec 2021 11:35:27 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-Call-using-Integromat-returns-error/m-p/564315#M26530</guid>
      <dc:creator>Leon_NAM</dc:creator>
      <dc:date>2021-12-15T11:35:27Z</dc:date>
    </item>
    <item>
      <title>Re: API Call using Integromat returns error</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-Call-using-Integromat-returns-error/m-p/564412#M26532</link>
      <description>&lt;P&gt;A "request body: could not decode input as JSON" should indicate that the request body the app is sending is not valid JSON, and so could not be parsed by the Dropbox API server as the parameters for the call. The body you showed here appears to be valid JSON though, and I can't reproduce the issue using it; can you double check that that's the exact value your client is sending? It may help to enable verbose output showing the actual raw HTTP request you're sending, if possible.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Dec 2021 18:53:26 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-Call-using-Integromat-returns-error/m-p/564412#M26532</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2021-12-15T18:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: API Call using Integromat returns error</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-Call-using-Integromat-returns-error/m-p/564540#M26535</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/10"&gt;@Greg-DB&lt;/a&gt;&amp;nbsp;thanks for your response! I have decided to ditch the premade module and go for the regular "HTTP - Make an OAuth 2.0 request" module to try to make this call. This one actually gives me the same error but a lot more information on the input and output so here it goes (in place of &amp;lt;OAuth Code&amp;gt; I have put my token from the app console) :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Input:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;[
    {
        "ca": null,
        "qs": [],
        "url": "https://api.dropboxapi.com/2/sharing/share_folder",
        "data": "{&amp;nbsp; &amp;nbsp; \"path\": \"/not a machine cloud/test\",&amp;nbsp; &amp;nbsp; \"acl_update_policy\": \"editors\",&amp;nbsp; &amp;nbsp; \"force_async\": false,&amp;nbsp; &amp;nbsp; \"member_policy\": \"team\",&amp;nbsp; &amp;nbsp; \"shared_link_policy\": \"members\",&amp;nbsp; &amp;nbsp; \"access_inheritance\": \"no_inherit\"}",
        "gzip": true,
        "method": "post",
        "headers": [
            {
                "name": "Authorization",
                "value": "Bearer &amp;lt;OAuth Code&amp;gt;"
            }
        ],
        "timeout": null,
        "useMtls": false,
        "bodyType": "raw",
        "contentType": "application/json",
        "serializeUrl": false,
        "shareCookies": false,
        "parseResponse": false,
        "followRedirect": true,
        "useQuerystring": false,
        "followAllRedirects": false,
        "rejectUnauthorized": true
    }&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Output:&lt;/P&gt;&lt;PRE&gt;[
    {
        "statusCode": 400,
        "headers": [
            {
                "name": "cache-control",
                "value": "no-cache"
            },
            {
                "name": "content-security-policy",
                "value": "sandbox allow-forms allow-scripts"
            },
            {
                "name": "x-content-type-options",
                "value": "nosniff"
            },
            {
                "name": "content-type",
                "value": "text/plain; charset=utf-8"
            },
            {
                "name": "accept-encoding",
                "value": "identity,gzip"
            },
            {
                "name": "date",
                "value": "Thu, 16 Dec 2021 12:48:46 GMT"
            },
            {
                "name": "server",
                "value": "envoy"
            },
            {
                "name": "content-length",
                "value": "98"
            },
            {
                "name": "x-dropbox-response-origin",
                "value": "far_remote"
            },
            {
                "name": "x-dropbox-request-id",
                "value": "66fdbaa00e7f4eccbc5f1d3d78199118"
            },
            {
                "name": "connection",
                "value": "close"
            }
        ],
        "cookieHeaders": [],
        "data": "Error in call to API function \"sharing/share_folder\": request body: could not decode input as JSON",
        "fileSize": 98
    }
]&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Dec 2021 12:56:06 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-Call-using-Integromat-returns-error/m-p/564540#M26535</guid>
      <dc:creator>Leon_NAM</dc:creator>
      <dc:date>2021-12-16T12:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: API Call using Integromat returns error</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-Call-using-Integromat-returns-error/m-p/564544#M26536</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1497696"&gt;@Leon_NAM&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;Input:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;...
        "gzip": true,
...&lt;/PRE&gt;&lt;P&gt;...&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Hi &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1497696"&gt;@Leon_NAM&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;You are using gzip encoding in your request. Dropbox API uses flat requests parameters (including passed as body) and any type of encoding can confuse it. Do you able forbid the encodings for all Dropbox API requests? 🧐&lt;/P&gt;&lt;P&gt;Let's see if this can help.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Dec 2021 13:27:31 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-Call-using-Integromat-returns-error/m-p/564544#M26536</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2021-12-16T13:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: API Call using Integromat returns error</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-Call-using-Integromat-returns-error/m-p/564556#M26537</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/422790"&gt;@Здравко&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I tried that but it returns the same error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Input:&lt;/P&gt;&lt;LI-CODE lang="php"&gt;[
    {
        "ca": null,
        "qs": [],
        "url": "https://api.dropboxapi.com/2/sharing/share_folder",
        "data": "{    \"path\": \"/not a machine cloud/test\",    \"acl_update_policy\": \"editors\",    \"force_async\": false,    \"member_policy\": \"team\",    \"shared_link_policy\": \"members\",    \"access_inheritance\": \"no_inherit\"}",
        "gzip": false,
        "method": "post",
        "headers": [
            {
                "name": "Authorization",
                "value": "Bearer &amp;lt;OAuth 2.0 Token&amp;gt;"
            }
        ],
        "timeout": null,
        "useMtls": false,
        "bodyType": "raw",
        "contentType": "application/json",
        "serializeUrl": false,
        "shareCookies": false,
        "parseResponse": false,
        "followRedirect": true,
        "useQuerystring": false,
        "followAllRedirects": false,
        "rejectUnauthorized": true
    }
]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Output:&lt;/P&gt;&lt;LI-CODE lang="php"&gt;[
    {
        "statusCode": 400,
        "headers": [
            {
                "name": "cache-control",
                "value": "no-cache"
            },
            {
                "name": "content-security-policy",
                "value": "sandbox allow-forms allow-scripts"
            },
            {
                "name": "x-content-type-options",
                "value": "nosniff"
            },
            {
                "name": "content-type",
                "value": "text/plain; charset=utf-8"
            },
            {
                "name": "accept-encoding",
                "value": "identity,gzip"
            },
            {
                "name": "date",
                "value": "Thu, 16 Dec 2021 14:25:52 GMT"
            },
            {
                "name": "server",
                "value": "envoy"
            },
            {
                "name": "content-length",
                "value": "98"
            },
            {
                "name": "x-dropbox-response-origin",
                "value": "far_remote"
            },
            {
                "name": "x-dropbox-request-id",
                "value": "315f864799fa46c7a4c30fab485af071"
            },
            {
                "name": "connection",
                "value": "close"
            }
        ],
        "cookieHeaders": [],
        "data": "Error in call to API function \"sharing/share_folder\": request body: could not decode input as JSON",
        "fileSize": 98
    }
]&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 16 Dec 2021 14:31:37 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-Call-using-Integromat-returns-error/m-p/564556#M26537</guid>
      <dc:creator>Leon_NAM</dc:creator>
      <dc:date>2021-12-16T14:31:37Z</dc:date>
    </item>
    <item>
      <title>Re: API Call using Integromat returns error</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-Call-using-Integromat-returns-error/m-p/564563#M26538</link>
      <description>&lt;P&gt;Hmm... In such a case, since you can not post the flat HTTP request as &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/10"&gt;@Greg-DB&lt;/a&gt; asked for, I can't say something more.&lt;/P&gt;&lt;P&gt;Anyway... Here are "x-dropbox-request-id" values and let's hope &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/10"&gt;@Greg-DB&lt;/a&gt; will be able trace what's there.&lt;/P&gt;&lt;P&gt;Good luck, &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1497696"&gt;@Leon_NAM&lt;/a&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Dec 2021 14:48:11 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-Call-using-Integromat-returns-error/m-p/564563#M26538</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2021-12-16T14:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: API Call using Integromat returns error</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-Call-using-Integromat-returns-error/m-p/564606#M26541</link>
      <description>&lt;P&gt;Unfortunately I don't have more specific error information add here beyond the message that the parsing failed. The data shown here does appear to be valid JSON, but it's unclear if/how this may be being transformed when being set in the actual HTTPS request being sent. When I try this value myself with this endpoint just using curl I do not get this error, so it does some it's getting malformed by the client somehow. The best way to debug this would be to print out the actual request being sent.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I presume the \ characters are just to escape the quotes and are not being sent to the API, but that may be good to verify. Likewise, the extra whitespace shouldn't matter, but it may be useful to remove it to eliminate that as a potential issue.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Dec 2021 18:28:18 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-Call-using-Integromat-returns-error/m-p/564606#M26541</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2021-12-16T18:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: API Call using Integromat returns error</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-Call-using-Integromat-returns-error/m-p/564755#M26542</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/10"&gt;@Greg-DB&lt;/a&gt;&amp;nbsp; and&amp;nbsp;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/422790"&gt;@Здравко&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;you're right it's all a bit pointless when we don't know what the flat HTTPS request is exactly. I suspect there's something weird happening on Integromat's side of things as well. I have reached out to their support and am awaiting response. I will post here once they tell me what they think the issue is. Until then: Thanks and have a good one!&lt;/P&gt;</description>
      <pubDate>Fri, 17 Dec 2021 14:31:04 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-Call-using-Integromat-returns-error/m-p/564755#M26542</guid>
      <dc:creator>Leon_NAM</dc:creator>
      <dc:date>2021-12-17T14:31:04Z</dc:date>
    </item>
  </channel>
</rss>

