We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
gagsbh
8 years agoHelpful | Level 5
Web-hook handling logic help
Hello Greg,
I need some help with using Web-hooks.
I use the following code to get a cursor token for the Root folder
Code I:
result = await client.Files.ListFolderGetLatestCursor...
Greg-DB
Dropbox Community Moderator
8 years agoIn your code for handling the ListFolderContinueAsync result, you appear to only be checking the first entry. That result can contain a large number of entries per page though, so this code could miss a significant number of entries. You should iterate through Entries to make sure you handle everything.
You can find more information on handling the Files.ListFolder* results in the documentation here:
https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Files_Routes_FilesUserRoutes_ListFolderAsync.htm
Regarding the cursor error, I see you have another thread for that, so I answered there:
https://www.dropboxforum.com/t5/API-Support-Feedback/Error-in-call-to-API-function-quot-files-list-folder-continue/m-p/282730#M17315
You can find more information on handling the Files.ListFolder* results in the documentation here:
https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Files_Routes_FilesUserRoutes_ListFolderAsync.htm
Regarding the cursor error, I see you have another thread for that, so I answered there:
https://www.dropboxforum.com/t5/API-Support-Feedback/Error-in-call-to-API-function-quot-files-list-folder-continue/m-p/282730#M17315
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!