We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
Omri1984
4 years agoExplorer | Level 4
Dropbox.Api.AuthException: expired_access_token/
Hi my company is using the sdk of dropbox.
an up until now alll was good suddenlty the automatically refresh token stop working and we are getting this error
Dropbox.Api.AuthException: ex...
Omri1984
4 years agoExplorer | Level 4
we are using dropbox 4.7 .net sdk
Здравко
4 years agoLegendary | Level 20
Omri1984 wrote:we are using dropbox 4.7 .net sdk
Version 4.7 does not support refresh tokens! Update it (your application too).
- Greg-DB4 years ago
Dropbox Community Moderator
Omri1984 If you are using v4.7 of the Dropbox .NET SDK, then as Здравко noted, that won't work because that version of the Dropbox .NET SDK didn't support refresh tokens.
It sounds like by "4.7" you may be referring to the version of the .NET framework itself though, not the Dropbox .NET SDK.
Either way, if you still need help with this, please share the rest of the information I requested so we can take a look.
- Omri19844 years agoExplorer | Level 4
this is the one we are using
Dropbox.Api.4.7.0
and we are not doing refresh token at all , all manage automatically
can we have a quick session please
- Здравко4 years agoLegendary | Level 20
Omri1984 wrote:...
and we are not doing refresh token at all , ...
Hi Omri1984,
You are "not doing refresh token at all" - exactly; and that's where you issue is coming from. 🤷 I have no idea why you refuse to understand that.
Omri1984 wrote:..., all manage automatically
...
No, here you are wrong! Version 4.7 doesn't manage that automatically because, at time it had been "on go", had been no need of such management. In meantime many things get changed. Now access token is valid for at most 4 hours (seems, you miss this), not valid forever (as before - 4.7 time)! To prolong the validity, refresh token gets need (something 4.7 doesn't support). That's why you have to update your SDK to recent one and adapt your application use refresh token on client initialization (not access token only). Everything else (most of your application) is back compatible and can stay the same. 😉
Hope this helps.
About Discuss Dropbox Developer & API
Make connections with 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!