Skip to main content

Invalid signature

typehttps://docs.frem.sh/reference/api/errors/invalid-signature
HTTP status401 Unauthorized

What it means

The request was signed, but the signature did not verify against a current key of the sender it claims to come from, so nothing in it was acted on.

Example detail messages returned with this error:

  • The delivery is not signed with a current key of this partner.

What to do

Sign the request with a current key and send the body exactly as it was signed: a re-serialised body no longer matches its signature. After a key rotation, publish the new public key before you sign with it. Repeated failures from one sender are throttled.

Response shape

All fremforge API errors are RFC 9457 problem+json:

{
  "type": "https://docs.frem.sh/reference/api/errors/invalid-signature",
  "title": "Unauthorized",
  "status": 401,
  "detail": "..."
}

Branch on type, not on title or detail - those are human-readable and may be reworded.