Start 2025 on time and up to date! Seamlessly integrate your calendars into Dropbox with these simple steps! 📆

Forum Discussion

Doug K.16's avatar
Doug K.16
New member | Level 1
9 years ago

list_folder/longpoll seems to not work with CORS

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?

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

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

  • Crystal W.4's avatar
    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's avatar
      Greg-DB
      Icon for Dropbox Staff rankDropbox Staff
      This should be working now. Please let us know if you're still seeing any issues.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,936 PostsLatest Activity: 6 hours ago
347 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!