https://retellai.com/?utm_source=discord&utm_medium=seo logo
Do you have documentation on the updated cal
# ❓・ai-evy-support
g
@AI Evy Do you have documentation on the updated cal.com custom functions? I'm getting a 500 error on the book_appointment_cal intermittently: {"error":"Error calling Cal Booking API: Axios Error: error code: ERR_BAD_RESPONSE, error message: Request failed with status code 500\nresponse status: 500\nresponse data: [{\"statusCode\":500,\"message\":\"1\"},\"Internal server error\"]"} And I can't edit this custom function to see what you're passing in.
a
Thanks for tagging me @gamewithghost. I'll look through relevant sources and get back to you shortly.
### Answer I don’t have any documentation in the available sources that specifically describes the
book_appointment_cal
/ Cal.com prebuilt or “updated” custom functions, nor what exact payload Retell is sending to Cal.com. [(1) ]() [(2) ]() [(3) ]() [(4) ]() The sources only cover: - How to build generic custom functions (name/description, HTTP method, endpoint URL, headers, query params, JSON-schema parameters, response variables, etc.) . [(1) ]() [(2) ]() - How function calling works conceptually and common use cases like booking appointments, but not Cal.com‑specific details. [(3) ]() [(4) ]() Because of that, I can’t see or confirm the exact request body/headers for
book_appointment_cal
, and I can’t directly explain the intermittent 500s from Cal.com based on these docs alone. If you want, I can give a general (non‑Retell‑specific) debugging approach for 500 errors with third‑party APIs, but that would not be backed by the Retell AI sources.
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
​ To learn more, see the sources I considered: [[1] Integrate any system with custom function](https://docs.retellai.com/build/single-multi-prompt/custom-function) [[2] Custom Function](https://docs.retellai.com/build/conversation-flow/custom-function) [[3] Function Calling Overview](https://docs.retellai.com/build/single-multi-prompt/function-calling) [[4] Integrate Function Calling](https://docs.retellai.com/integrate-llm/integrate-function-calling) ​
g
@AI Evy well how do I solve this problem? It's your guys integration
a
Thanks for the follow-up, @gamewithghost. 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 I can’t see enough Cal.com‑specific detail in the available Retell sources to directly debug intermittent
500
errors from the
book_appointment_cal
preset tool or to inspect/modify its payload. The docs only cover: - The general function‑calling flow and that “Book Calendar” / “Check Availability” are pre‑built functions for scheduling with tools like Cal.com. [(1) ]() [(2) ]() - How to configure and debug custom functions you host yourself (HTTP method, URL, headers, JSON‑schema params, response spec, signature verification, etc.) . [(3) ]() [(4) ]() [(5) ]() - A separate “Check Calendar Availability” preset that you configure in the dashboard with Cal.com API key + event type ID, but it doesn’t expose the internal request body either. [(6) ]() Because of that, I can’t: - See or show the exact request Retell sends for
book_appointment_cal
. - Confirm which Cal.com endpoint/fields it’s hitting. - Change its behavior from the docs alone. Given those limits, I can’t give a source‑backed, Retell‑specific fix for your intermittent
500
from Cal.com. If you’d like, I can suggest a general (non‑Retell‑specific) debugging approach for 500s with third‑party APIs, but that wouldn’t be based on these Retell sources. Otherwise, for a concrete fix on this particular integration, you’ll need to contact the Retell team directly (e.g., via their support/sales/contact channels) so they can inspect logs and the exact Cal.com response.
​ To learn more, see the sources I considered: [[1] Function Calling Overview](https://docs.retellai.com/build/single-multi-prompt/function-calling) [[2] AI Scheduling Assistant with Cal.com | Retell AI](https://www.retellai.com/blog/cal-coms-preset-tools) [[3] Custom Function](https://docs.retellai.com/build/conversation-flow/custom-function) [[4] Integrate any system with custom function](https://docs.retellai.com/build/single-multi-prompt/custom-function) [[5] Platform Changelogs | Retell AI](https://www.retellai.com/changelog) [[6] Check Calendar Availability](https://docs.retellai.com/build/check-availability) ​