cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
If you’ve changed your email address, now's the perfect time to update it on your Dropbox account and we’re here to help! Learn 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: 

list_folder/longpoll seems to not work with CORS

list_folder/longpoll seems to not work with CORS

Doug K.16
New member | Level 1

Hi,

I'm currently consuming the HTTP API via javascript and I get a CORS error on this endpoint.  Specifically the OPTIONS preflight returns a 501 Not Implemented.  Will this be implemented?

3 Replies 3

Greg-DB
Dropbox Staff

Thanks for reporting this! I can't make any promises, but I'm sending this along to the team.

Crystal W.4
New member | Level 1

I'm getting this problem as well. Other calls don't exhibit this (I presume) because they are authenticated and can simply allow cross domain calls because they effectively trust the caller. longpoll doesn't require authentication I presume (again a guess) the trust is vested in the cursor token, but cross domain is still being checked. 

Really frustrating cos having found longpoll I could use it to replace my clunky sync checker.

Greg-DB
Dropbox Staff
This should be working now. Please let us know if you're still seeing any issues.
Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
  • User avatar
    Crystal W.4 New member | Level 1
What do Dropbox user levels mean?