https://retellai.com/?utm_source=discord&utm_medium=seo logo
<@1145576664366055464> what does this error mean, ...
# ❓・ai-evy-support
m
@AI Evy what does this error mean, if the booking time is in the future and not in the past: tool_call_id: 075b1d915a5ecb56 {"error":"Error calling Cal Booking API: Axios Error: error code: ERR_BAD_REQUEST, error message: Request failed with status code 400\nresponse status: 400\nresponse data: [{\"message\":\"1\"},\"Attempting to book a meeting in the past.\"]"}
a
Thanks for tagging me @manfredlakner. 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**: * [Book Calendar]() * [Cal.com Appointments]() * [Issues with Appointment Booking Feature.]() -----------------------------
### Answer Based on the error logs in the provided sources, there appear to be a few common issues when booking appointments through Cal.com integration [(1)]() [(2)]() : 1. Missing required fields (like location) [(2)]() 2. API authentication issues [(1)]() However, for your specific error about booking in the past despite having a future date, this seems to be a potential timezone mismatch. Make sure to: 1. Check the timezone settings in your Cal.com event type configuration [(3)]() 2. Consider adding an explicit timezone in the function setup (it's marked as optional in the documentation) The error suggests the system is interpreting your future time as a past time, which typically happens due to timezone conversion issues.
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.