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

jakub_slesarik's avatar
jakub_slesarik
Explorer | Level 3
3 years ago

List_folder does not return team folders

Hi guys,   Two days ago our automated tests started failing out of the blue. We were checking that "/files/list_folder" returns both shared and team folders, but since then team folders have not ap...
  • Greg-DB's avatar
    3 years ago

    I'm not aware of any changes that should have caused this, but there are a number of possible things that might have occurred here.

     

    First, you mentioned using ListFolderAsync, but have you also implemented ListFolderContinueAsync? That interface is paginated and does not guarantee all entries will be returned on a single call to ListFolderAsync. You should always check ListFolderResult.HasMore and if it's true, call back to ListFolderContinueAsync fore more entries. You can find more information in the ListFolderAsync documentation. The exact number and set of entries returned on any individual page can vary over time, due to folder structure and activity, etc.

     

    Otherwise, there are a number of other things that might have affected this, such as:

    • the shared/team folders were unshared (either entirely or just from the relevant member)
    • the team switched to the team space configuration; see the Team Files Guide for more information
    • the team was disbanded

    If you still need help sorting this out, feel free to open an API ticket with the relevant member ID (but don't share any access/refresh token).

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,910 PostsLatest Activity: 4 days ago
333 Following

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!