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
AlmightyOatmeal
8 years agoHelpful | Level 6
API response limited to 2,000 items
I do a lot of photo work and try to automate some of my photo and video sorting and processing but I've run into a pretty big issue: Apparently there is a maximum of 2,000 items returned when getting a directory listing. Is it paginated? If so, why doesn't the Python API client handle pagination?
From one of my servers using the latest Python API client:
╭─jivanov@irony ~ ╰─$ dropbox-api ls /Camera\ Uploads | wc -l 2000
From my personal laptop running the latest Dropbox client application:
╭─jamie@BeefCurtainMoses ~/Dropbox/Camera Uploads ╰─$ ls -1 | wc -l 2353
- Greg-DBDropbox Staff
The list_folder response is paginated. If ListFolderResult.has_more is True, you should call back to files_list_folder_continue for more entries. The documentation for list_folder has information for processing these.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,910 PostsLatest Activity: 3 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!