why files_list_folder API not getting me all files from the dropbox folder sometimes
files = dbx.files_list_folder(path, recursive=True).entries
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.
files_list_folder
files_list_folder_continue
ListFolderResult.has_more
True