Use it when designing, operating or troubleshooting the webhook boundary around Retries. Keep producer event, delivery identity, source verification, acknowledgement, durable processing and downstream state separate.
Retries
Producer redelivery policy after timeout or retryable response, typically creating at-least-once rather than exactly-once semantics.
1. Producers retry failed deliveries.
2. Return 2xx after durable enqueue.
3. 5xx/timeouts trigger retries.
4. 4xx usually stops retries.
5. Expect duplicates.
failed delivery → producer retries → consumer dedups
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
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
delivery attempt → timeout/status → retry classification → backoff → redelivery with event ID → consumer dedupe → final success/failure
Healthy evidence: retry rules are known, consumers dedupe durably and manual replay is reconciled with prior side effects.
Step 2 Failure modes and next checks Narrow the fault
Suspicious evidence: blind replay, no attempt visibility, non-idempotent side effects, synchronized retry storms or timeout treated as evidence the consumer did nothing.
Step 3 Common mistakes Narrow the fault
- Returning 500 for bad payloads, causing endless retries (use 4xx).
- Not idempotent on repeats.
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.
- Retry ≠ new event; the same logical event can arrive multiple times.
- Timeout ≠ first attempt failed; consumer processing may have succeeded before the response was lost.
- Backoff ≠ deduplication; repeated delivery can still duplicate side effects.
- More retries ≠ more reliability automatically; long retry storms can overload a degraded consumer.
- Producer retry schedule — behaviour
- Consumer returns 5xx only for retryable errors — signals
- Idempotent processing — safe retries
ReferenceWhat it is1 section · depth on demand
What it is
Senders retry webhooks when the receiver times out or returns an error, often with backoff. The receiver must handle repeats safely.
ReferenceImportant terms & boundaries2 sections · depth on demand
What this shows and what it does not
A retry policy shows the producer will attempt redelivery under defined conditions; it does not provide exactly-once processing.
In depth
Webhook retries are how a sender handles a receiver that did not answer successfully. Most platforms resend the webhook several times over minutes to hours if they get a timeout or a non-2xx response; after the last attempt the delivery is marked failed.
Receiver guidance:
- Respond quickly (within a few seconds) with 2xx, then process asynchronously — slow handlers cause timeouts and unnecessary retries.
- Return 4xx for permanently invalid requests so senders stop retrying where they respect it, 5xx for temporary problems.
- Deduplicate by delivery ID, because retries mean the same event can arrive several times.
Check the sender's delivery log (GitHub, GitLab, NetBox and most SaaS tools keep one) when an expected webhook never triggered anything — it shows the response code and body the receiver returned.
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 > Retries. 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
Retries webhook boundary map
Fast request/delivery, trust, processing and verification boundaries for Retries.
| 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 |