Guides · Free check · $9 fix pack

Guides

Stripe webhook failing with a 307 or 308 redirect

89-second walkthrough, captions on. The failing report shown comes from a local demo endpoint, labeled DEMO ENDPOINT on screen. MP4 · Captions (VTT)

If the Stripe delivery log shows 307 or 308, your app answered with a redirect instead of handling the event. Stripe doesn't follow it.

Just moved your app to a new host or domain? See the migration cutover checklist.

Why it fails

Stripe's docs list 3xx as a delivery error: "We consider redirect responses to webhook requests as failures. Set the webhook endpoint destination to the URL resolved by the redirect." (Stripe docs).

Where 307/308 come from

The fix (2 minutes)

  1. Run the request below. If the status is 307 or 308 and you see a location: header, that header is your real URL.
  2. Paste that exact final URL into the endpoint in the Stripe Dashboard.
  3. Resend a failed event from the Dashboard (Stripe allows this for up to 15 days after the event was created) and confirm a 2xx (source). A 400 for your unsigned curl is fine: it means verification is on.
curl -i -X POST https://yourdomain.com/api/webhooks/stripe
# HTTP/2 308
# location: https://www.yourdomain.com/api/webhooks/stripe   <- use this URL in Stripe
Check yours in 10 seconds (free).

Paste your webhook URL. WebhookProof sends 3 harmless test requests and tells you whether Stripe can reach it and whether it rejects unsigned events. If it finds a problem, the $9 fix pack gives you the exact copy-paste fix for your stack (refundable for 14 days).

Run the free check

FAQ

Why does my Stripe webhook get a 308 on Vercel?

Your URL redirects, usually apex to www (or the reverse), http to https, or a trailing-slash rule. Stripe treats redirects as failed deliveries.

Will Stripe follow the redirect?

No. Set the endpoint to the final URL the redirect points to.

What is the difference between 307 and 308 in Next.js?

In Next.js redirects, permanent: true uses 308 and permanent: false uses 307. Both are redirects, and Stripe fails both.

Sources

More guides

Stripe webhook not working? Check these 7 things in order · A customer paid but didn't get access. What went wrong? · No signatures found matching the expected signature for payload · Stripe webhook on Supabase Edge Functions: fixing 401s and signature errors

Last reviewed 2026-10-25. WebhookProof is an independent tool, not affiliated with Stripe, Inc.. Quotes are from the linked documentation.