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
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?
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.
The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.Sound good? Let's get started.