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
smitpatel
6 months agoNew member | Level 2
Regarding the automatic refreshing of the access token
def initialize_dropbox_client(): access_token = "my access token" dbx = dropbox.Dropbox(access_token) dbx._oauth2_access_token_expiration = time.time() + 14400 # Assume token expi...
Greg-DB
6 months agoDropbox Staff
I see you're using the Dropbox Python SDK and are trying to implement the refresh process yourself. Please note that the SDK can handle the refresh functionality for you automatically, so you don't need to implement that yourself.
As long as you provide all of the relevant credentials to the 'Dropbox' object like in the example here, it will automatically handle the refresh process for you whenever needed.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,886 PostsLatest Activity: 20 minutes agoIf 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!