Owner role not invitable

Moses SkodaEngineer1 min read

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

The Owner role cannot be given through an invitation. Invite the user with another role, then hand off ownership once they have accepted.

Fields#

This problem carries only the standard members.

Example#

json
{
  "detail": "The Owner role cannot be given through an invitation. Invite the user with another role, then hand off ownership once they have accepted.",
  "type": "https://lingo.dev/docs/api/errors/owner-role-not-invitable",
  "status": 422,
  "title": "Owner role not invitable"
}

Returned by#

  • PATCH /v2/invites/{id}
  • POST /v2/organizations/{orgId}/invites