Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
HampdenTech
1 year agoNew member | Level 1
Dropbox API - check_and_refresh_access_token
I have a valid app_key, app_secret, and refresh_token and I'm trying to call the check_and_refresh_access_token function in the Dropbox API for Python. Here is the code... def refresh_dropbox_token(...
- 1 year ago
The check_and_refresh_access_token method doesn't actually return a token value; it would either internally update the access token in the client, or otherwise raise an exception, so you don't need to check the return value.
Also, you don't actually need to call check_and_refresh_access_token yourself at all. The Dropbox client will automatically call check_and_refresh_access_token itself as needed. You just need to set up the Dropbox object with your refresh token, app key, and app secret as you have and use that. It will automatically handle the refresh process for you internally.
HampdenTech
1 year agoNew member | Level 1
Hi Greg,
Okay, this is great to know. I'll give this a try.
Thanks for the update!
Bob
About Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.
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!