Skip to content

auth.signature_invalid

HTTP 401 Signature does not match

In signed mode, the X-Zemo-Signature header does not match the request we received.

Build the canonical string exactly as the Authentication guide shows: method, path, sorted and re-encoded query, timestamp, nonce, SHA-256 of the raw body. Sign the bytes you send, not a re-serialised copy of the JSON. Compare your code with the published test vectors.

Sending the same request again gives the same answer until the cause is fixed.

  • HTTP status: 401 Unauthorized
  • Where you can meet it: Customer API (/v1)
  • Code: auth.signature_invalid (stable: match on the code, not on the title or detail text)
{
"type": "https://docs.zemodata.com/errors/auth.signature_invalid",
"title": "Signature does not match",
"status": 401,
"code": "auth.signature_invalid",
"detail": "…",
"request_id": "req_01JD3K8ZQ4V6W9XG2M5N7P0R1S",
"errors": []
}

See Errors for how problem responses work, and all error codes.