#theproofficial
1 messages ยท Page 1 of 1 (latest)
๐ happy to help
401 Unauthorized
means that your endpoint has now been guarded by an Authentication
which is something we don't support
Well I only get 401 when testing locally, when testing on a server, I get 400 bad request
I have checked Api Versions and Webhook secrets, but it still doesn't work
would you mind sharing an event ID?
evt_1OD544C0RbkXAFsAxcodb62x
Just a week ago the entire API worked flawlessly
Not sure when it stopped since I only noticed now
I basically see 2 issues
this webhook endpoint http://xfnxld36-3000.euw.devtunnels.ms/api/stripe/webhooks is failing because it's returning a 308 Permanent Redirect response probably to handle http=>https
but in that case you can go ahead and delete that webhook endpoint
This one I deleted, it was just for testing
the https one is the real problem
since that did work before
So the other idea?
I thought it could've been the api version, but it hasn't changed since last week, so it can't be
for the https it's a 401
yes https gives 401
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
this means that you've added authentication to your application without exempting the /stripe/webhooks path from it
I just checked and I didn't add any new authentication in the last week
most I did is update the stripe.js package but I've tried reverting and it didn't fix it
it has nothing to do with stripe.js