Symptom
You are receiving the following error response for webhook failure:
{"status":"{\"message\":\"timeout of 5000ms exceeded\",\"name\":\"AxiosError\",\"stack\":\"AxiosError: timeout of 5000ms e…"}
Cause
Aircall's HTTP requests sent to external web servers are set up to timeout after 5 seconds. A request is considered as failed if the HTTP Status Code answered is not 2XX, or if the request times out.
Solution
Make sure your server always answers a 200 HTTP Code within time, that will prevent Aircall Webhooks from failing or being deactivated.