cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Update: Find information on Dropbox support during COVID-19 here
Close
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted

list_folder/longpoll seems to not work with CORS

New member | Level 1
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
Highlighted

Re: list_folder/longpoll seems to not work with CORS

Dropboxer
Dropboxer

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

Highlighted

Re: list_folder/longpoll seems to not work with CORS

New member | Level 1
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.

Highlighted

Re: list_folder/longpoll seems to not work with CORS

Dropboxer
Dropboxer
This should be working now. Please let us know if you're still seeing any issues.

Work Smarter with Dropbox

The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.

Sound good? Let's get started.
Who's talking

Top contributors to this post

What do Dropbox user levels mean?
Need more support?