Unable to create team via API for some specific team name

Hi Guys,

I have found some strange issue with API today. When I tried to create a team via API with the team name like team, test then the API returns an error message as “This URL is unavailable. Please try another.”. I have verified this case multiple times and confirmed that the issue is there. Please advice someone?


There are some team names that are restricted. You can remove this restriction by modifying your config.json setting "RestrictTeamNames": false, at https://github.com/mattermost/platform/blob/master/config/config.json#L29

For a list of restricted words checkout http://docs.mattermost.com/administration/config-settings.html#team-settings

Got it. Thanks. FYI, this restriction is not applicable when we create the team via web UI.