https://retellai.com/?utm_source=discord&utm_medium=seo logo
My agent has troubles checking availability in my ...
# ❓・ai-evy-support
g
My agent has troubles checking availability in my calendar. However he seems to book appointments fine if the person on the phone picks the time. Why is this despite the fact that both checking calendar and booking appointments have the same api key and event type id? @AI Evy
a
Thanks for tagging me @gabos007365. I'll look through relevant sources and get back to you shortly.
​ To learn more, see the sources I considered: [[1] unable to book appointments. check availability tool failing.](https://discord.com/channels/1186424376300679209/1284090407768297483) [[2] calendar appointment booking through retell](https://discord.com/channels/1186424376300679209/1250814023067500657) ​
### Answer Based on the community discussions, this is a known issue where the check availability tool can fail even when the booking tool works correctly with the same API key and event type ID [(1) ]() [(2) ]() . From the community forum, one user reported seeing an error message like
{"error":"Error calling Cal Event Type API"}
when the check availability tool was invoked, even though their configuration appeared correct [(1) ]() . The issue was eventually resolved, though the specific fix wasn't detailed . Another community member noted that the built-in calendar functions have limited functionality [(2) ]() . When users need more control over the booking process—including passing additional information like notes, phone numbers, or ensuring confirmation emails are sent—they should integrate a custom tool instead of relying solely on the built-in functions . Troubleshooting steps to try: 1. Verify your event type ID is correct by checking the URL when you edit the event on Cal.com [(1) ]() 2. Ensure your Cal.com API key has the necessary permissions for both checking availability and booking 3. Check that your timezone parameter is set correctly in the check availability tool 4. Review your agent's tool invocation logs to see the exact error message If the built-in check availability tool continues to fail, consider implementing a custom tool that calls the Cal.com API directly, which gives you more control over the availability checking process [(2) ](
0657) .
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.