Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
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
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.
Hi there!
If you need more help you can view your support options (expected response time for a 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!