We Want to Hear From You! What Do You Want to See on the Community? Tell us here!
Forum Discussion
saritafurtado
7 years agoExplorer | Level 3
Create team folder in business endpoint
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
- Greg-DB7 years ago
Dropbox Community Moderator
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 feature. Please read the Namespace Guide for details on how this works.
- test00717 years agoExplorer | Level 4Will this work in advance plan ? I will be able to create multiple team folders in advanced plan?
- Greg-DB7 years ago
Dropbox Community Moderator
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.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.6,036 PostsLatest Activity: 9 months ago
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!