Forum Discussion

Hotovo's avatar
Hotovo
New member | Level 2
6 years ago

2/team/team_folder/create error

Hi Team,

 

I would like to ask about endpoint team_folder/create. We are writting tests but we cannot make request using this endpoint. I read here on forum that our team is set up to use the "team space" configuration and that we should use different endpoint but we cant use different endpoint for our tests. We need to test each endpoint from business endpoints. Therefore, my question is how to change our configuration in order to make request using this endpoint ? really appreciate your help.

 

This is our 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"
  }
}

1 Reply

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    6 years ago

    If your team is using the "team space" configuration it doesn't need to use the /2/team/team_folder/create endpoint, since that functionality doesn't apply to the team. Accordingly, attempting to call /2/team/team_folder/create will fail. There isn't a way to switch between these configurations on demand.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.

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, Facebook or Instagram.

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!