We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
arabia
7 years agoNew member | Level 2
unable to list files in shared folder
Hi, I'm trying to access all files in a shared folder using the dropbox api "https://api.dropboxapi.com/2/files/list_folder". When doing this I only get the folder. None of the contained files, ...
- 7 years ago
My bad, I did not bother to check the cursor because the first call returned so few entries.
It turned out that calling "files/list_folder/continue" returned all the files contained in the shared folder
arabia
7 years agoNew member | Level 2
have been trying some more and stumbled across something interesting:
the shared folder appears empty if i list folders with path not set.
Hovever, if i set the path to '/sharedfolder/innerfolder' then i'm able to list all (sub)folders and files under 'innerfolder'
arabia
7 years agoNew member | Level 2
My bad, I did not bother to check the cursor because the first call returned so few entries.
It turned out that calling "files/list_folder/continue" returned all the files contained in the shared folder
- Greg-DB7 years ago
Dropbox Community Moderator
I'm glad to hear you already sorted this out. To confirm, yes, when using /2/files/list_folder[/continue], the app should always check the returned 'has_more' value and if it's true, call back using the returned 'cursor' to get more entries.
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!