cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
What’s new: end-to-end encryption, Replay and Dash updates. Find out more about these updates, new features and more here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

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

Valarpirai
New member | Level 1

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.

2 Replies 2

Rich
Super User II

Moved to the API forum.

Greg-DB
Dropbox 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.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
  • User avatar
    Rich Super User II
What do Dropbox user levels mean?