Stripe Webhook 405 Error

Hi everyone I am having a problem with stripe webhooks in Vercel production. The problem is intermittent. Sometimes the webhook works as expected, and other times i receive a HTTP 405 error. I see in my stripe account that the webhook failed and when I correspond it to the Vercel logs the webhook never reached vercel

Current behavior is webhooks are working sometimes, expecting stripe webhooks to reach vercel 99% of time

Hey, @databuddiessolutions! Welcome :waving_hand:

The HTTP 405 error typically means “Method Not Allowed”, which suggests your webhook endpoint might not be properly configured to handle POST requests from Stripe.

Can you check your webhook URL in Stripe Dashboard and make sure it’s pointing to the correct endpoint (e.g., https://yourdomain.com/api/webhooks/stripe)?

It’s worth verifying your endpoints works consistently by testing it with tools like Postman or curl.

In case it’s helpful, I recommend checking out related threads in the community: