ContentsErrors

API reference

Errors

Every error of the API has the same shape. Rely on code; message is for humans and may change.

The shape

{
  "error": {
    "code": "invalid_cursor",
    "message": "The cursor is not one this API issued."
  }
}

All codes

CodeStatusMeaning
invalid_cursor400The cursor is not one this API issued.
invalid_email400This is not a valid email address.
invalid_idempotency_key400The Idempotency-Key must be 1 to 255 visible ASCII characters.
invalid_request400The request could not be read or is missing a required field.
unauthorized401Missing, unknown or revoked key.
origin_not_allowed403This origin may not sign up for this product.
waitlist_closed403This waitlist takes no new sign-ups at the moment.
not_found404No such entry.
unknown_product404No product has this public key.
already_invited409The entry was already invited.
already_redeemed409The entry has redeemed its invitation; there is nothing to send again.
idempotency_in_progress409A request with this Idempotency-Key is still running.
not_confirmed409The entry has not confirmed its address yet and cannot be invited.
not_invited409The entry was not invited yet, so there is no invitation to send again.
email_not_allowed422This waitlist only takes addresses of certain domains, and this is not one of them.
idempotency_key_reused422This Idempotency-Key was already used for a different request.
too_fast422The form was submitted too fast, or without its elapsed time.
rate_limited429Too many requests. Retry after the number of seconds in Retry-After.
mail_failed502The mail could not be handed over. Nothing was changed; try again.