You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
Kuki
6 years agoExplorer | Level 4
Unable to fecth files and folders from Team folders
I am using the Dropbox Business API and trying to fetch Folders and Files present into my team folder (If you will see I have created a "General Information" folder) (The folder which is out side of ...
- 6 years ago
The exact number of entries you get back per /2/files/list_folder[/continue] page is not guaranteed. Sometimes the API may return more entries per page, and sometimes it may return fewer.
Regardless of how many entries were returned, your app needs to always check the 'has_more' value and call back for more entries if it's 'true'.
Kuki
Explorer | Level 4
Hello Again,
A bit More:
Everything is working fine now, I am able to acess everything now,
The problem is : Records (Number of Folders and Files vary when I call the API).
When I call the API ( /2/files/list_folder and /2/files/list_folder/continue ) first time it shows exact no of files , but when I call it again it chages the no of files and folders, but when again I call the same, it shows exact no of records.
Means, to get exact no of Files , I will have to call then API around 3 to 4 times.
Actually , I called the API's at page load, when first time page loads it shows the records properly, when I again refresh/load the page records count not comes properm , when I load/refresh the page again, not comes the recods properly.
Somtime to get the exact no of records , I have to refesh tha page 4 to 5 times
Could you please tell me the reason behind it.
Greg-DB
6 years agoDropbox Staff
The exact number of entries you get back per /2/files/list_folder[/continue] page is not guaranteed. Sometimes the API may return more entries per page, and sometimes it may return fewer.
Regardless of how many entries were returned, your app needs to always check the 'has_more' value and call back for more entries if it's 'true'.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,910 PostsLatest Activity: 3 days agoIf 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!