Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
Digitalhappy
9 years agoExplorer | Level 4
list_folder with include_media_info=true return empty entries array.
When calling /2/files/list_folder with include_media_info = true the API is returning an empty set on a folder that I know contains files. I can see the files in the Dropbox website and also in my d...
rustoiy
9 years agoNew member | Level 2
I encountered another side effect here, which seems like more of a bug-
On calling /2/files/list_folder on a folder containing a large number of files, (i.e. requiring pagination in the API response) the API was responding not only with an empty list, but with has_more set to true.
This was found to be because no files in that folder had metadata available yet.
Unfortunately this is annoying to reproduce on my end and I didn't capture where the 'cursor' field was pointing, but it resulted in the call recurring infinitely .
On calling /2/files/list_folder on a folder containing a large number of files, (i.e. requiring pagination in the API response) the API was responding not only with an empty list, but with has_more set to true.
This was found to be because no files in that folder had metadata available yet.
Unfortunately this is annoying to reproduce on my end and I didn't capture where the 'cursor' field was pointing, but it resulted in the call recurring infinitely .
Greg-DB
Dropbox Community Moderator
9 years agoThanks for the report rustoiy. That does sound like unexpected behavior. If you can share a few responses showing that empty entries list, including the has_more=true and cursor, that would be helpful for us to investigate. (You can share privately here if you'd prefer: https://www.dropbox.com/developers/contact )
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If 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, Facebook or Instagram.
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!