We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.

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,877 PostsLatest Activity: 19 minutes ago
325 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!