<?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: getting shared_folder_id in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/getting-shared-folder-id/m-p/489292#M24498</link>
    <description>&lt;P&gt;The 'missing_scope' error indicates that while the app is permitted to use that scope, the particular access token you're using to make the API call does not have that scope granted. Also, be aware that just adding a scope to your app via the App Console does not retroactively grant that scope to existing access tokens.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That being the case, to make any API calls that require that scope, you'll need to get a new access token with that scope. Please refer to &lt;A href="https://www.dropbox.com/lp/developers/reference/oauth-guide" target="_self"&gt;the OAuth Guide&lt;/A&gt; and &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#authorization" target="_self"&gt;authorization documentation&lt;/A&gt; for more information.&lt;/P&gt;</description>
    <pubDate>Thu, 21 Jan 2021 20:23:29 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2021-01-21T20:23:29Z</dc:date>
    <item>
      <title>getting shared_folder_id</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/getting-shared-folder-id/m-p/489291#M24497</link>
      <description>&lt;P&gt;hey guys im trying to get shared_folder_id from the API and im using the below&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;$ch = curl_init();&lt;BR /&gt;curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);&lt;BR /&gt;curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST");&lt;BR /&gt;curl_setopt($ch, CURLOPT_HTTPHEADER, array('Authorization: Bearer ' . $auth_token, 'Content-Type: application/json'));&lt;BR /&gt;//curl_setopt($ch, CURLOPT_POSTFIELDS,json_encode($fields));&lt;BR /&gt;curl_setopt($ch, CURLOPT_URL, '&lt;A href="https://api.dropboxapi.com/2/sharing/list_folders" target="_blank" rel="noopener"&gt;https://api.dropboxapi.com/2/sharing/list_folders&lt;/A&gt;');&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;try{&lt;BR /&gt;$result = curl_exec($ch);&lt;BR /&gt;} catch (Exception $e) {&lt;BR /&gt;echo 'Exception reçue : ', $e-&amp;gt;getMessage(), "\n";&lt;BR /&gt;}&lt;BR /&gt;var_dump($result);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;however all i get is :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Array ( [error_summary] =&amp;gt; missing_scope/ [error] =&amp;gt; Array ( [.tag] =&amp;gt; missing_scope [required_scope] =&amp;gt; sharing.read ) )&lt;/SPAN&gt;&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;
&lt;P&gt;&lt;SPAN&gt;despite the app having&amp;nbsp;sharing.read enabled&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;thanks !&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2021 20:26:50 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/getting-shared-folder-id/m-p/489291#M24497</guid>
      <dc:creator>emeraldmedia</dc:creator>
      <dc:date>2021-01-21T20:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: getting shared_folder_id</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/getting-shared-folder-id/m-p/489292#M24498</link>
      <description>&lt;P&gt;The 'missing_scope' error indicates that while the app is permitted to use that scope, the particular access token you're using to make the API call does not have that scope granted. Also, be aware that just adding a scope to your app via the App Console does not retroactively grant that scope to existing access tokens.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That being the case, to make any API calls that require that scope, you'll need to get a new access token with that scope. Please refer to &lt;A href="https://www.dropbox.com/lp/developers/reference/oauth-guide" target="_self"&gt;the OAuth Guide&lt;/A&gt; and &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#authorization" target="_self"&gt;authorization documentation&lt;/A&gt; for more information.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2021 20:23:29 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/getting-shared-folder-id/m-p/489292#M24498</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2021-01-21T20:23:29Z</dc:date>
    </item>
  </channel>
</rss>

