Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
elsigh
6 years agoHelpful | Level 5
filesListFolderLongpoll fires changes: without changes within the folder
I have a folder and I get a cursor for it and call filesListFolderLongpoll...
If I go to the parent folder of the folder I'm polling and add a file to it, the longpoll returns for the child fol...
elsigh
6 years agoHelpful | Level 5
In the meantime, what do you think about my idea of preserving the original cursor and just starting the poll again?
Greg-DB
Dropbox Community Moderator
6 years agoThat seems like a reasonable way to workaround the issue. As long as you don't get and process any new entries and still reach `has_more:false`, it would be fine to fall back to original cursor to avoid making another change, which would trigger that loop again. If/when you do get actual changes returned, you can then process them and save the next cursor. (Saving that new cursor would trigger this issue again, but that would just be the one extra iteration of the loop.)
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!