SAML metadata rejected

Moses SkodaEngineer1 min read

The API answers 422 Unprocessable Content with this problem. Its type is https://lingo.dev/docs/api/errors/sso-metadata-rejected. See Errors and status codes for the shape every error shares.

SAML metadata refused at registration: <reason>. Check the metadata URL in your identity provider and submit it again.

Fields#

Besides the standard type, status, title and detail members, the body carries these fields. The detail text is built from them, so a client can show its own text instead.

FieldType
reasonstring

Example#

json
{
  "detail": "SAML metadata refused at registration: <reason>. Check the metadata URL in your identity provider and submit it again.",
  "reason": "<reason>",
  "type": "https://lingo.dev/docs/api/errors/sso-metadata-rejected",
  "status": 422,
  "title": "SAML metadata rejected"
}

Returned by#

  • PUT /v2/organizations/{orgId}/sso