https://retellai.com/?utm_source=discord&utm_medium=seo logo
Webhook Retry Information
# ❓・bug-report
w
Do you know the conditions for when a call event will fire / refire? 1. How long before RetellAI times out the request and resends the webhook? 2. I think RetellAI resends a webhook when it receives a non 2xx response. Is this true? 3. What's the max number of webhook retries? 4. With respect to concurrency limit, is the call considered "over" after the call_ended event or the call_analyzed event?
e
@Florian - support @ Retell AI can you please check this question?
f
Hi @wvphantomvw, I just checked with the team: 1) 10 seconds 2) yes 3) three times 4) call_ended is the event when the call is considered "over"
w
Thanks, I think I figured out whats going on. Our server was returning a 204 No Content response with a body "{}". This is invalid and any number of results can follow. In Retell's case (and in Postman), it waits for a valid response until it times out. This causes the retries to happen. In reality we reply in under 10 seconds but Retell is still waiting. More info on this as even browsers handle this in different ways. https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/204#compatibility_notes