cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
We recently received a question asking for advice on how to set up a Dropbox account for an elderly family member. This prompted us to think about the different ways we can make Dropbox more accessible in general, learn about it and add your tips right over here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
1
Ask
2
Reply and help

Create team folder in business endpoint

Create team folder in business endpoint

saritafurtado
Explorer | Level 3

I am trying to create team folder with Dropbox Business Standard plan in dropbox api explorer


curl -X POST https://api.dropboxapi.com/2/team/team_folder/create \
  --header 'Authorization: Bearer xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'\
  --header 'Content-Type: application/json' \
  --data '{"name":"test"}'


But it gives me following error
 
{
  "{   "error_summary ": "invalid_account_type/endpoint/.",
  "error": {
    ".tag": "invalid_account_type",
    "invalid_account_type": {
      ".tag": "endpoint"
    }
  },
  "user_message": {
    "locale": "en",
    "text": "You can’t create a team folder for this team"
  }
}

How can I create team folder and where it will be visible in UI?

3 Replies 3

Re: Create team folder in business endpoint

Greg-DB
Dropboxer

It sounds like your Business team is using the new team space and member folders configuration that some teams have access to. In that case, you shouldn't use the /2/team/team_folder endpoints anymore. You should just operate on files and folders in the team space instead, e.g., using /2/files/create_folder_v2 via the member file access featurePlease read the Namespace Guide for details on how this works.

Re: Create team folder in business endpoint

test0071
Explorer | Level 4
Will this work in advance plan ? I will be able to create multiple team folders in advanced plan?

Re: Create team folder in business endpoint

Greg-DB
Dropboxer
This isn't about your plan level (Standard or Advanced) but rather just about whether or not the team is using the new "team space" configuration:

https://www.dropbox.com/help/business/team-space-overview

If the team is using the team space configuration, you should just create folders in the team space, per my earlier reply. If the team is not using the team space configuration, you should use the team_folder endpoints. In either case, you can have multiple folders.
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropboxer
  • User avatar
    test0071 Explorer | Level 4
What do Dropbox user levels mean?
Need more support?