Alexey Pepeskul
05/08/2022, 11:54 AMcurl -X 'GET' \
'<https://api.cal.dev/bookings?apiKey=cal_test_d...3>' \
-H 'accept: */*'
{"message":"Something went wrong","error":{"clientVersion":"3.10.0"}}
2. In swagger doc I found
https://developer.cal.com/api/api-reference
https://api.cal.com/docs
there is no definition of request body of POST and PUT requests? Is it broken? When it will be fixed?Agusti
05/09/2022, 8:29 AMAlexey Pepeskul
05/09/2022, 11:21 AMAdam Bauman
05/09/2022, 5:19 PMevent-types
endpoint. Trying to follow the step in Quick Start to get set up.Adam Bauman
05/11/2022, 4:18 PMAgusti
05/11/2022, 4:19 PMAdam Bauman
05/11/2022, 4:25 PMVarun Krishnamurthy
05/15/2022, 1:46 AM<https://api.cal.com/v1/event-types?apiKey=cal_****>
Varun Krishnamurthy
05/15/2022, 1:46 AM<https://api.cal.com/v1/event-types?apiKey=cal_****>
.
Just for context, I created my account yesterday (5/13). @Agusti, happy to share my account info in a DM if that would be helpful.Matthew Larkin
05/16/2022, 12:53 AMElias Ruiz Monserrat
05/16/2022, 9:15 AMElias Ruiz Monserrat
05/16/2022, 9:17 AMcal_test_
or cal_live_
, but mine starts with cal_a***
, is that alright? Or should I be doing something different?Adam Bauman
05/16/2022, 1:57 PMMatthew Larkin
05/16/2022, 5:03 PMVarun Krishnamurthy
05/16/2022, 7:33 PMVarun Krishnamurthy
05/16/2022, 7:37 PMAgusti
05/16/2022, 7:43 PMVarun Krishnamurthy
05/16/2022, 7:48 PMcal_***
key, as opposed to cal_live_***
and cal_test_***
keys. Is that expected?Agusti
05/16/2022, 7:49 PMVarun Krishnamurthy
05/16/2022, 7:50 PMVarun Krishnamurthy
05/18/2022, 5:06 PMAgusti
05/18/2022, 5:17 PMVarun Krishnamurthy
05/18/2022, 6:14 PM<https://api.cal.com/v1/event-types?apiKey=cal_****>
I now get a
{
"error": "Your apiKey is not valid"
}
Is that expected?Agusti
05/18/2022, 6:15 PMAgusti
05/18/2022, 6:15 PMVarun Krishnamurthy
05/18/2022, 6:16 PMvarun.krishnamurthy@Varuns-MBP dawn-backend % curl '<https://api.cal.com/v1/event-types?apiKey=cal_live_***>'
{"message":"Something went wrong","error":{"issues":[{"code":"invalid_union","unionErrors":[{"issues":[{"code":"invalid_union","unionErrors":[{"issues":[{"code":"invalid_type","expected":"string","received":"null","path":["metadata"],"message":"Expected string, received null"}],"name":"ZodError"},{"issues":[{"code":"invalid_type","expected":"number","received":"null","path":["metadata"],"message":"Expected number, received null"}],"name":"ZodError"},{"issues":[{"code":"invalid_type","expected":"boolean","received":"null","path":["metadata"],"message":"Expected boolean, received null"}],"name":"ZodError"}],"path":["metadata"],"message":"Invalid input"}],"name":"ZodError"},{"issues":[{"code":"invalid_type","expected":"array","received":"null","path":["metadata"],"message":"Expected array, received null"}],"name":"ZodError"},{"issues":[{"code":"invalid_type","expected":"object","received":"null","path":["metadata"],"message":"Expected object, received null"}],"name":"ZodError"}],"path":["metadata"],"message":"Invalid input"}],"name":"ZodError"}}% varun.krishnamurthy@Varuns-MBP dawn-backend % curl '<https://api.cal.com/v1/event-types?apiKey=cal_live_50cebc04c800a7fc6e04a504e452dafa>'
{"message":"Something went wrong","error":{"issues":[{"code":"invalid_union","unionErrors":[{"issues":[{"code":"invalid_union","unionErrors":[{"issues":[{"code":"invalid_type","expected":"string","received":"null","path":["metadata"],"message":"Expected string, received null"}],"name":"ZodError"},{"issues":[{"code":"invalid_type","expected":"number","received":"null","path":["metadata"],"message":"Expected number, received null"}],"name":"ZodError"},{"issues":[{"code":"invalid_type","expected":"boolean","received":"null","path":["metadata"],"message":"Expected boolean, received null"}],"name":"ZodError"}],"path":["metadata"],"message":"Invalid input"}],"name":"ZodError"},{"issues":[{"code":"invalid_type","expected":"array","received":"null","path":["metadata"],"message":"Expected array, received null"}],"name":"ZodError"},{"issues":[{"code":"invalid_type","expected":"object","received":"null","path":["metadata"],"message":"Expected object, received null"}],"name":"ZodError"}],"path":["metadata"],"message":"Invalid input"}],"name":"ZodError"}}
Agusti
05/18/2022, 6:17 PMVarun Krishnamurthy
05/18/2022, 6:17 PMAgusti
05/18/2022, 6:24 PM