Need to see if your shared folder is taking up space on your dropbox 👨‍💻? Find out how to check here.

Forum Discussion

Thomas G.46's avatar
Thomas G.46
New member | Level 1
11 years ago

API v2 - Long polling

The docs for long polling seem to be wrong. 

- https://api.dropboxapi.com/2-beta-2/files/list_folder/longpoll - 400: Incorrect host for API function "files/list_folder/longpoll".  You must issue the request to "notify.dropboxapi.com".)

- https://notify.dropboxapi.com/2-beta-2/files/list_folder/longpoll - 400: Incorrect host for API function "files/list_folder/longpoll".  You must issue the request to "notify.dropboxapi.com".)

It also doesn't work as shown in the second example. Were the docs updated before it's ready and it doesn't actually work yet?

8 Replies

Replies have been turned off for this discussion
  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    11 years ago

    Thanks for the report! You're right, it looks like we have this wrong in the documentation and validation. We'll look into it.

  • Thomas G.46's avatar
    Thomas G.46
    New member | Level 1
    11 years ago

    Another documentation thing I noticed was that the /download /upload end points have api.dropboxapi.com in the url structure but have the correct content.dropboxapi.com in the example.

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    11 years ago

    Thanks for the report. We're looking into it.

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    11 years ago

    To follow up on this in case you aren't already aware, this endpoint is working now. (The generated curl example in the documentation is wrong though, as this particular endpoint doesn't take an Authorization header.)

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

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, Facebook or Instagram.

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!