Error codes · Enrolling a key
Invitation invalid
Code
invitation_invalidStatus401
If this was an orderNever returned when buying
Send it again unchanged?No — change something first
.NET SDK
EnrollmentRefusedExceptionWhat it means
The invitation or its token is unknown, already used or expired. An invitation is valid for about a day by default.
What to do
- Ask Anis staff for a new invitation.
Where you can meet it
- GETRead an invitation
/v1/enrollments/{invitationId} - POSTSubmit a public key
/v1/enrollments/{invitationId}/keys - POSTProve you hold the key
/v1/enrollments/{invitationId}/proof - GETRead enrolment status
/v1/enrollments/{invitationId}/status
Example
The body of the refusal. Its type is the address of this page.
{
"type": "https://developers.anis.ly/errors/invitation-invalid",
"title": "Invitation invalid",
"status": 401,
"code": "invitation_invalid",
"requestId": "01J9R2K8T4V6XQ0M3B7C5D9E1F"
}