Skip to main content

CheckFailureReason

@rotorsoft/act-root


@rotorsoft/act-root / act-http/src/receiver / CheckFailureReason

Type Alias: CheckFailureReason

CheckFailureReason = "missing-key" | "missing-signature" | "missing-timestamp" | "stale" | "future" | "bad-signature"

Defined in: libs/act-http/src/receiver/check.ts:11

Failure reasons returned by checkWebhook. The shape splits missing-key (a client error, mapped to HTTP 400) from the five verification failures (authentication errors, HTTP 401) so each maps to its own telemetry bucket.