https://retellai.com/?utm_source=discord&utm_medium=seo logo
Axios Error: error code: ERR_BAD_REQUEST, error me...
# ❓・ai-evy-support
s
@AI Evy Axios Error: error code: ERR_BAD_REQUEST, error message: Request failed with status code 422 response status: 422 response data: [{"message":"1","error":"2","statusCode":422,"traceId":"3"},["4","5"],"Unprocessable Entity","880fe2c2-fcf4-4430-a0e5-d92503c62dcb","startDate must be a number conforming to the specified constraints","endDate must be a number conforming to the specified constraints"]
a
Thanks for tagging me @sam_oho. I'll look through relevant sources and get back to you shortly.
### Answer The error message "startDate must be a number conforming to the specified constraints, endDate must be a number conforming to the specified constraints" indicates that the API expects startDate and endDate to be numbers (likely as Unix timestamps in milliseconds) , but the values provided do not meet this requirement. To resolve this, ensure both startDate and endDate in your request payload are numbers and conform to the format required by the API [(1) ]() . Check out these potentially useful sources: [Cal.com error validating tools]() , [Cal.com booking errors]() , [Integrate any system with custom function]() Would you like a general answer based on my knowledge instead?
​ To learn more, see the sources I considered: [[1] Cal.com error validating tools](https://discord.com/channels/1186424376300679209/1432750783580999862) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.