We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.
Forum Discussion
Romain B.2
9 years agoNew member | Level 2
dropboxjs longpoll : error 400 : You must issue the request to "notify.dropboxapi.com"
Hi,
When I'm calling the filesListFolderLongpoll() method I get the following error:
status: 400, text: 'Incorrect host for API function "files/list_folder/longpoll". You must issue the request...
- 9 years ago
Thanks Romain! The team is also working on a fix here:
Romain B.2
9 years agoNew member | Level 2
I have got a quick and dirty fix, but I'm not to sure of the impact it has. I can submit it if necessary.
The BASE_URL variable in rpc-requests.js is set to 'https://api.dropboxapi.com/2/', so no request can be sent to https://notify.dropboxapi.com/2/.
In the DropboxBase.prototype.request (dropbox-base.js) method, the 'host' parameter is not used. This parameter is properly set to 'notify' when a call to filesListFolderLongpoll() occurs but it is not given to rpcRequest. And, as I said above, BASE_URL is hard coded.
Hope this can help :)
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,877 PostsLatest Activity: 12 months agoIf 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!