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
11 years agoNew member | Level 1
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-DB11 years ago
Dropbox Community Moderator
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.4611 years agoNew member | Level 1
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-DB11 years ago
Dropbox Community Moderator
Good catch, thanks!
- Thomas G.4611 years agoNew member | Level 1
No problem!
- Thomas G.4611 years agoNew member | Level 1
Should this be working now? I just get a 400 response with no data (with https://notify.dropboxapi.com/2-beta-2/files/list_folder/longpoll)
- Greg-DB11 years ago
Dropbox Community Moderator
Thanks for the report. We're looking into it.
- Greg-DB11 years ago
Dropbox Community Moderator
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.)
- Thomas G.4611 years agoNew member | Level 1
Cheers, just gave it a quick try and it seems to be working.
About 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!