https://retellai.com/?utm_source=discord&utm_medium=seo logo
Error validating cal.com tools
# ❓・bug-report
j
Hi! When inserting values for check_availability_cal and book_appointment_cal I get a red message that says ”error validating cal.com tools”. This has been a consistent issue for many days and I need it fixed urgently. Regards, Andrej
s
hello
could you provide screenshort of values you are entring in tool
For both checking and booking via cal.com
s
hide your api key or delete the screenshort
you need to double check your api key and event id as the issue could be related to api key permission or event type ownership. Verify the Event Type ID belongs to the same Cal.com account as the API key
o
Hello @Jekic , you are using cal.com made in Europe , which gives you a different event type, that is not supported here yet to fix this make an account outside Europe and this will fix your issue.
j
But it has worked before, with other accounts in the same country.
o
Can you share the agent id that worked before , just to make sure i'm not talking about the timezone , i'm talking about the cal.com account.
j
agent_47a8740458c56ef15be05bf4ab, yes I understand. However, even if I have changed the check availability and book appointment cal, it still uses the previous cal.com account I used. It is the same agent, but I need to change the cal.com account for the agent.
o
Make sure the phone number is using the correct version of your agent.
j
Error calling Cal Event Type API: Axios Error: error code: ERR_BAD_REQUEST, error message: Request failed with status code 401
This is the message I get using the latest version, as it can’t connect to the new cal.com account.
o
401, means something wrong with your API key.
can you share the call id just to make sure.
j
call_f5c9ce5ff8ff7e399393510785c
It is probably because it does not connect to the cal.com tools
Which is the message I get when I put in the values.
o
The error message saying : Invalid API Key
r
was there a solution to this?
im in the same exact situation.
o
Can you share your agent id ?