We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
GIS_questions
4 years agoExplorer | Level 4
Error when attempting to get an access token using refresh token
I keep encountering the same error when I attempt to use my refresh token, client id and client secret to get a new access token in my javascript code:
" Error in call to API function "files/upload...
GIS_questions
4 years agoExplorer | Level 4
Hi Greg,
Thank you so much for your reply!
Do you have any basic examples of doing this through javascript? I've been able to get the refresh token using curl, but I haven't had the same luck with my code. I've looked at the documentation on the OAuth guide and authorization documentation but I can't get the Javascript to function.
Thank you!
Здравко
4 years agoLegendary | Level 20
Hi GIS_questions,
Take a look on https://github.com/dropbox/dropbox-sdk-js/tree/main/examples/javascript 😉
Hope this helps.
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!