Use it when the symptom is “Webhook Failure”: work through the layers in order and stop at the first one that fails.
Webhook Failure
Webhook Failure isolates event-delivery automation across subscription configuration, event production, endpoint reachability/TLS, signature validation, payload parsing, acknowledgement, retry/deduplication and downstream processing.
1. Webhook failure: URL/DNS/TLS, firewall, signature mismatch (raw body altered), slow handler timeouts, duplicates.
2. Check both sides.
3. Reproduce.
4. Fix and replay events.
5. Monitor.
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
producer event → subscription/filter → delivery/TLS → signature/replay validation → payload parse → acknowledgement → durable enqueue → downstream job → deduplication → target effect → acceptance
Healthy evidence: event, delivery and downstream job IDs correlate, signature/replay checks pass, retry/dedup behavior is tested, and the intended target effect is verified.
Step 2 Telling causes apart Verify boundary
Known-good is the health endpoint returning its documented healthy status, a fresh test event receiving the expected delivery response, the receiver validating identity/signature, and exactly one intended downstream effect recorded for the same event ID. Broken state is failed health, repeatable 4xx/5xx, signature reject, retry exhaustion or accepted delivery with no/duplicate effect. Health-check success shows receiver availability only, but it does not show end-to-end event delivery/processing.
Step 3 Common mistakes Verify boundary
- Signature mismatch due to body re-serialisation.
Step 4 Failure modes and next checks Narrow the fault
Suspicious evidence: 2xx is treated as final completion, event IDs are missing, retries create duplicate changes, or signature validation is disabled to make delivery work.
Step 5 Observation-driven branch and next-check logic Narrow the fault
Query curl -sS -D - -o /dev/null <webhook-health-url> from the relevant network path. If no healthy HTTP response exists, fix receiver transport/service first; if health is good, correlate one event ID through producer delivery logs, HTTP status, signature/auth decision and consumer processing. For repeated 4xx inspect payload/signature/version; for 5xx inspect receiver failure and retry policy; for duplicate/missing effects inspect idempotency keys and dead-letter queues before replaying events.
Step 6 Where it fails Narrow the fault
Where Webhook Failure 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.
- 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.
- Producer delivery log — response codes
- Consumer logs/signature check — rejections
curl -X POST -d @sample <endpoint>— reproduce
ReferenceWhat it is1 section · depth on demand
Core model
Pin subscription/event ID and endpoint; confirm event was emitted; capture delivery attempt, signature/timestamp and response; distinguish delivery from durable processing; honor retry semantics; deduplicate by stable event ID; trace downstream job and target effect; verify final outcome.
ReferenceHow it works1 section · depth on demand
How it works and how it fails
Webhook Failure crosses producer event creation, queue/retry delivery, DNS/TLS/HTTP transport, receiver authentication/signature validation, deduplication and downstream processing. A health endpoint queried with curl shows receiver reachability, not that the producer generated or signed the event correctly. Delivery can also be accepted with 2xx while asynchronous processing later fails.
ReferenceImportant terms & boundaries2 sections · depth on demand
What this shows and what it does not
Webhook delivery evidence shows transport/acknowledgement only for a specific attempt, but it does not show downstream processing or exactly-once side effects.
In depth
A webhook failure means an event did not reach the receiver or was not processed. The producer's delivery log and the receiver's logs together show where it failed.
| Producer delivery result | Meaning |
|---|---|
| No delivery recorded | Event/subscription not configured |
| Timeout/connection error | Receiver unreachable or too slow |
| 4xx | Signature, auth or URL wrong |
| 5xx | Receiver crashed |
| 2xx | Delivered — check async processing |
Redeliver from the producer after fixing, and make sure handlers are idempotent so redelivery is safe.
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 Automation Troubleshooting > Webhook Failure. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://learn.microsoft.com/en-us/azure/architecture/patterns/retry · 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 Failure troubleshooting proof-boundary map
Fast symptom/scope, first-failed-boundary, effective-outcome and recovery/closure map for Webhook Failure.
| 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 |
Deep reference
Healthy vs suspicious evidence
Output interpretation
For Webhook Failure, 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.