Cut the Clutter: Test Ignore Files Feature - sign up to become a beta tester here.

Forum Discussion

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

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.

2 Replies

  • kylea's avatar
    kylea
    Icon for Dropbox Staff rankDropbox Staff
    7 years ago

    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
    7 years ago

    Thanks Kyle !! 

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

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.6,037 PostsLatest Activity: 21 hours ago
413 Following

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

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!