Agent Says Appointment Booked when It was not.
# support
s
Hey so here is the call id : b50321ac-e5d0-45a5-9bab-156eef6ab1f8 So our agent is simple, when the user is ready to book an appointment, they give us a date and time The agent takes that date and time and sends a payload to a make.com webhook In make.com, we send a request to our CRM, and wait for a response If the appointment was booked, we send a payload back to Vapi, with a status code 201 as shown in the picture If the CRM rejected the requested time, we send a 400 status code back to Vapi, with the next available slots as show in another screenshot The thing is, in this call, the call logs show that our webhook has failed, but it did not, and the appointment slot was rejected However Vapi agent acted as if the appointment was booked successfully https://cdn.discordapp.com/attachments/1357289336823091262/1357289337221283920/image.png?ex=67efa9b3&is=67ee5833&hm=068a5e3dfa5be49cefeb0f2a4495aa7a4fce2d221d1c06064e9478798110a670& https://cdn.discordapp.com/attachments/1357289336823091262/1357289337590648832/image.png?ex=67efa9b3&is=67ee5833&hm=f396ced2f500239e4b12fc4fd0e00476ec53516352ae9ef2961c642d0949fd41& https://cdn.discordapp.com/attachments/1357289336823091262/1357289338014007326/image.png?ex=67efa9b3&is=67ee5833&hm=418e66f60c10421d2de1c3b5124314a9d570db07b59d94cf0c8dbd67dadb418e&
v
Thanks for reporting this issue with the webhook timeout and incorrect appointment booking status. I've escalated this to our technical team for investigation. This appears to be a specific issue with how our system is handling the webhook timeout - instead of properly recognizing that the appointment wasn't booked, the agent is incorrectly proceeding as if it was successful. The technical team will need to look into why the agent is misinterpreting the timeout situation and not properly handling the rejected appointment slot. They'll review the call logs with the ID you provided and investigate the webhook communication between Vapi, Make.com, and your CRM. Someone from our team will follow up with you soon with more information. Thanks for your patience! šŸ™
k
Thank you for reaching out to us. We've received your message and will get back to you as soon as possible.
Hi, checking if this is resolved/solved for you?
s
@Shubham Bajaj No it is not solved
k
šŸ”µ 09:27:56:895 Server Message Failed. (). Error: { "message": "timeout of 20000ms exceeded", "name": "AxiosError", "stack": "AxiosError: timeout of 20000ms exceeded\\n šŸ”µ 09:27:56:906 \[user ERROR\] Your server rejected
tool-calls
webhook. Error: timeout of 20000ms exceeded Hey Simon, Your server is taking time to respond, and it is taking more than 20 seconds which is out of the assigned limit or the wait time that's why your tool call is failing. You have to check on your side why your server is taking more than 20 seconds to respond to the tool call request.