Bolt api

Webhook Not Receiving Requests - Events Not Triggered

You've registered a webhook URL but never receive requests from the service (Stripe, GitHub, etc.). The webhook endpoint is never called.

The service shows 'failed delivery' or 'pending' status.

Error Messages You Might See

Webhook delivery failed - timeout Webhook returned 401 Unauthorized Endpoint not reachable Connection refused to webhook URL
Webhook delivery failed - timeoutWebhook returned 401 UnauthorizedEndpoint not reachableConnection refused to webhook URL

Common Causes

  1. Webhook URL not publicly accessible or behind authentication
  2. Webhook endpoint returns error status code (not 200-299)
  3. URL has typo or wrong path
  4. Service can't reach your domain (firewall, development environment)
  5. Webhook signature validation failing, returning 401

How to Fix It

Test webhook URL is publicly accessible: curl https://your-domain.com/api/webhooks/stripe

Endpoint must return 200 status immediately: return NextResponse.json({ ok: true })

Disable signature verification temporarily to test if webhook reaches endpoint

Check webhook delivery logs in service dashboard (Stripe has 'Event' logs)

Ensure endpoint doesn't require authentication (no auth cookie checks)

Real developers can help you.

Tejas Chokhawala Tejas Chokhawala Full-stack engineer with 5 years experience building production web apps using React, Next.js and TypeScript. Focused on performance, clean architecture and shipping fast. Experienced with Supabase/Postgres backends, Stripe billing, and building AI-assisted developer tools. BurnHavoc BurnHavoc Been around fixing other peoples code for 20 years. Matt Butler Matt Butler Software Engineer @ AWS Pratik Pratik SWE with 15+ years of experience building and maintaining web apps and extensive BE infrastructure rayush33 rayush33 JavaScript (React.js, React Native, Node.js) Developer with demonstrated industry experience of 4+ years, actively looking for opportunities to hone my skills as well as help small-scale business owners with solutions to technical problems Matthew Jordan Matthew Jordan I've been working at a large software company named Kainos for 2 years, and mainly specialise in Platform Engineering. I regularly enjoy working on software products outside of work, and I'm a huge fan of game development using Unity. I personally enjoy Python & C# in my spare time, but I also specialise in multiple different platform-related technologies from my day job. Costea Adrian Costea Adrian Embedded Engineer specilizing in perception systems. Latest project was a adas camera calibration system. MFox MFox Full-stack professional senior engineer (15+years). Extensive experience in software development, qa, and IP networking. Kingsley Omage Kingsley Omage Fullstack software engineer passionate about AI Agents, blockchain, LLMs. Simon A. Simon A. I'm a backend developer building APIs, emulators, and interactive game systems. Professionally, I've developed Java/Spring reporting solutions, managed relational and NoSQL databases, and implemented CI/CD workflows.

You don't need to be technical. Just describe what's wrong and a verified developer will handle the rest.

Get Help

Frequently Asked Questions

How do I test webhooks locally?

Use ngrok: ngrok http 3000, then use ngrok URL for webhook. Or use Stripe CLI for Stripe webhooks

Why would webhook reach endpoint but validation fail?

Signature verification failing. Check secret key matches, verify timestamp isn't expired (usually 5min tolerance)

Should I process webhook synchronously?

No! Return 200 immediately, process async. Webhook services timeout after ~30s

Related Bolt Issues

Can't fix it yourself?
Real developers can help.

You don't need to be technical. Just describe what's wrong and a verified developer will handle the rest.

Get Help