Skip to Content

Why is my webhook not working?

Published . Updated .

Waiting on a webhook that hasn’t shown up, and not sure where to look first? That’s a hard spot. Webhooks tell you very little when they fail, so being stuck here says nothing about your skills.

A webhook usually isn’t working because it failed in one of four places: the sender never sent it, your endpoint rejected it or didn’t answer in time, it arrived but wasn’t processed, or your endpoint returned 200 and nothing happened afterward. Find the place by comparing the sender’s delivery log with a record of what arrived. Then pick the fix that fits: retry a failed delivery, replay what you already received, or backfill from the sender’s API what never arrived.

Slashbin is a webhook gateway. It receives, verifies, transforms, routes, retries and replays inbound webhooks, and it keeps a delivery log you can read event by event.

Why do webhooks fail?

Webhooks fail in four places, and each leaves a different trace.

1. Never sent. The sender has no delivery attempt on record. The cause is on the sender’s side: a disabled or deleted endpoint, an event type that isn’t switched on, or an incident on its platform. Shopify, for one, says repeated failures can delete a subscription created with the Admin API. See Shopify’s webhook delivery docs. Check the sender’s dashboard: if it shows no attempt, the webhook was never sent.

2. Rejected or unanswered. The sender tried, and got an error or no answer in time. Stripe lists the usual shapes: it couldn’t connect, it got a redirect, it got a 4xx or 5xx, there was a TLS error, or the request timed out. Stripe says it considers “redirect responses to webhook requests as failures,” and its Event deliveries tab lists each event as Delivered, Pending or Failed with the HTTP status code. See Stripe’s webhook docs. A failed signature check is one version of this: see How do I verify a webhook signature?.

3. Accepted but not processed. The webhook arrived and was accepted, then a transform or a validation step failed, so nothing downstream saw it. In Slashbin, a webhook that fails validation against your model waits in the dead-letter queue with the validation error attached. See What do I do with my webhook dead letter queue?.

4. Returned 200, and nothing happened. Your endpoint said yes, and the work after the response never ran: a branch that did nothing, a swallowed exception, a write that never happened. That’s a different problem from “not received.” Start with Your webhook returned 200. Why did nothing happen? and My webhook fired. Why is there no data in my database?.

Why was my webhook not received?

Either the sender never sent it, or it sent it and nothing of yours recorded it. Open the sender’s delivery log and compare it with what you recorded on arrival. If the log shows a 2xx you didn’t record, look at which URL and which deployment answered. If the log shows an error or no answer, the sender may still retry. If it shows no attempt, check the sender’s endpoint and event settings, and check the sender’s own status page. How do I know if my webhook was delivered? walks through the comparison.

If the sender never sent a webhook, Slashbin has no copy to replay. Replay works on webhooks Slashbin already received. To fill a gap the sender left, list the objects from the sender’s API and backfill them. A backfill finds objects created during the gap, in their current state. It does not recover a change to an object you already had.

What happens if a webhook fails?

What happens next depends on the sender, and then on what your endpoint does.

Stripe says: “Stripe attempts to deliver events to your destination for up to three days with an exponential back off in live mode.” It also says: “If your destination has been disabled or deleted when we attempt a retry, we prevent future retries of that event.” See Stripe’s webhook docs and How do I retry failed Stripe webhooks?.

Shopify says that if it gets no response or an error, it retries the delivery. It also says “Any response outside the 200 range, including 3XX codes, is treated as an error,” with “a one-second connection timeout and a five-second timeout for the entire request.” For the current retry schedule, see Shopify’s webhook delivery docs.

GitHub says: “GitHub does not automatically redeliver failed webhook deliveries.” You can redeliver manually or write a script. See GitHub’s failed-delivery docs.

Once a webhook reaches Slashbin, three things can follow:

  • Your destination is down or slow. Slashbin retries each destination on its own backoff, and a circuit breaker pauses a destination that keeps failing so your other destinations keep receiving. Retries run on every plan. See how retries work.
  • Retries run out. The delivery is marked failed in the dashboard and the delivery log, with the reason. A failed delivery is not moved to the dead-letter queue. To send it again, replay it: see the plan windows below.
  • No model yet, or validation fails. The webhook waits in the dead-letter queue. Free keeps those items 3 days. Fix or create the model, then retry from the dead-letter queue. Retrying from the dead-letter queue and replaying a data stream are different operations. See What do I do with my webhook dead letter queue?.

What can I see and do in Slashbin today?

  • Read the delivery log. The delivery log shows each delivery to a destination, with the payload, the response code, and how many attempts were made. The signature result is on the webhook’s lifecycle in the inspector. Slashbin checks source signatures for supported providers; see the integrations list.
  • Retry a failed delivery. Retries are automatic, per destination, with backoff and a circuit breaker. See how retries work.
  • Replay what Slashbin already received. Replay re-delivers stored payloads through your latest transform, inside your plan’s history window. Free: 3 days, one record at a time by entity ID, which needs a primary key flagged on the model. Lite: 7 days, with date-range replay. Pro: 30 days, with date-range replay. See how replay works and pricing.
  • Read the daily dead-letter digest. Slashbin emails a daily digest of new dead-lettered webhooks: ones that arrived before a model existed, and ones that failed validation. It runs on every plan, sends at 08:00 in your organization’s time zone, and you can opt out under Account → Notifications. It does not cover failed deliveries.

Slashbin doesn’t email you the moment a delivery fails, doesn’t tell you when a source goes quiet, and can’t replay a webhook the sender never sent. Because of those limits, comparing the sender’s log with your own record is still the step that shows where a webhook went.

Where do I check next, by sender?

Questions people ask

Why is my webhook not working?

A webhook usually fails in one of four places: never sent, rejected or unanswered, accepted but not processed, or answered with 200 and then dropped by your code. Compare the sender’s delivery log with a record of what arrived to find which.

Why do webhooks fail?

The sender may not send, your endpoint may reject a request or time out, a payload may fail validation or a transform after it’s accepted, or your code may return 200 without doing the work. Each leaves a different trace in a delivery log.

Why was my webhook not received?

Either the sender never sent it, or it sent it and nothing of yours recorded it. Check the sender’s delivery log first; if it shows a 2xx you didn’t record, look at which URL and deployment answered.

What happens if a webhook fails?

It depends on the sender: Stripe retries automatically for up to three days in live mode, and GitHub does not redeliver failed deliveries on its own. Once Slashbin has the webhook, it retries failed deliveries to each destination, then marks the delivery failed in the delivery log with the reason.

Does Slashbin email me when a delivery fails?

No. Slashbin sends a daily digest email of dead-lettered webhooks, ones that arrived before a model existed or failed validation, but it does not email about failed deliveries.

Can Slashbin recover a webhook the sender never sent?

No. Replay re-delivers webhooks Slashbin already received, not ones the sender never sent. To fill a gap the sender left, list the objects from the sender’s API and backfill them.

How do I know if my webhook was delivered?

Delivered means your endpoint answered the sender with a 2xx. To know on your side, record each event ID on arrival and compare those receipts with the sender’s delivery log: see How do I know if my webhook was delivered?.

Deliver the integration. Let Slashbin handle the webhooks.

Need somewhere for the next project’s webhooks to land? Slashbin’s Free plan takes an account, not a card.

Start free

(opens in a new tab)

Questions? Email [email protected]. Or ask on Discord.