You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

CTO1's avatar
CTO1
Explorer | Level 3
3 years ago

Refresh token not working

Currently I am trying to migrate our application to the new refresh token system

I am getting my Refresh token and my ExpiresAt values, and saving that data on the database,

 

if the ExpiresAt value has already pass I am creating my object this way:

 dbx = new DropboxClient(settings.RefreshToken, appKey, appSecret);

and using that new object for my resquest, but in my view I am still getting the message:

 

Failed to access a remote cloud service
StatusCode: Unauthorized
Request result: {"error_summary": "expired_access_token/.", "error": {".tag": "expired_access_token"}}

 

where in c# I have to sent my refresh token value so it can keep the token alive when I need it?

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,917 PostsLatest Activity: 2 hours ago
334 Following

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!