https://retellai.com/?utm_source=discord&utm_medium=seo logo
<@1145576664366055464> how can I fix this error me...
# 💬・general
i
@AI Evy how can I fix this error message when trying to connect more than one function from my Retell agent to my Cal.com account: "Error calling Cal Event Type API: Axios Error: error code: ERR_BAD_REQUEST, error message: Request failed with status code 403 response status: 403 reponse data: [{"message":"1"}, "Forbidden"]?
a
Thanks for tagging me @immaculate_gull_56396. I'll look through relevant sources and get back to you shortly.
----------------------------- **While I generate an answer, here are some sources that might be helpful**: * [Check Calendar Availability]() * [Retell Node API Library]() * [Retell Python API library]() * [Platform Changelogs | Retell AI]() -----------------------------
### Answer Based on the information sources, this error typically occurs due to a few common issues: 1. Make sure you have added the correct event ID from Cal.com for each function - you need to get this from the URL of your Cal.com event type [(1)]() 2. Check for any whitespace in your Cal.com API key that may have been accidentally included when copying and pasting - this 403 Forbidden error is often caused by incorrect API keys [(2)]() 3. For each Cal.com function you add, you need to: - Create a new event type in Cal.com - Get the event ID from the URL of that event type - Provide that specific event ID in the Retell "Event Type ID (Cal.com)" field [(1)]() The error you're seeing is a 403 Forbidden response, which typically indicates an authentication issue with the Cal.com API [(2)]() . Double check each function's credentials separately to ensure they're properly configured. If the issue persists after verifying these steps, you may want to try recreating the Cal.com app integration .
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.