Invitation already pending
What the InviteAlreadyExists error (409 Conflict) means, the fields it carries, and the endpoints that return it.
The API answers 409 Conflict with this problem. Its type is https://lingo.dev/docs/api/errors/invite-already-exists. See Errors and status codes for the shape every error shares.
Organization <organizationId> already has a pending invitation for ada@example.com. Cancel that invitation before sending a new one.
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": "Organization <organizationId> already has a pending invitation for ada@example.com. Cancel that invitation before sending a new one.",
"organizationId": "<organizationId>",
"email": "ada@example.com",
"type": "https://lingo.dev/docs/api/errors/invite-already-exists",
"status": 409,
"title": "Invitation already pending"
}Returned by #
POST /v2/organizations/{orgId}/invites