cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Back again with another edition of 'How we use Dropbox', so find out how Emma uses to-do lists to get it all done 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

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

Rich
Super User II

Moved to the API forum.

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

Greg-DB
Dropboxer

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.

Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropboxer
  • User avatar
    Rich Super User II
What do Dropbox user levels mean?
Need more support?