We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
Rajarshi
9 years agoNew member | Level 2
How to get OAuth2 access token from OAuth1 token and secret with API v2 JDK
String my_app_key = "test1234";
String my_app_secret = "test567";
String client_app_key = "cltest123";
String client_app_secret = "cltest456";
DbxAppInfo appInfo = new DbxAppInfo(my_app_key, my...
Greg-DB
Dropbox Community Moderator
9 years agoThis error message indicates that the access token you're using (client_app_key and client_app_secret in your code) doesn't correspond to the app key and secret (my_app_key and my_app_secret in your code) that you're using.
When making this case, these pairs needs to match. That is, the access token you're trying to upgrade must have originally been retrieved using an app key and secret for the same app as you're using now.
So in this case, you'll need to swap in the correct app key and secret (my_app_key and my_app_secret in your code) to be able to upgrade this access token (client_app_key and client_app_secret in your code).
When making this case, these pairs needs to match. That is, the access token you're trying to upgrade must have originally been retrieved using an app key and secret for the same app as you're using now.
So in this case, you'll need to swap in the correct app key and secret (my_app_key and my_app_secret in your code) to be able to upgrade this access token (client_app_key and client_app_secret in your code).
Rajarshi
9 years agoNew member | Level 2
Thank You very very much Greg. It's really help.
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!