Announcements
Known issues updated. Learn more

Error When creating new folder in teams

Explorer | Level 3

While creating new folder in teams i am getting 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"
}
}
 
Not able to resolve this issue as i am stuck at this place for this account and i am using team member file access. Please suggest a solution in HTTP and also in C# SDK i am developing with C#.
1 Reply

Re: Error When creating new folder in teams

Dropboxer

It sounds like your team is set up to use the "team space" configuration, so you shouldn't use the /2/team/team_folder/* endpoints. To create a folder in the team space, you should use the /2/files/create_folder_v2 endpoint. That's CreateFolderV2Async in the .NET SDK. Please refer to the Namespace Guide for information on how to operate in the team space. You can set the the 'Dropbox-API-Path-Root' header in the .NET SDK using DropboxClient.WithPathRoot

Reply
Loading...
API Support

Have a question? Our Dropbox Community is here to help you find an answer!
You won’t have to wait too long for a reply, but why not learn more about the Community while you’re here.

Not the right discussion for you? Find out what else our Community has to say about API Support.

Or, search our Help Center for even more.

Who's talking
Top contributors to this post