Learn how to make the most out of the Dropbox Community 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 Staff
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.5,972 PostsLatest Activity: 11 hours ago
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 or Facebook.
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!