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: 

V2 API Problem with tokens

V2 API Problem with tokens

flaunter
New member | Level 2

I'm getting  error_summary": "invalid_access_token" , all the time , even after getting a fresh new token.

 

I followed these steps:

 

- oauth2/authorize : get the code

- oauth2/token : get the token using the code

- call any method i.e.

 

curl -X POST https://api.dropboxapi.com/2/users/get_current_account --header "Authorization: Bearer R80pqXt4IfAAAAAAAAAFQB-1CY4ADo-4NURztVJ6t3WgwPCKrM"

 

I appreciate any help.

 

 

 

1 Reply 1

Greg-DB
Dropbox Staff
It looks like you may be accidentally truncating the access token. Dropbox OAuth 2 access tokens are generally 64 characters long, but the one you posted is only 43 characters.
Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?