<?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: refresh token in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/refresh-token/m-p/674650#M30421</link>
    <description>&lt;P&gt;It looks like the issue is that the command is formatted for curl, but 'curl' on your system is actually running Invoke-WebRequest. You can find information and a solution in the following posts:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Issue-in-generating-access-token/m-p/618059/highlight/true#M28456" target="_blank"&gt;https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Issue-in-generating-access-token/m-p/618059/highlight/true#M28456&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://stackoverflow.com/questions/52337101/curl-error-parameter-cannot-be-processed-because-the-parameter-name-u-is-ambi" target="_blank"&gt;https://stackoverflow.com/questions/52337101/curl-error-parameter-cannot-be-processed-because-the-parameter-name-u-is-ambi&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
    <pubDate>Wed, 05 Apr 2023 17:29:33 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2023-04-05T17:29:33Z</dc:date>
    <item>
      <title>refresh token</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/refresh-token/m-p/674644#M30420</link>
      <description>&lt;P&gt;Greetings everyone just gonna copy and paste this here the letters in blue is where im having issues the output i will put in red can someone please help :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;**Configure your Dropbox application**&lt;/P&gt;
&lt;P&gt;- Create a Dropbox account.&lt;BR /&gt;- [Create a Dropbox "App"](&lt;A href="https://www.dropbox.com/developers/apps/create" target="_blank" rel="noopener"&gt;https://www.dropbox.com/developers/apps/create&lt;/A&gt;) with a "Scoped access" API and a "Full Dropbox" acces&amp;gt; - Go to the settings of this app and write down your "App key" and "App secret".&lt;BR /&gt;*These are your "&amp;lt;APP_KEY&amp;gt;" and "&amp;lt;APP_SECRET&amp;gt;".*&lt;BR /&gt;- Next, go to the "Permissions" tab and enable the "files.metadata.write" and "files.content.write" permissions.&lt;BR /&gt;- After that, open this link in your browser *(values between brackets must be changed)*.&lt;BR /&gt;```&lt;BR /&gt;&lt;A href="https://www.dropbox.com/oauth2/authorize?client_id=" target="_blank" rel="noopener"&gt;https://www.dropbox.com/oauth2/authorize?client_id=&lt;/A&gt;&amp;lt;APP_KEY&amp;gt;&amp;amp;token_access_type=offline&amp;amp;response_type=code&lt;BR /&gt;```&lt;BR /&gt;- Connect your application, allow its permissions, and note the code it gives you.&lt;BR /&gt;*This is your "&amp;lt;APP_CODE&amp;gt;".*&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;- Open a command prompt and run this command *(values between brackets must be changed)*.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;```&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;curl &lt;A href="https://api.dropbox.com/oauth2/token" target="_blank" rel="noopener"&gt;https://api.dropbox.com/oauth2/token&lt;/A&gt; -d code=&amp;lt;APP_CODE&amp;gt; -d grant_type=authorization_code -u &amp;lt;APP_KEY&amp;gt;:&amp;lt;APP_SECRET&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;```&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;- Note the "refresh_token" value of the result.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;*This is your "&amp;lt;REFRESH_TOKEN&amp;gt;".*&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;Invoke-WebRequest : Parameter cannot be processed because the parameter name 'u' is ambiguous. Possible matches include:&lt;BR /&gt;-UseBasicParsing -Uri -UseDefaultCredentials -UserAgent.&lt;BR /&gt;At line:1 char:129&lt;BR /&gt;+ ... AAFZweC4ck6XN_KBdSolmpzkI -d grant_type=authorization_code -u 5u3fux9 ...&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;or:&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;curl: (35) Recv failure: Connection reset by peer&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2023 17:49:47 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/refresh-token/m-p/674644#M30420</guid>
      <dc:creator>safe</dc:creator>
      <dc:date>2023-04-05T17:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: refresh token</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/refresh-token/m-p/674650#M30421</link>
      <description>&lt;P&gt;It looks like the issue is that the command is formatted for curl, but 'curl' on your system is actually running Invoke-WebRequest. You can find information and a solution in the following posts:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Issue-in-generating-access-token/m-p/618059/highlight/true#M28456" target="_blank"&gt;https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Issue-in-generating-access-token/m-p/618059/highlight/true#M28456&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://stackoverflow.com/questions/52337101/curl-error-parameter-cannot-be-processed-because-the-parameter-name-u-is-ambi" target="_blank"&gt;https://stackoverflow.com/questions/52337101/curl-error-parameter-cannot-be-processed-because-the-parameter-name-u-is-ambi&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Wed, 05 Apr 2023 17:29:33 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/refresh-token/m-p/674650#M30421</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2023-04-05T17:29:33Z</dc:date>
    </item>
  </channel>
</rss>

