Pcornel
Automation · Webhooks

Webhook Troubleshooting

Cheat sheet · https://pcornel.dk/topic.php?topic=5330

Back to the Topic

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

BoundaryHealthy evidenceSuspicious evidence
Source / deliveryEvent, subscription, delivery ID and attempt metadata are attributableMissing source event, stale subscription, wrong callback or delivery history gap
Trust / acknowledgementAuth/signature and schema checks occur before safe acknowledgementUnverified payload, slow handler, 2xx before durable receipt or replay weakness
Processing / proofDurable dedupe/worker evidence matches downstream target stateDuplicate side effect, worker failure hidden by 2xx or no target reconciliation
TroubleshootingFirst failed boundary is preserved, changed minimally and retestedBlind 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

Confirmation

Confirm action

Continue?