https://retellai.com/?utm_source=discord&utm_medium=seo logo
Cal.com error validating tools
# ❓・bug-report
m
{"error":"Error calling Cal Event Type API: Axios Error: error code: ERR_BAD_REQUEST, error message: Request failed with status code 404\nresponse status: 404\nresponse data: [{\"status\":\"1\",\"timestamp\":\"2\",\"path\":\"3\",\"error\":\"4\"},\"error\",\"2025-10-27T18:28:31.064Z\",\"/v2/event-types/3491467\",{\"code\":\"5\",\"message\":\"6\",\"details\":\"7\"},\"NotFoundException\",\"Event type with id 3491467 not found\",{\"message\":\"6\",\"error\":\"8\",\"statusCode\":404},\"Not Found\"]"} When i try to rotate the key and save i'm getting a tool validation error
o
Hello @mike.wealthline , I'm going to send this to the team to check it
m
Hi omar, im looking at all of my clients and we are seeing booking errors accross the board
o
I just need to make sure that you have the event id already on your cal.com and didn't remove it
m
Copy code
{
  "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-10-27T14:23:59.421Z\",\"/v2/bookings\",{\"code\":\"5\",\"message\":\"6\",\"details\":\"7\"},\"BadRequestException\",\"Missing attendee phone number - it is required by the event type. Pass it as \\\"attendee.phoneNumber\\\" string in the request.\",{\"message\":\"6\",\"error\":\"8\",\"statusCode\":400},\"Bad Request\"]"
}
o
and the API keys are not expired ?
m
No they are not expired. This is the other error im seeing with every single client
o
For this one can you go to your event and make sure that phone number is required or not and let me know ?
m
It is required, but that has always been the case with no issuses. Has something changed?
o
it can't be required , you can only use the email
m
It was working before like i said. has somthing changed?
o
from our side it looks fine , we don't send the phone number and you have the phone number required so it's normal to give this error Idk how it was working before
m
I got rid of the requirement, now cal.com is only returning 15min blocks of availability, even though the event is a 30 minute event
Again this is with all of my clients
o
you don't get the first error any more ?
m
One client specifically has the first error with a round robin event. I switched the event type to a normal event type and it works, but it only returns 15 minute slots. I just tested with my other clients and have the same issue
o
okay, the first and second error are fixed , when you change to normal type and removed the phone number required but the you are getting 15 minuts slots can you show me a screen shots for this
m
Copy code
{
  "availability_for_selected_time": [
    {
      "date": "Monday, 2025 November 11/3/2025 Eastern Daylight Time",
      "availability_range": [
        "From 10:30 AM to 10:45 AM",
        "From 12:00 PM to 12:15 PM"
      ]
    },
    {
      "date": "Tuesday, 2025 November 11/4/2025 Eastern Daylight Time",
      "availability_range": [
        "From 10:00 AM to 10:15 AM",
        "From 11:00 AM to 11:15 AM"
      ]
    },
    {
      "date": "Wednesday, 2025 November 11/5/2025 Eastern Daylight Time",
      "availability_range": [
        "From 12:00 PM to 12:15 PM",
        "From 12:30 PM to 12:45 PM"
      ]
    },
    {
      "date": "Thursday, 2025 November 11/6/2025 Eastern Daylight Time",
      "availability_range": [
        "From 3:30 PM to 3:45 PM",
        "From 5:30 PM to 5:45 PM"
      ]
    },
    {
      "date": "Friday, 2025 November 11/7/2025 Eastern Daylight Time",
      "availability_range": [
        "From 12:00 PM to 12:15 PM",
        "From 12:30 PM to 12:45 PM"
      ]
    }
  ]
}
o
I think if there is anything it will be from cal.com because if the duration is 30 and even if we want to send you 15 mins slots we don't have access to change anything from your account on cal.com , but i will the team know about this
can you try to book an apponitment and see it will book a 30 min or 15 min
m
It will not allow me to book a 30 minute appointment because it believes only 15 min slots exisit
Id imagine this is a huge problem, if all of your clients utilizing the integration can only book 15 minute meetings... I have several clients on retell and now im not sure what to do or tell them
o
book a 15 min and on your calendar see it's 15 or 30 because you have a meeting limit for 30 mins it can't go below or above even if we want
and before you were able to use the round robin calendar and won't work today or you wasn't using it before ?
It got this error, but the appointment was scheduled
I really need a fix asap this is ridiciuous
@Omar Ashraf | Community Lead I was using the round robin calendar before and it was working fine
Both of these issues appear to have started yesterday
No changes were made from my team that might have triggered them
n
@mike I'm also receiving this error on all of my agents, its only offering 15 minute slots
b
Hi i think this is a cal.com issue, I have talked to their team and they have said its an issue with retell and cal.com with round robin calander, having same issue
n
Have you seen any updates on it? It’s fucked up my clients
b
Yeah me too what im doing is just switching to normal calendars (not round robin event) in cal.com
thats all i think we can do right now
n
Even the normal calendars is what is breaking for me, mine are all set to be 2 hours but the check avail API is returning 15 min slots only -.- Can see they’re denying the issue in other threads… not sure how we can prove we aren’t going crazy haha
b
I've confirmed with cal.com support that its an issue that they're working on (apparently retell are aware of the issue) , just frustrating they're not addressing the issue or providing any information @Omar Ashraf | Community Lead
n
Thanks Blekk, appreciate you looking into it
b
@Omar Ashraf | Community Lead can we get an update
f
@AI Evy when I try and create a custom function and press save I get an error request failed with status code 400
a
Thanks for tagging me @freddie017. I'll look through relevant sources and get back to you shortly.
### Answer When you get a 400 error while saving a custom function, this is almost always caused by an invalid function schema [(1) ]() . The most common mistake is not adding
"type": "object"
at the top level of your JSON schema [(2) ]() [(3) ]() [(1) ]() . Here's the correct format you should use [(1) ]() :
Copy code
json
{
  "type": "object",
  "properties": {
    "city": {
      "type": "string",
      "description": "City to look up."
    },
    "units": {
      "type": "string",
      "enum": ["metric", "imperial"]
    }
  },
  "required": ["city"]
}
If you're still having trouble after verifying your schema includes
"type": "object"
at the top level, I recommend clicking one of the example schemas in the dashboard and updating it accordingly [(2) ]() [(3) ]() .
​ To learn more, see the sources I considered: [[1] 400 error when creating new Custom functions in multi-state agents.](https://discord.com/channels/1186424376300679209/1389298560268374149) [[2] Integrate any system with custom function](https://docs.retellai.com/build/single-multi-prompt/custom-function) [[3] Custom Function](https://docs.retellai.com/build/conversation-flow/custom-function) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
r
I keep getting an error validating Cal.com tools when inputting the event type id for round robin team calendar in retell. Please advise, thanks! @Omar Ashraf | Community Lead @AI Evy
a
Thanks for the follow-up, @rachel_30112. I'll get back to you soon.
### Answer Based on the thread history and available sources, there are known issues with Cal.com round robin event types when using Retell AI's native Cal.com tools [(1) ]() [(2) ]() . ## Verification Steps First, verify your Cal.com setup is correct [(3) ]() [(4) ]() : 1. **Get Event Type ID**: Open your created event type in Cal.com and look at the URL - the event type ID is the number in the URL (e.g., ` means your ID is
1427703
) 2. **Get API Key**: Go to "Settings" → "Developer" → "API Keys" in your Cal.com dashboard to retrieve your API key 3. **Configure in Retell**: Enter the Tool name (must be unique) , API Key, Event Type ID, Tool description, and optional timezone ## Known Issues with Round Robin Based on the thread history, there are documented issues with round robin calendars [(1) ]() [(2) ]() : - Round robin event types are experiencing validation errors and booking failures [(1) ]() - Normal (non-round robin) event types have been reported to work, though with other issues like incorrect time slot durations ## Workaround The current workaround mentioned in the community is to switch from round robin event types to normal event types in Cal.com . However, be aware that some users have reported issues with time slot durations even with normal event types . ## Additional Context Make sure your timezone settings match between Retell and Cal.com, and ensure
you're using the current time variable in your prompt [(2) ]() . If the issue persists after verification, this appears to be a known integration issue that both Retell and Cal.com teams are aware of [(1) ]() .
​ To learn more, see the sources I considered: [[1] Cal.com error validating tools](https://discord.com/channels/1186424376300679209/1432750783580999862) [[2] Issue with book_appointment (Cal.com Native Integration) for Round Robin & Custom Location Event Typ](https://discord.com/channels/1186424376300679209/1379631392312266893) [[3] Check Calendar Availability](https://docs.retellai.com/build/check-availability) [[4] Book Calendar](https://docs.retellai.com/build/book-calendar) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
r
@AI Evy could you update me when this issue has been resolved?
a
Thanks for the follow-up, @rachel_30112. I'll get back to you soon.
### Answer I don't have access to real-time updates or a notification system to alert you when this Cal.com round robin issue is resolved [(1) ]() [(2) ]() . Based on the thread history and community reports, this is a known issue with Cal.com round robin event types that both Retell AI and Cal.com teams are aware of . The issue involves validation errors when trying to save round robin event type IDs in Retell AI's native Cal.com integration . Current workarounds mentioned in the community: - Switch from round robin event types to normal (non-round robin) event types in Cal.com - Note that even normal event types have been experiencing some issues with incorrect time slot durations being returned [(1) ]() To stay updated on the resolution: - Monitor the Retell AI Discord server where this issue is being tracked - Check the Retell AI changelog at the documentation site - Contact Retell AI support directly through [Contact Sales]() or visit [) The support team has acknowledged the issue and escalated it to engineers, but I don't have information about specific timelines for a fix [(2) ]() .
​ To learn more, see the sources I considered: [[1] Cal.com error validating tools](https://discord.com/channels/1186424376300679209/1432750783580999862) [[2] Round Robin Cal.com not working](https://discord.com/channels/1186424376300679209/1433777682633723984) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
o
This is fixed
m
@Omar Ashraf | Community Lead hello I used the integration with cal.com to book the appointments but I can't update the apis and is no longer working because i can't update de apis. every time I try to save it shows up invalid cal.com tools
o
Can you create a separate ticket and share the agent id.