We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
Pathirny
2 years agoExplorer | Level 3
Long life Access token or access token refresh
Hi there, I am currently working on a Next.js project where I am fetching photos from a folder in Dropbox. The photo's render fine but the issue is that after 4 hours the access token expires. I ...
Greg-DB
Dropbox Community Moderator
2 years agoPathirny Rich is correct. Dropbox now issues short-lived access tokens, and for long-term access you should get a refresh token. In addition to the blog post Rich linked to, be sure to also refer to the OAuth Guide and authorization documentation.
Pathirny
2 years agoExplorer | Level 3
Thanks for the response Greg!
I'm currently creating a gallery of photos for a client in Next.js and will look into the above.
Thank you
About Dropbox API Support & Feedback
Find help with the Dropbox API from 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!