You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
mjmt
6 months agoHelpful | Level 5
(Python SDK API Help) Some folders are not listing
I am writing a helper app with the python sdk to iterate through folders within a team folder and add certain child folders within specific folders that have a name matching a list of names I have.
...
- 6 months ago
Hi mjmt,
As seems, you observe only the first page of your list. Did you try continue listing? Keep in mind that list metadata are provided on pieces and every piece size is NOT guarantead (despite controlable). You have to check for more results waiting and continue when needed. Don't rely that entire list will get back as an only page (in spite possible)!
Hope this claryfies matter.
Greg-DB
Dropbox Staff
mjmt Здравко is correct; it appears you are only calling files_list_folder, but that is not guaranteed to return everything. You should implement both files_list_folder and files_list_folder_continue. Refer to the documentation linked there for more information on how to use that.
mjmt
6 months agoHelpful | Level 5
Yes they are correct. I ended up just using the cursor to continue listing and that got all my queries. My program is now up and running 😁
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,882 PostsLatest Activity: 2 days 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!