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
Anton P
3 years ago
New member | Level 2
CORS error on any endpoint
After successful authorization and getting the token I try to test it by fetching basic '/user' endpoint and I always get CORS error. Chrome Browser.
1) with preflish request:
2) Without preflight request:
What am I doing wrong, please help!
-
OK, I figured that out. Silly mistake. Appears that ' api.dropboxapi.com/2/check/user'
is a POST method while I was sending a GET request. The mistake would be avoided if the documentation stated that it's a POST message instead of just specifying that in a curl example which I haven't looked at.
About Discuss Dropbox Developer & API
Make connections with other developers
795 Posts
Latest Activity: 11 hours ago
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 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!