Pcornel
Automation · Automation Troubleshooting

Webhook Failure

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

Back to the Topic

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

BoundaryHealthy evidenceSuspicious evidence
Symptom / scopeTime window, immutable source/run identity, effective inputs and exact targets are explicitFloating source, changed inputs or ambiguous targets destroy reproducibility
First failed boundaryTransport/auth/dependency/render/operation evidence identifies the earliest divergenceInvestigation starts at the final error and skips earlier unproven boundaries
Effective outcomeController result is paired with target read-back and workload/service acceptanceGreen execution state or changed symptom substitutes for effective-state verification
Recovery / closureMinimal change restores the original test and regression/partial-state checks are cleanBroad 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

Confirmation

Confirm action

Continue?