I have three events to book for, depending on caller preference. All 3 require name and email.
- 15 minute phone call (also phone number)
- 30 minute video call (also phone number)
- 60 minute in-person meeting (also address)
I am using the native Cal.com booking function for all 3, and collecting all the data necessary.
However, when I try to invoke the functions:
- Only the 30 minute video call is working fine
- 15 minute phone call error:
tool_call_id: 6be4e74e218d8c7e
{
"time": "Feb 18th 4:30pm",
"name": "Jim Kim",
"email": "john@thenebulaai.io",
"timezone": "Australia/Sydney",
"execution_message": "Great! Your 15-minute phone call with Kylie is set for February 18th at 4:30 PM. Is there anything else I can help you with?"
}
{"error":"Error calling Cal Event Type API: Axios Error: error code: ERR_BAD_REQUEST, error message: Request failed with status code 400\nresponse status: 400\nresponse data: [{\"message\":\"1\"},\"custom in 'responses': {location}error_required_field\"]"}
- 60 minute in person meeting error:
tool_call_id: 6cd4f000d373b3ab
{
"time": "Feb 18th 4pm",
"name": "Jim Kim",
"email": "john@thenebulaai.io",
"timezone": "Australia/Sydney",
"execution_message": "Perfect! Your in-person meeting with Kylie is scheduled for February 18th at 4 PM at 456 Sesame Street. Is everything correct?"
}
{"error":"Error calling Cal Event Type API: Axios Error: error code: ERR_BAD_REQUEST, error message: Request failed with status code 400\nresponse status: 400\nresponse data: [{\"message\":\"1\"},\"custom in 'responses': {location}error_required_field\"]"}
I checked json file for 30 min video call, it's sending the same thing, but it is successful. I don't understand why the 15 and 60 minute ones are not working (even though I am clearly collecting the required fields