Webhook Troubleshooting
Cheat sheet · https://pcornel.dk/topic.php?topic=5330
Answer
Evidence-first isolation from source event generation through subscription, delivery, verification, acknowledgement, processing and downstream effect.
Remember
- Symptom ≠ root cause; a missing side effect can originate before delivery, during verification or after acknowledgement.
- No receiver log ≠ no delivery; logging can fail or the request can be rejected before application logging.
- Producer 2xx history ≠ processing success; it proves only the receiver response path.
- Manual replay success ≠ durable fix; the original failure boundary and duplicate safety still require explanation.
First checks
- Producer delivery log (status, response) — what happened
- Consumer logs/request IDs — processing
curl -X POST -d @payload <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
A new successful delivery proves only the tested path now works; root cause is not closed until the first failed boundary is explained and repeated delivery remains safe.
Client payload/auth → HTTP transport → endpoint validation/policy → request accepted → queued/job execution → target mutation → effective state → consumer workload.
Webhook Troubleshooting webhook boundary map
| Boundary | Healthy evidence | Suspicious evidence |
|---|---|---|
| Source / delivery | Event, subscription, delivery ID and attempt metadata are attributable | Missing source event, stale subscription, wrong callback or delivery history gap |
| Trust / acknowledgement | Auth/signature and schema checks occur before safe acknowledgement | Unverified payload, slow handler, 2xx before durable receipt or replay weakness |
| Processing / proof | Durable dedupe/worker evidence matches downstream target state | Duplicate side effect, worker failure hidden by 2xx or no target reconciliation |
| Troubleshooting | First failed boundary is preserved, changed minimally and retested | Blind retries, credential rotation, replay or payload edits before evidence is captured |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5330