Error codes · Keys and signatures

Signature expired

Codesignature_expired
Status401
If this was an orderThis request bought nothing
Send it again unchanged?Yes — see What to do
.NET SDKInvalidCredentialsException

What it means

Reserved. Anis does not send this code today: a signature that is too old, or signed on a clock that is out, is answered invalid_credentials — on purpose, so a refusal never says which part of a signature failed.

What to do

  • Handle it like invalid_credentials if you ever receive it.
  • Keep your server clock synchronised (NTP), and sign every attempt afresh.

Example

The body of the refusal. Its type is the address of this page.

{
  "type": "https://developers.anis.ly/errors/signature-expired",
  "title": "Signature expired",
  "status": 401,
  "code": "signature_expired",
  "requestId": "01J9R2K8T4V6XQ0M3B7C5D9E1F"
}