Error codes · Enrolling a key

Invitation invalid

Codeinvitation_invalid
Status401
If this was an orderNever returned when buying
Send it again unchanged?No — change something first
.NET SDKEnrollmentRefusedException

What it means

The invitation or its token is unknown, already used or expired — or five proofs have failed, so the next one is refused this way. An invitation is valid for 24 hours.

What to do

  • Ask Anis staff for a new invitation — or, after five failed proofs, to restart the enrolment.
  • More than about 30 minutes after the key submission a proof can no longer succeed: do not prove again — ask Anis staff to restart the enrolment. After five failed proofs the next one is refused as invitation_invalid.

Where you can meet it

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"
}