cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

OAuth2 not working tonight

OAuth2 not working tonight

OGMC
Helpful | Level 6

Is there any known issues with oauth 2 tonight? I can't authorise at all but was fine earlier.

16 Replies 16

Greg-DB
Dropbox Staff
API v1 was just retired ( https://blogs.dropbox.com/developers/2016/06/api-v1-deprecated/), but OAuth 2 and API v2 should be unaffected. Can you share a sample request and error? (Just be sure to redact any secret values.) Thanks in advance!

Niranjan
New member | Level 2

I am also getting the error:

 

> curl -v -X POST "https://api.dropboxapi.com/oauth2/token" --data "code=<code>" --data "grant_type=authorization_code" --data "client_id=<client id>" --data "client_secret=<secret>"

 

HTTP/1.1 400 Bad Request

{"error": "v1_retired"}

 

I guess the endpoint "https://api.dropboxapi.com/oauth2/token" is still part of API V2. Can you then let me know how to fix this error?

 

Greg-DB
Dropbox Staff
Thanks for the details! We're looking into it.

Greg-DB
Dropbox Staff
Ok, this should be working again. Apologies for trouble!

angeloashmore
New member | Level 2

Just adding another piece of data: I'm using the code response type without a redirect URI. The response page is: https://www.dropbox.com/1/oauth2/authorize_submit

 

Note the "/1/".

 

Trying to exchange the code into a token returns the "v1_retired" response.

 

Edit: Oops, just saw your reply. Thanks, looks like everything is back. :grinning:

Niranjan
New member | Level 2

Thank you for the quick response. I appriciate the action taken.

It is working now:-)

 

OGMC
Helpful | Level 6
I too am using oauth2noredirect

OGMC
Helpful | Level 6
I'm using: DropboxOAuth2FlowNoRedirect

And getting: Error: [400] u'v1_retired'

Greg-DB
Dropbox Staff
That should be fixed now, though it may take a few minutes for the fix to roll out.
Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
  • User avatar
    Patric New member | Level 2
  • User avatar
    immu_20 Explorer | Level 4
  • User avatar
    hypershop New member | Level 2
  • User avatar
    AngelaLam New member | Level 2
What do Dropbox user levels mean?