Use it when designing, operating or troubleshooting the webhook boundary around Webhook Troubleshooting. Keep producer event, delivery identity, source verification, acknowledgement, durable processing and downstream state separate.
Webhook Troubleshooting
Evidence-first isolation from source event generation through subscription, delivery, verification, acknowledgement, processing and downstream effect.
1. Not received: URL, DNS, TLS, firewall, producer config.
2. Rejected: signature/secret mismatch, raw body changed by proxy.
3. Timeouts: slow handler.
4. Duplicates: idempotency missing.
5. Fix and replay.
producer → network → endpoint → verify → process
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
curl -sS -D - -o /dev/null <webhook-health-url>Primary Commands
Configuration and operational commands for this Topic.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Operational evidence path Verify boundary
source event/time → subscription/filter → delivery attempt → DNS/TLS/HTTP → auth/signature → schema/dedupe → acknowledgement → worker/downstream action → retry/DLQ → minimal fix → original-event verification
Healthy evidence: event/delivery IDs correlate both sides, the first failing step is identified, the fix is minimal and downstream plus duplicate behavior are verified.
Step 2 Known-good, broken and when it is fixed Verify boundary
Known-good means a controlled event is delivered, authenticated, durably accepted once, processed to the intended downstream state and acknowledged within provider expectations. Simulate/replay a duplicate where supported to show idempotency. A provider 'delivered 200' result shows receiver acknowledgement, not that all downstream automation completed successfully.
Step 3 Command read-back and what it shows Verify boundary
Known-good is the endpoint is reachable, the intended signed event is accepted once, handler processing completes and the original downstream state change is observable; broken state is transport/TLS/5xx, authentication/signature/replay rejection, duplicate/missing processing or 2xx acceptance followed by failed/stuck handler execution. The health endpoint shows receiver service reachability only, but it does not show event delivery, signature validation for a specific payload or downstream handler completion.
Step 4 Failure modes and next checks Narrow the fault
Suspicious evidence: blind secret rotation, replay without dedupe, only checking producer dashboard, no worker evidence or success declared because one callback returned 200.
Step 5 Native failure isolation and next-check logic Narrow the fault
Start with one provider event/delivery ID and inspect whether it matched the subscription, when delivery was attempted, target URL/status/latency and retry history. On the receiver, validate signature using the raw body and correct timestamp tolerance before parsing. If 2xx is returned but downstream work is missing, inspect queue/job persistence after acknowledgement. If duplicates occur, verify idempotency/dedup keys. Never disable signature validation to diagnose a payload mismatch; compare canonical/raw payload handling instead.
Step 6 Observation-driven branch and next-check logic Narrow the fault
If endpoint health is unreachable/5xx, inspect network/proxy/service; if health is good but producer gets 401/403/signature errors, inspect secret/key/canonicalization/time; if requests are accepted but no action occurs, correlate event ID through queue/handler/downstream logs.
Step 7 Where it fails Narrow the fault
Where Webhook Troubleshooting usually goes wrong: delivery identity, signature/authentication, payload version, duplicate delivery, retries and dead-letter handling.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- 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.
- Producer delivery log (status, response) — what happened
- Consumer logs/request IDs — processing
curl -X POST -d @payload <endpoint>— reproduce
ReferenceWhat it is1 section · depth on demand
Common mistakes
- Not checking delivery logs on the producer side.
ReferenceHow it works2 sections · depth on demand
How it works
Webhook delivery involves event production, subscription/filtering, endpoint DNS/TLS/reachability, request signing/authentication, receiver parsing, acknowledgement semantics and retry/dead-letter behavior. Providers often retry on timeout or non-2xx status, so a receiver that performs side effects before durable deduplication can process the same event multiple times. Event ID and delivery ID are critical evidence.
How it works
Webhook Troubleshooting is governed by event producer delivery, HTTP endpoint/TLS, signature/auth validation, receiver queue/handler and downstream action state. A webhook producer sends an HTTP request that the receiver authenticates/validates before acknowledging and dispatching a handler; HTTP acceptance and asynchronous handler completion are separate stages. DNS/TLS, reverse proxy, shared secret/key rotation, replay protection, queue capacity and downstream APIs are distinct boundaries. The important state separation is that a healthy webhook endpoint does not show a specific event was delivered, and HTTP 2xx does not necessarily show asynchronous processing completed.
ReferenceImportant terms & boundaries2 sections · depth on demand
What this shows and what it does not
A new successful delivery shows only the tested path now works; root cause is not closed until the first failing step is explained and repeated delivery remains safe.
Method
Webhook troubleshooting checks both ends of the delivery: did the producer send it, and what did the receiver do with it?
1. Producer side: open its delivery log — was the event sent, what status did it get?
2. Network: DNS, TLS certificate validity, firewall/reverse proxy reaching the receiver.
3. Receiver: access logs for the request, application logs for errors.
4. Signature: secret matches, verification uses the raw body.
5. Processing: queued job status, DLQ entries.
6. Replay a delivery from the producer once fixed.
| Producer shows | Meaning |
|---|---|
| Connection error/timeout | Receiver unreachable or too slow |
| 401/403 | Signature or token mismatch |
| 404 | Wrong URL path |
| 5xx | Receiver crashed processing |
| 2xx but nothing happened | Async processing failed — check worker logs |
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Webhooks > Webhook Troubleshooting. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://docs.github.com/en/webhooks/using-webhooks/validating-webhook-deliveries · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
Webhook Troubleshooting webhook boundary map
Fast request/delivery, trust, processing and verification boundaries for Webhook Troubleshooting.
| 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 |
Deep reference
Healthy vs suspicious evidence
Output interpretation
For Webhook Troubleshooting, rely on structured fields and stable IDs (delivery identity, signature/authentication, payload version, duplicate delivery, retries and dead-letter handling) rather than text formatted for display.