Skip to main content

Invalid group team map

typehttps://docs.frem.sh/reference/api/errors/invalid-group-team-map
HTTP status400 Bad Request

What it means

group_team_map does not have the expected shape: { "<idp-group>": { "<your-org>": ["<team>", ...] } }.

Returned by POST and PUT /orgs/{slug}/sso.

Example detail messages returned with this error:

  • group_team_map must be an object of { “”: { “”: [""] } }.
  • Team names must be 1-64 character strings.

What to do

Send an object keyed by identity-provider group name. Each value is an object with your org as the only key, mapping to a non-empty array of team names. Limits: 64 groups, 256 characters per group name, 32 teams per group, 64 characters per team name. To clear the map, send {}.

Response shape

All fremforge API errors are RFC 9457 problem+json:

{
  "type": "https://docs.frem.sh/reference/api/errors/invalid-group-team-map",
  "title": "Bad Request",
  "status": 400,
  "detail": "..."
}

Branch on type, not on title or detail - those are human-readable and may be reworded.