https://retellai.com/?utm_source=discord&utm_medium=seo logo
I hand an error message:tool_call_id: afe22325b243...
# ❓・ai-evy-support
d
@AI Evy I hand an error message: tool_call_id: afe22325b243bf83 {"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: [{\"message\":\"1\",\"data\":null},\"Event type not found\"]"} The bot cant seem to check the schedule, can you help?
a
Thanks for tagging me @Drewster32. I'll look through relevant sources and get back to you shortly.
### Answer The error "Event type not found" with a 404 status code indicates that the Event Type ID you're using is incorrect or doesn't exist in your Cal.com account [(1) ]() . To fix this issue, you need to verify your Event Type ID: 1. Get the correct Event Type ID : - Open your created event type in Cal.com - Look at the URL in your browser - The event type ID is the number in the URL - Example: ` - In this case,
1427703
is your event type ID 2. Update your Retell function configuration : - Enter the correct Event Type ID from step 1 - Make sure your API Key from Cal.com is also correct 3. Verify your Cal.com setup : - Ensure you have a Cal.com account created - Confirm your event type is properly configured and saved - Check that your API key is valid by going to "Settings" → "Developer" → "API Keys" in your Cal.com dashboard The check calendar availability function requires both a valid API Key and Event Type ID to work properly . Double-check both values match what's shown in your Cal.com dashboard.
​ To learn more, see the sources I considered: [[1] Check Calendar Availability](https://docs.retellai.com/build/check-availability) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.