https://retellai.com/?utm_source=discord&utm_medium=seo logo
Cal.com booking issue
# ❓・bug-report
a
Hello, I’m looking for some assistance with an issue that has started occurring unexpectedly. One of our appointment booking flows (Initial Consultation for a dental clinic) is now failing to book appointments, despite working correctly previously. From reviewing the tool call, it appears the user’s name is not being passed through, which is causing the booking to fail. However, this is confusing as we have three other Cal.com booking flows that continue to work without issue, and this specific flow was functioning correctly until recently without any changes on our side. Tool details below: 3:03 Tool Invocation: book_appointment_cal_initial_consultation tool_call_id: tool_call_9af4d8 { "time": "2025-12-30T09:00:00", "timezone": "Europe/London", "email": "aslam_miah786@hotmail.co.uk", "attendeePhoneNumber": "+447884101037", "title": "Free Initial Consultation - New Patient Kitty", "notes": "New patient, first ever dental visit, a bit anxious." } 3:05 Tool Result tool_call_id: tool_call_9af4d8 {"error":"Error calling Cal Booking API: Axios Error: error code: ERR_BAD_REQUEST, error message: Request failed with status code 400\nresponse status: 400\nresponse data: [{\"status\":\"1\",\"timestamp\":\"2\",\"path\":\"3\",\"error\":\"4\"},\"error\",\"2025-12-25T15:43:16.500Z\",\"/v2/bookings\",{\"code\":\"5\",\"message\":\"6\"},\"BAD_REQUEST\",\"responses - {name}Invalid string, responses - {name}error_required_field, \"]"} Node Transition previous node: Book Appointment Cal Initial Consultation new node: Conversation call id: call_207cbe41215e5bcb822a4fdac90 Could you please advise what might be causing this behavior and whether there have been any recent changes that could impact name handling or booking requirements?
o
Hello @Aslam , the name is missing, that's why this is happening.
a
@Omar Ashraf | Community Lead - thanks Omar this is something I am aware of, I am not sure why it's not picking up the name. As mentioned, nothing has changed. I've tried another call and the same thing happened: Tool Invocation: book_appointment_cal_initial_consultation tool_call_id: tool_call_b8ea5a { "time": "2025-12-30T09:00:00", "email": "aslam_miah786@hotmail.co.uk", "attendeePhoneNumber": "+447888410137", "title": "Free Initial Consultation - New Patient: Mason", "notes": "New patient initial consultation booking made by virtual receptionist Sarah for Mason. Email and number confirmed on call.", "guests": [] } Agent: appointment now. Please give me a moment.” 2:58 Tool Result tool_call_id: tool_call_b8ea5a {"error":"Error calling Cal Booking API: Axios Error: error code: ERR_BAD_REQUEST, error message: Request failed with status code 400\nresponse status: 400\nresponse data: [{\"status\":\"1\",\"timestamp\":\"2\",\"path\":\"3\",\"error\":\"4\"},\"error\",\"2025-12-25T17:27:44.354Z\",\"/v2/bookings\",{\"code\":\"5\",\"message\":\"6\"},\"BAD_REQUEST\",\"responses - {name}Invalid string, responses - {name}error_required_field, \"]"} Node Transition previous node: Book Appointment Cal Initial Consultation new node: Conversation
Hi @Omar Ashraf | Community Lead - any updates on this please? I'm still having the same issues. It's still not picking up the name even though this was provided: Tool Invocation: book_appointment_cal_initial_consultation tool_call_id: tool_call_023077 { "time": "2025-12-30T09:00:00", "timezone": "Europe/London", "email": "aslam_miah786@hotmail.co.uk", "attendeePhoneNumber": "+447884101038", "title": "Free Initial Consultation - New Patient James Aslam", "notes": "New patient, no current dental problems, first ever dental visit." } Tool Result tool_call_id: tool_call_023077 {"error":"Error calling Cal Booking API: Axios Error: error code: ERR_BAD_REQUEST, error message: Request failed with status code 400\nresponse status: 400\nresponse data: [{\"status\":\"1\",\"timestamp\":\"2\",\"path\":\"3\",\"error\":\"4\"},\"error\",\"2025-12-29T08:47:50.124Z\",\"/v2/bookings\",{\"code\":\"5\",\"message\":\"6\"},\"BAD_REQUEST\",\"responses - {name}Invalid string, responses - {name}error_required_field, \"]"}
o
Hello @Aslam , Can you mention on the function description to always get the user name.
not on the main prompt , but the function description
a
Turns out there was a setting mix-up with cal.com - all working fine now. Thanks @Omar Ashraf | Community Lead 👍
o
Great.