Invitee already a member
The API answers 409 Conflict with this problem. Its type is https://lingo.dev/docs/api/errors/invitee-already-member. See Errors and status codes for the shape every error shares.
Cannot invite ada@example.com. That address already belongs to a member of organization <organizationId>, and an invitation would not change their role. Change their role through the organization members instead.
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.
| Field | Type |
|---|---|
organizationId | string |
email | string |
Example#
json
{
"detail": "Cannot invite ada@example.com. That address already belongs to a member of organization <organizationId>, and an invitation would not change their role. Change their role through the organization members instead.",
"organizationId": "<organizationId>",
"email": "ada@example.com",
"type": "https://lingo.dev/docs/api/errors/invitee-already-member",
"status": 409,
"title": "Invitee already a member"
}Returned by#
POST /v2/organizations/{orgId}/invites