We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.
Forum Discussion
Pathirny
3 months 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 ...
Pathirny
Explorer | Level 3
Hi Greg,
I'm using the documentation you've shared and I keep coming across a CORS error when trying to fetch the access token.
I'll share the code and error below for your consideration. Please note I am using Next.js
Any recommendations on how I can get past CORS?
Thanks
Greg-DB
3 months agoDropbox Staff
The https://www.dropbox.com/oauth2/authorize... URL you construct points to a web page where the user would choose whether or not to allow the app to access their account. That means the app should direct the user to that URL in their web browser. The app should not try to access the contents of that URL programmatically; for example, you should not have the app try to retrieve the contents of that URL using 'fetch'. Please refer to the links in my previous message for more information on how this process works.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,877 PostsLatest Activity: 12 months 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!