<?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 GET /1/oauth/request_token  return 400 error in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/GET-1-oauth-request-token-return-400-error/m-p/244160#M13691</link>
    <description>&lt;P&gt;when I use the API to get token.&amp;nbsp; The dropbox server return 400 error.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;The request : GET /1/oauth/request_token HTTP/1.1&lt;/P&gt;
&lt;P&gt;&amp;nbsp; The response: &amp;nbsp;HTTP/1.1 400 Bad Request&lt;BR /&gt;&amp;lt; Server: nginx&lt;BR /&gt;&amp;lt; Date: Fri, 29 Sep 2017 07:01:25 GMT&lt;BR /&gt;&amp;lt; Content-Type: application/json&lt;BR /&gt;&amp;lt; Transfer-Encoding: chunked&lt;BR /&gt;&amp;lt; Connection: keep-alive&lt;BR /&gt;&amp;lt; X-Dropbox-Request-Id: 60ddb4f73f25ea5afbf18d538654ef61&lt;BR /&gt;&amp;lt; X-Frame-Options: DENY&lt;BR /&gt;&amp;lt; Content-Security-Policy: sandbox; frame-ancestors 'none'&lt;BR /&gt;&amp;lt; X-Content-Type-Options: nosniff&lt;BR /&gt;&amp;lt; Content-Disposition: attachment; filename='error'&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is the oauth 1 expired ?&lt;/P&gt;
&lt;P&gt;The&amp;nbsp; API doc said : (&lt;A href="https://www.dropbox.com/developers-v1/core/docs" target="_blank"&gt;https://www.dropbox.com/developers-v1/core/docs&lt;/A&gt;)&lt;/P&gt;
&lt;P&gt;OAuth 1.0 continues to be supported for all API requests, but &lt;A href="https://www.dropbox.com/developers-v1/core/docs#oauth2-methods" target="_blank"&gt;OAuth 2.0&lt;/A&gt; is now preferred. Find out more in our &lt;A href="https://www.dropbox.com/developers-v1/reference/oauthguide" target="_blank"&gt;OAuth guide&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;so, I don't know why.&amp;nbsp;&amp;nbsp; last week the process is ok .&lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2019 09:18:56 GMT</pubDate>
    <dc:creator>blink</dc:creator>
    <dc:date>2019-05-29T09:18:56Z</dc:date>
    <item>
      <title>GET /1/oauth/request_token  return 400 error</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/GET-1-oauth-request-token-return-400-error/m-p/244160#M13691</link>
      <description>&lt;P&gt;when I use the API to get token.&amp;nbsp; The dropbox server return 400 error.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;The request : GET /1/oauth/request_token HTTP/1.1&lt;/P&gt;
&lt;P&gt;&amp;nbsp; The response: &amp;nbsp;HTTP/1.1 400 Bad Request&lt;BR /&gt;&amp;lt; Server: nginx&lt;BR /&gt;&amp;lt; Date: Fri, 29 Sep 2017 07:01:25 GMT&lt;BR /&gt;&amp;lt; Content-Type: application/json&lt;BR /&gt;&amp;lt; Transfer-Encoding: chunked&lt;BR /&gt;&amp;lt; Connection: keep-alive&lt;BR /&gt;&amp;lt; X-Dropbox-Request-Id: 60ddb4f73f25ea5afbf18d538654ef61&lt;BR /&gt;&amp;lt; X-Frame-Options: DENY&lt;BR /&gt;&amp;lt; Content-Security-Policy: sandbox; frame-ancestors 'none'&lt;BR /&gt;&amp;lt; X-Content-Type-Options: nosniff&lt;BR /&gt;&amp;lt; Content-Disposition: attachment; filename='error'&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is the oauth 1 expired ?&lt;/P&gt;
&lt;P&gt;The&amp;nbsp; API doc said : (&lt;A href="https://www.dropbox.com/developers-v1/core/docs" target="_blank"&gt;https://www.dropbox.com/developers-v1/core/docs&lt;/A&gt;)&lt;/P&gt;
&lt;P&gt;OAuth 1.0 continues to be supported for all API requests, but &lt;A href="https://www.dropbox.com/developers-v1/core/docs#oauth2-methods" target="_blank"&gt;OAuth 2.0&lt;/A&gt; is now preferred. Find out more in our &lt;A href="https://www.dropbox.com/developers-v1/reference/oauthguide" target="_blank"&gt;OAuth guide&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;so, I don't know why.&amp;nbsp;&amp;nbsp; last week the process is ok .&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:18:56 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/GET-1-oauth-request-token-return-400-error/m-p/244160#M13691</guid>
      <dc:creator>blink</dc:creator>
      <dc:date>2019-05-29T09:18:56Z</dc:date>
    </item>
    <item>
      <title>Re: GET /1/oauth/request_token  return 400 error</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/GET-1-oauth-request-token-return-400-error/m-p/244242#M13710</link>
      <description>&lt;P&gt;Yes, as announced last year, API v1 has been retired. You can find more information in the blog post here:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.dropbox.com/developers/2016/06/api-v1-deprecated/" target="_blank"&gt;https://blogs.dropbox.com/developers/2016/06/api-v1-deprecated/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We notified developers by email, but it sounds like those emails unfortunately did not make it to you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;OAuth 1 was only used by API v1, so it has been retired along with API v1.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now that API v1 has been retired, further API calls to it will fail. (There is a notice about the general API v1 deprecation at the top of the API v1 documentation.)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You should migrate your app to API v2 instead:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dropbox.com/developers" target="_blank"&gt;https://www.dropbox.com/developers&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;API v2 uses OAuth 2, which is documented here:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#authorization" target="_blank"&gt;https://www.dropbox.com/developers/documentation/http/documentation#authorization&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you need more time to migrate your app to API v2, we can offer an extension for access to API v1. To request that, please open an API ticket with the relevant app key(s):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dropbox.com/developers/contact" target="_blank"&gt;https://www.dropbox.com/developers/contact&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2017 14:28:10 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/GET-1-oauth-request-token-return-400-error/m-p/244242#M13710</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-09-29T14:28:10Z</dc:date>
    </item>
    <item>
      <title>Re: GET /1/oauth/request_token  return 400 error</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/GET-1-oauth-request-token-return-400-error/m-p/244349#M13745</link>
      <description>&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thanks for your reply!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; we use V1 oauth , and use API V2 to upload files.&amp;nbsp;&amp;nbsp; this model is ok.&amp;nbsp;&amp;nbsp;&amp;nbsp; The user input dropbox username and password to&amp;nbsp; get &lt;SPAN class="short_text"&gt;&lt;SPAN class=""&gt;Authorization. then we send the URL to the user email.&amp;nbsp; the user open the URL and Authorization.&amp;nbsp;&amp;nbsp;&amp;nbsp; can we use V2 oauth to achieve this model ?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="short_text"&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thanks.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 30 Sep 2017 01:14:16 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/GET-1-oauth-request-token-return-400-error/m-p/244349#M13745</guid>
      <dc:creator>blink</dc:creator>
      <dc:date>2017-09-30T01:14:16Z</dc:date>
    </item>
    <item>
      <title>Re: GET /1/oauth/request_token  return 400 error</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/GET-1-oauth-request-token-return-400-error/m-p/244354#M13747</link>
      <description>&lt;P&gt;PS:&amp;nbsp; we use oauth v1 to get token.&amp;nbsp; the api :&lt;/P&gt;
&lt;P&gt;&lt;A href="https://api.dropbox.com/1/oauth/request_token" target="_blank"&gt;https://api.dropbox.com/1/oauth/request_token&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://api.dropbox.com/1/oauth/access_token" target="_blank"&gt;https://api.dropbox.com/1/oauth/access_token&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://api.dropboxapi.com/1/oauth2/token_from_oauth1" target="_blank"&gt;https://api.dropboxapi.com/1/oauth2/token_from_oauth1&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dropbox.com/1/oauth/authorize?oauth_token=" target="_blank"&gt;https://www.dropbox.com/1/oauth/authorize?oauth_token=&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; The user only input dropbox username and password.&amp;nbsp; we will send the &lt;SPAN class="short_text"&gt;&lt;SPAN class=""&gt;Authentication&lt;/SPAN&gt;&lt;/SPAN&gt; URL to the user email by our device.&amp;nbsp; (our device have no browse).&amp;nbsp; the user open the URL by phone or pc to&amp;nbsp; &lt;SPAN class="short_text"&gt;&lt;SPAN class=""&gt;Authorization our app to access their dropbox.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="short_text"&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; How can we use oauth 2 to achieve this function . many thanks.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 30 Sep 2017 03:13:51 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/GET-1-oauth-request-token-return-400-error/m-p/244354#M13747</guid>
      <dc:creator>blink</dc:creator>
      <dc:date>2017-09-30T03:13:51Z</dc:date>
    </item>
    <item>
      <title>Re: GET /1/oauth/request_token  return 400 error</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/GET-1-oauth-request-token-return-400-error/m-p/244422#M13750</link>
      <description>I'm in a similar situation. I'm the developer of an app on a platform (webOS) where the Dropbox login page is broken in the native browser. With OAuth 1 I solved this by having the user open the authorization URL on another device, where they only needed to approve the authorization request and the app would start working afterwards.&lt;BR /&gt;With OAuth 2 the user needs to additionally transfer the auth token back to the webOS device, which makes it even more complicated for the user. I don't think there's an easier solution with OAuth 2 though.</description>
      <pubDate>Sat, 30 Sep 2017 14:01:04 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/GET-1-oauth-request-token-return-400-error/m-p/244422#M13750</guid>
      <dc:creator>pcworld</dc:creator>
      <dc:date>2017-09-30T14:01:04Z</dc:date>
    </item>
    <item>
      <title>Re: GET /1/oauth/request_token  return 400 error</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/GET-1-oauth-request-token-return-400-error/m-p/244706#M13784</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/367271"&gt;@blink&lt;/a&gt;&amp;nbsp;For reference, your app should never be directly handling the user's username and password. The user should only ever put those in to the&amp;nbsp;Dropbox web site, e.g., when logging in to the&amp;nbsp;Dropbox web site during the OAuth app authorization flow to authorize the API app. This applies to both API v1 and API v2.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For API v2, which only supports OAuth 2, you should migrate to using OAuth 2 entirely, not OAuth 1. (If you have any remaining OAuth 1 access tokens you need to migrate to OAuth 2 for use with API v2, you should use &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#auth-token-from_oauth1" target="_self"&gt;/2/auth/token/from_oauth1&lt;/A&gt;&amp;nbsp;which is an API v2 endpoint and will continue to work.)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can find the OAuth 2 documentation here:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#authorization" target="_blank"&gt;https://www.dropbox.com/developers/documentation/http/documentation#authorization&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The&amp;nbsp;Dropbox OAuth 2 implementation supports the "token" and "code" flows, which unfortunately don't work as well with the technique of emailing the authorization link to the user to have them authorize the app on another device.&amp;nbsp;This is because the "token" flow requires a redirect URI, and the "code" flow, when used without a redirect URI, requires the user to manually transfer the authorization code somehow, as pcworld mentioned.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If that doesn't work for your app, e.g., if it doesn't have a browser at all, &lt;A href="https://www.dropbox.com/developers/contact" target="_self"&gt;open an API ticket&lt;/A&gt; with details about your app and use case and we'll see if there's something we can do to help.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Oct 2017 17:33:26 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/GET-1-oauth-request-token-return-400-error/m-p/244706#M13784</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-10-02T17:33:26Z</dc:date>
    </item>
    <item>
      <title>Re: GET /1/oauth/request_token  return 400 error</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/GET-1-oauth-request-token-return-400-error/m-p/244707#M13785</link>
      <description>&lt;P&gt;By the way, if you need more time to migrate your app to API v2, we can offer an extension for access to API v1. To request that, please &lt;A href="https://www.dropbox.com/developers/contact" target="_self"&gt;open an API ticket&lt;/A&gt; with the relevant app key(s).&lt;/P&gt;</description>
      <pubDate>Mon, 02 Oct 2017 17:34:27 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/GET-1-oauth-request-token-return-400-error/m-p/244707#M13785</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-10-02T17:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: GET /1/oauth/request_token  return 400 error</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/GET-1-oauth-request-token-return-400-error/m-p/245901#M13968</link>
      <description>&lt;P&gt;Many Thanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; we will discuss the solution.&amp;nbsp; and I submit the &lt;A href="https://www.dropbox.com/developers/contact" target="_self" rel="noopener noreferrer"&gt;open an API ticket&amp;nbsp; .&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Oct 2017 02:00:50 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/GET-1-oauth-request-token-return-400-error/m-p/245901#M13968</guid>
      <dc:creator>blink</dc:creator>
      <dc:date>2017-10-09T02:00:50Z</dc:date>
    </item>
    <item>
      <title>Re: GET /1/oauth/request_token  return 400 error</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/GET-1-oauth-request-token-return-400-error/m-p/245906#M13970</link>
      <description>&lt;P&gt;in fact,&amp;nbsp; our app should never be directly handling the user's username and password.&amp;nbsp; our app will send the Dropbox web site URL to the user email.&amp;nbsp; the user&amp;nbsp; open the URL and &lt;SPAN class="short_text"&gt;&lt;SPAN class=""&gt;Authorization&lt;/SPAN&gt;&lt;/SPAN&gt; to our app.&amp;nbsp; then our app upload the file to the user dropbox.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Oct 2017 06:48:06 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/GET-1-oauth-request-token-return-400-error/m-p/245906#M13970</guid>
      <dc:creator>blink</dc:creator>
      <dc:date>2017-10-09T06:48:06Z</dc:date>
    </item>
  </channel>
</rss>

