One month down in 2025: How are your resolutions coming along? Check out how to get back on track here.
Forum Discussion
Ragindev
3 years agoExplorer | Level 3
Dropbox list folder API not returning folder items.
Previously I have used the following API end-point to list all files in the folder
Now its not working as previous, it returns empty list
Is there any new API update from Dropbox. ?
- ЗдравкоLegendary | Level 20
Hi Ragindev,
Did you try continue listing using 2/files/list_folder/continue? 🤔 If not, give it a try. 😉
Hope this helps.
- Greg-DB
Dropbox Staff
Ragindev As Здравко noted, make sure you implement both /2/files/list_folder and /2/files/list_folder/continue. You're not guaranteed to get everything back in one call. Check out the linked documentation for more information.
Also, if you're using a team account, note that the team may have recently switched to the "team space" configuration. By default, API calls operate in the "member folder" of the connected account, not the "team space", so you wouldn't see anything in the team space when using the API by default. You can configure API calls to operate in the "team space" instead though. To do so, you'll need to set the "Dropbox-Api-Path-Root" header. You can find information on this in the Team Files Guide.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,945 PostsLatest Activity: 12 hours ago
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 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!