We're making changes to the Community, so you may have received some notifications - thanks for your patience and welcome back. Learn more here.
Forum Discussion
Take OFF LTD
4 months 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
- Greg-DBDropbox Staff
Please note that the
files_list_folder
/files_list_folder_continue
interface 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_more
returned byfiles_list_folder
. If it'sTrue
, you need to call back tofiles_list_folder_continue
to 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_folder
documentation for more information.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,875 PostsLatest Activity: 5 hours 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!