cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Musicians, convert your MuseScore files to PDF to play music on the go! Learn more here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

files_list_folder Not giving me All the Files

files_list_folder Not giving me All the Files

Take OFF LTD
New member | Level 2

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 1

Greg-DB
Dropbox 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 the ListFolderResult.has_more returned by files_list_folder. If it's True, you need to call back to files_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 the files_list_folder documentation for more information.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?