We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
Take OFF LTD
2 years agoNew member | Level 2
files_list_folder Not giving me All the Files
why files_list_folder API not getting me all files from the dropbox folder sometimes
files = dbx.files_list_folder(path, recursive=True).entries
1 Reply
Replies have been turned off for this discussion
- Greg-DB2 years ago
Dropbox Community Moderator
Please note that the
files_list_folder/files_list_folder_continueinterface is paginated, so you're not guaranteed to get all results back in a single page. The number of pages that are used can change over time and across accounts, folders, etc.
Be sure to check theListFolderResult.has_morereturned byfiles_list_folder. If it'sTrue, you need to call back tofiles_list_folder_continueto get more results. This can occur at any time, so you should make sure your app is written to always handle that possibility. Please see thefiles_list_folderdocumentation for more information.
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!