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

Valarpirai's avatar
Valarpirai
New member | Level 1
10 years ago

JS SDK: No "Access-Control-Allow-Origin" header is present on the requested resource. Origin "my website url" is therefore not allowed to access.

I am using the JS SDK(dropbox-datastores-1.1.0.js). I have seen the following error in my console.
XMLHttpRequest cannot load https://api18.dropbox.com/1/datastores/put_delta. No "Access-Control-Allow-Origin" header is present on the requested resource. Origin "my website url" is therefore not allowed to access. The response had HTTP status code 504.

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    A 504 response from the Dropbox API just indicates transient server issues on our side. This error response isn't specific to the API though and so doesn't have the right headers for use with JavaScript. Anyway, in this case you don't need to do anything special besides just retrying the request.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,877 PostsLatest Activity: 5 hours ago
325 Following

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!