Replies: 2 comments 1 reply
-
I have the same issue here: curl --location 'https://api.cal.com/v2/slots/available?startTime=2024-09-01T03%3A00%3A00.000Z&endTime=2024-10-01T02%3A59%3A59.999Z' \
--header 'Authorization: cal_<my_token>' Returns: {
"status": "error",
"timestamp": "2024-09-24T00:20:25.518Z",
"path": "/v2/slots/available?startTime=2024-09-01T03%3A00%3A00.000Z&endTime=2024-10-01T02%3A59%3A59.999Z&eventTypeSlug=%2230min%22",
"error": {
"code": "TRPCError",
"message": "NOT_FOUND"
}
} |
Beta Was this translation helpful? Give feedback.
0 replies
-
You have to add "eventTypeId" or "username/eventslug" as parameter as well |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Found a bug? Please fill out the sections below. 👍
Issue Summary
When trying to fetch availability slots using the v2 API, I get the following error:
Steps to Reproduce
Run this on Node.js 21
I expect to either get a 400 (Bad Request) or availability slots.
Beta Was this translation helpful? Give feedback.
All reactions