An HTTP status code in the 300-399 range comes from your server, and indicates that your system is trying to redirect the incoming Event delivery request to another URL. For webhooks, Stripe considers any redirect response to be a failure.
Common causes of this issue include:
A web server configuration to add or remove www
to the beginning of all URLs
For example, if you entered https://example.com/webhooks/
as your Webhook Endpoint URL your web server might try to redirect to https://www.example.com/webhooks/
(or vice-versa)
A web server configuration to add or remove a trailing slash (/
) from the URL
For example, if you entered https://example.com/webhooks/
as your Webhook Endpoint URL your web server might try to redirect to https://example.com/webhooks
(or vice-versa)
To fix this issue, edit your Webhook Endpoint and change the URL to the final URL, after redirects, where Stripe Events should be delivered.