Where it is raised
POST /api/v1/incidents/inbound/{token}
What triggers it
A token created with a signing secret needs an X-RealUptime-Signature header carrying sha256= and the HMAC-SHA256 of the exact raw body. The header is read before the body is parsed, so re-serializing JSON in the sender breaks it. The audit row records missing_signature or bad_signature.
Example response
POST /api/v1/incidents/inbound/<token>
HTTP 401
Cache-Control: no-store
{
"error": "The request signature is missing or does not verify.",
"code": "RU-5006"
}Common causes
- The alerting tool does not sign bodies and the webhook was created with signing turned on.
- The secret was rotated (rotating a token also rotates its secret) and the tool still signs with the old one.
- The body was re-serialized after signing (whitespace or key order changed), so the signature no longer matches the bytes received.
How to fix it
- Sign the exact bytes you send, with the secret shown once when the webhook was created or rotated.
- If your tool cannot sign, create the webhook without a signing secret instead; the token in the URL is still the credential.