https://retellai.com/?utm_source=discord&utm_medium=seo logo
when i put in my event id or api key from cal
# ❓・ai-evy-support
r
@AI Evy when i put in my event id or api key from cal.com into any of the premade cal.com tools like check_availability_cal it gives me an error saying "error validating cal.com tools" why does it do this
a
Thanks for tagging me @roblitoe. I'll look through relevant sources and get back to you shortly.
### Answer Based on the available sources, here are the common causes for Cal.com validation errors: Check for typos in your credentials - The Event Type ID and API Key must be entered exactly as they appear in Cal.com [(1) ]() . Even a single character difference will cause validation to fail . Verify your Event Type ID - You can find your Event Type ID by opening your created event type in Cal.com and looking at the URL in your browser [(2) ]() . The event type ID is the number in the URL - for example, in ` the ID would be
1427703
. Get your API Key correctly - Navigate to Settings → Developer → API Keys in your Cal.com dashboard to retrieve your API key . Watch for whitespace - Sometimes extra spaces get added during copy-pasting, which can cause authentication errors [(1) ]() . Try rotating your API key - If the credentials appear correct, try generating a new API key in Cal.com and using that instead [(3) ]() . When setting up the check availability function in Retell AI, you need to enter the API Key from Cal.com, the Event Type ID, and a tool description [(2) ]() . If you've verified all credentials are correct and still encounter validation errors, you may want to reach out through the official support channels for further assistance.
​ To learn more, see the sources I considered: [[1] cal.com Check_availability](https://discord.com/channels/1186424376300679209/1300679165963407413) [[2] Check Calendar Availability](https://docs.retellai.com/build/check-availability) [[3] Error with Cal.com integration](https://discord.com/channels/1186424376300679209/1432628757067337778) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
r
@AI Evy there are absolutely no typos or errors in the api keys and i got them from the correct place. this issue just started happening for me yesterday; its been working fine up until then
a
Thanks for the follow-up, @roblitoe. I'll get back to you soon.
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
### Answer Based on the available sources, if your Cal.com integration was working previously and suddenly stopped, here are some troubleshooting steps: Generate a fresh API key - Even if your current API key appears correct, Cal.com API keys can expire [(1) ]() . Try creating a new API key in Cal.com (Settings → Developer → API Keys) and updating it in Retell AI [(2) ]() [(1) ]() . Verify event type configuration - Check that your Cal.com event type settings haven't changed [(3) ]() . Specifically, ensure that phone number is not set as a required field, as Retell AI's Cal.com integration only sends email information . Check event type accessibility - If you're using a round robin event, try switching to a normal event type to see if that resolves the issue . Some users have reported that round robin events can cause validation errors . Test the API key outside Retell AI - Try using your Cal.com API key directly with Cal.com's API documentation to confirm the key itself is valid [(1) ]() . This helps determine if the issue is with Retell AI or Cal.com . Since this issue started suddenly after working previously, it's possible there was a change on either the Retell AI or Cal.com side . If none of these steps resolve the validation error, I'd recommend reaching out to [Contact Sales]() or visiting [) for additional support.
​ To learn more, see the sources I considered: [[1] calendar checking bug says API key not valid](https://discord.com/channels/1186424376300679209/1388938406259855462) [[2] Check Calendar Availability](https://docs.retellai.com/build/check-availability) [[3] Cal.com error validating tools](https://discord.com/channels/1186424376300679209/1432750783580999862) ​