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
TS L.
5 years agoExplorer | Level 4
TaskListFolderAndAccountId does not list all files in the folder
My app is using TaskListFolderAndAccountId to get the list of files and folders from the root directory. It was working fine and list all the files and folders in the root directory without any probl...
- 5 years ago
Thanks! We'll look into it and follow up with you there.
TS L.
Explorer | Level 4
The root direcotry complete folders and files are from my Dropbox root folder. Set A and B are getting from the code Log.i("dbFolderName", "dbFolderName: $dbFolderName") when iterating in
for (i in files.indices) loop.
I tested again by removing the line folderNameArray.clear(). It gave the same results of A and B as before.
Note: I added the line folderNameArray.clear() is to have a clean set before iterating the result.entries with the for(i in files.indices) loop.
Greg-DB
5 years agoDropbox Staff
Thanks for the information. It's unclear from this what the issue is then. Could you open an API ticket so we can take a closer look? Please include the full responses that you're getting, without any processing. That is, show what you're getting back in all of the ListFolderResult objects from all of the calls to listFolder and listFolderContinue without any extra handling so we can see the results and cursors. Thanks!
- TS L.5 years agoExplorer | Level 4
API tiket openned.
Ticket #11426113: API: listFolder not retrieving all folders and files at root directory.
- Greg-DB5 years agoDropbox Staff
Thanks! We'll look into it and follow up with you there.
- TS L.5 years agoExplorer | Level 4
I received reply for Ticket #11426113: API: listFolder not retrieving all folders and files at root directory.
Moe pointed out the bug in my code. The problem is solved!
Thanks Greg.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,915 PostsLatest Activity: 5 hours 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!