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

Info V.1's avatar
Info V.1
Collaborator | Level 8
6 years ago

List_folder does not return team folders

Hi There,

For new Dropbox for business account we are not getting the team folders in the response of the api "list_folder". But, for an old Dropbox account we still get the team folders in the response of the "list_folder" api.

Can someone explain why "list_folder" does not have team folders, and is there any other way to fetch team folders using api?

 

  • Some accounts may use the team space - you'll need set the Dropbox-API-Path-Root header to access that space.  See the team spaces article and linked guides for more information.

  • kylea's avatar
    kylea
    Icon for Dropbox Staff rankDropbox Staff

    Some accounts may use the team space - you'll need set the Dropbox-API-Path-Root header to access that space.  See the team spaces article and linked guides for more information.

    • Info V.1's avatar
      Info V.1
      Collaborator | Level 8

      Thanks Kyle !! 

      Passing the header "Dropbox-API-Path-Root" resolves the issue.