We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
Chakradhar
7 years agoExplorer | Level 4
Reg: Folders not listing from API
Hello Team,
We have integrated DropBox API in our application and showing the folders based on the user login. Using the URL: **https://api.dropboxapi.com/2/files/list_folder** to download the fold...
- 7 years ago
Might be more easy to review raw JSON result. There always is field 'has_more', with value either true or false. 😉
PS: There isn't guaranteed way receive everything at once. Could be received 'has_more' on the beginning, for short list, but no guarantee! Convenient way to pass the result is using codeblock (</>).
Greg-DB
Dropbox Community Moderator
7 years agoIs the has_more value in the response from /2/files/list_folder set to true? If so, if you don't already have it implemented, you need to call back to /2/files/list_folder/continue to retrieve more results. Please refer to the /2/files/list_folder documentation for more information on doing so.
The /2/files/list_folder[/continue] interface is paginated, in order to support folders of any size, and you're not guaranteed to receive all results on a single page, so you should make sure your app always checks the response to see if there are more results to return.
If that doesn't seem to be the problem though, please let me know and we'll be happy to look into it further for you
Chakradhar
7 years agoExplorer | Level 4
Please review the new comment.
Thank you
Chakradhar
- Здравко7 years agoLegendary | Level 20
Might be more easy to review raw JSON result. There always is field 'has_more', with value either true or false. 😉
PS: There isn't guaranteed way receive everything at once. Could be received 'has_more' on the beginning, for short list, but no guarantee! Convenient way to pass the result is using codeblock (</>).
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!