Webhook Failure
Cheat sheet · https://pcornel.dk/topic.php?topic=6065
Answer
Webhook Failure isolates event-delivery automation across subscription configuration, event production, endpoint reachability/TLS, signature validation, payload parsing, acknowledgement, retry/deduplication and downstream processing.
Remember
- Event generated ≠ webhook delivery attempted.
- 2xx acknowledgment ≠ downstream processing completed.
- Valid signature ≠ payload is authorized for every action.
- Repeated delivery ≠ repeated side effect should occur.
First checks
- Producer delivery log — response codes
- Consumer logs/signature check — rejections
curl -X POST -d @sample <endpoint>— reproduce
Commands
curl -sS -D - -o /dev/null <webhook-health-url>- Read-only/validation observation for documented non-mutating health/read endpoint for the webhook receiver.
Verify in this order
producer → network → endpoint → verify → process
Where it usually breaks
Webhook delivery evidence proves transport/acknowledgement only for a specific attempt; it does not prove downstream processing or exactly-once side effects.
Client payload/auth → HTTP transport → endpoint validation/policy → request accepted → queued/job execution → target mutation → effective state → consumer workload. Preserve at least three independent checks: prerequisite/interface or identity/transport state; the owning control/service/policy state; then effective data-plane, backend or workload state. A healthy upstream boundary does not prove the downstream consumer or return path.
Webhook Failure troubleshooting proof-boundary map
| Boundary | Healthy evidence | Suspicious evidence |
|---|---|---|
| Symptom / scope | Time window, immutable source/run identity, effective inputs and exact targets are explicit | Floating source, changed inputs or ambiguous targets destroy reproducibility |
| First failed boundary | Transport/auth/dependency/render/operation evidence identifies the earliest divergence | Investigation starts at the final error and skips earlier unproven boundaries |
| Effective outcome | Controller result is paired with target read-back and workload/service acceptance | Green execution state or changed symptom substitutes for effective-state verification |
| Recovery / closure | Minimal change restores the original test and regression/partial-state checks are clean | Broad retry or unrelated edits make the incident non-reproducible and hide residual state |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=6065