https://retellai.com/?utm_source=discord&utm_medium=seo logo
The agent can't check availability from cal
# ❓・ai-evy-support
o
@AI Evy The agent can't check availability from cal.com api, how to fix the issue ?
a
Thanks for tagging me @omarkouta.. I'll look through relevant sources and get back to you shortly.
### Answer To fix Cal.com API availability checking issues in Retell AI, verify these key configuration elements: 1. Correct Event Type ID The event type ID is found in your Cal.com URL when editing an event [(1) ]() . For example, in ` the ID is
1427703
. 2. Required Credentials Ensure you have both the Cal.com API key from Settings > Developer > API Keys and the correct Event Type ID configured in your Retell function . 3. Timezone Matching Check that the timezone in your Cal.com event settings matches the timezone specified in your Retell function [(1) ]() [(2) ]() . Mismatched timezones can cause availability checking failures [(2) ]() . 4. User Assignment In Cal.com, verify that a testing user is added to the event type . This is a common cause of "no_available_users_found_error" . 5. Prompt Configuration Include explicit instructions in your prompt about when to invoke the calendar function [(1) ]() :
Copy code
When user stated a time range, please check the calendar availability by calling the `check_calendar_availability` function and let user know whether that range work or not.
6. Function Setup When adding the check calendar availability function in Retell, ensure you provide the tool name (unique within the agent) , API key, Event Type ID, tool description, and optional timezone . If the issue persists after verifying these elements, the problem may be intermittent API connectivity between Retell and Cal.com [(2) ]() .
​ To learn more, see the sources I considered: [[1] Check Calendar Availability](https://docs.retellai.com/build/check-availability) [[2] API to Cal.com keeps failing spastically.](https://discord.com/channels/1186424376300679209/1400179427480174592) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.