cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to know what we learned at IBC? Check out our learnings on media, remote working and more right 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: 

Refresh access token throws an exception

Refresh access token throws an exception

BLV2k22
New member | Level 2

Hi,

i implemented the DropBox Java SDK 5.4.4 and authorized the client via PKCE Authentication. Credentials are stored in a file.

 

As documented, the access token is a short living token and the refresh token is the same with every new authentication.

 

But when client tries to refresh the token (local Spring Boot application was started some hours after authentication) the client throws a DbxOAuthException with DbxOAuthError "unknown". 

 

Any ideas?

 

The app in the app console is  in development mode.

 

Any ideas?

 

1 Reply 1

BLV2k22
New member | Level 2

Hi,

 

it seems i solved the issue. It was a typo in the app secret 😕 Now when i call the refresh method in credentials i am getting a new short living access token,

 

Best regards

 

 

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    BLV2k22 New member | Level 2
What do Dropbox user levels mean?