Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
Andrii M.
9 years agoHelpful | Level 5
OAuth access token type
Currently during authentication retyrned URL contains token_type=bearer parameter while respective header must be Bearer (else 400 is returned). Is that possible to return correct case in token_type...
- 9 years ago
According to the documentation, we only support the "bearer" token type, so any of these should be fine.
Greg-DB
Dropbox Community Moderator
9 years agoAccording to the documentation, we only support the "bearer" token type, so any of these should be fine.
lazedo
9 years agoNew member | Level 2
Hi Greg,
the api does not accept "bearer", it only accepts "Bearer".
the returned value in token_type is "bearer" and most oauth clients will use that value to compose the Authorization Header.
the result is that the Authorization being sent to subsequent requests has the Authorization header "Authorization: bearer xxxxx" instead of "Authorization: Bearer xxxxx".
it seems to me that, the token_type value returned should be "Bearer" instead of "bearer" if api only accepts that, or change the api to accept "bearer".
thoughts ?
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
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!