409 Conflict
Invitation used, revoked or expired
- Code
invitation_unavailable- Status
409Conflict- Type
https://errors.clavian.io/invitation-unavailable
What it means
The invitation cannot be accepted: it was used already, it was withdrawn, or it has expired. It does not come back.
What to do
Ask whoever sent it for a new invitation.
Example
The API answers with status 409 and this body, as application/problem+json. A detail may be added, saying what went wrong this time; it is for people, and changes.
{
"type": "https://errors.clavian.io/invitation-unavailable",
"title": "Invitation used, revoked or expired",
"status": 409,
"code": "invitation_unavailable",
"requestId": "req_01k5znw4hmfay8vvr14d2pf2db"
}
Endpoints that return it
From the OpenAPI document, every endpoint that names it among its answers:
POST /v1/invitations/acceptJoin the staff with an invitation linkDELETE /v1/organizations/{organizationId}/invitations/{invitationId}Withdraw an invitation