Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
OGMC
8 years agoHelpful | Level 6
OAuth2 not working tonight
Is there any known issues with oauth 2 tonight? I can't authorise at all but was fine earlier.
Greg-DB
Dropbox Community Moderator
8 years agoAPI 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!
- Niranjan8 years agoNew 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-DB8 years ago
Dropbox Community Moderator
Thanks for the details! We're looking into it. - Greg-DB8 years ago
Dropbox Community Moderator
Ok, this should be working again. Apologies for trouble!- Niranjan8 years agoNew member | Level 2
Thank you for the quick response. I appriciate the action taken.
It is working now:-)
- angeloashmore8 years agoNew 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:
About Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!