#Wik-Error
1 messages · Page 1 of 1 (latest)
Hi there, 500 is response code indicates that there's an internal server error.
When you receive a 500, it means Stripe can't process the request due to internal problem, it doesn't mean that the API is disabled.
Yeah, sure. But I'm asking - if our endpoint that consumes your webhooks returns 5xx, how soon our API is considered to be disabled? After one 5xx response or more?
Ah, it's your webhook endpoint which returns 500
Yes, we're planning this big migration that will cause it to 5xx for some time and we want to understand how it'll affect the Stripe webhooks
Stripe will continue webhook retry for up to 3 days, and you will also receive a email from Stripe telling you that your webhook endpoint is not working.
Do you know how many times it'll retry?
The delivery attempt is performed with an exponential back off, so we don't know exactly how many times.
When does Stripe consider our API to be disabled?
if an endpoint has not responded with a 2xx HTTP status code for multiple days in a row. ```
You can configure another webhook endpoint while performing the migration, so that the other webhook endpoint can still receive the webhook events.
So a single 5xx or a number of 5xx in a row will not cause the endpoint to be considered disabled. But lack of 2xx over a period of a few days will do it?
Stripe is expecting 200 responses. So if your server is responding with any non-200 response (3xx. 4xx or 5xx) for multiple days in a row, it'll be disabled.
Got i, thank you.
no problem