Jimmy Chan
06/15/2022, 6:31 AMAgusti
06/15/2022, 3:16 PMAgusti
06/15/2022, 3:16 PMAgusti
06/15/2022, 8:55 PMVikram
06/16/2022, 7:20 PM{
"message": "'invalid_type' in '0,metadata,proPaidForByTeamId': Expected string, received number"
}
Vikram
06/16/2022, 7:21 PMVarun Krishnamurthy
06/21/2022, 1:05 AM<https://api.cal.com/v1/bookings?apiKey=>
with body:
{
"eventTypeId": 73558,
"uid": "23111",
"startTime": "2022-06-21T17:00:00.000Z",
"endTime": "2022-06-21T17:45:00.000Z",
"title": "booking"
}
and I am getting a 400
with message Bad request. Booking body is invalid.
My request seems to match the documentation at https://documenter.getpostman.com/view/20666831/Uz5ArJni#97dc9de7-fab6-4eb0-843d-472cb0a73524Vikram
06/21/2022, 6:40 PMTarek
06/21/2022, 8:55 PMVikram
06/24/2022, 2:35 PMVarun Krishnamurthy
06/28/2022, 5:49 AM<https://api.cal.com/v1/bookings/64628?apiKey=><key>
to delete booking id 64628
for example) is no longer working. PATCH to update (reschedule) booking does not work either. I am following the Postman collection . Did anything change with this? This is a crucial use case for us 🙏Devan Thakur
06/29/2022, 9:41 AMAkshay Aradhya
06/29/2022, 1:39 PMPhilipp Fruh (Virtual-Identity)
06/30/2022, 1:49 PMEllery Familia
07/01/2022, 2:24 AMAgusti
07/01/2022, 8:03 PMlan
07/05/2022, 10:21 AMPhilipp Fruh (Virtual-Identity)
07/11/2022, 12:35 PMPhilipp Fruh (Virtual-Identity)
07/11/2022, 1:59 PMzomars
07/11/2022, 2:15 PMAgusti
07/11/2022, 3:03 PMKrishna Raj
07/19/2022, 3:09 PMapps/api
is giving me this errror.
yarn turbo run build --scope=@calcom/api --include-dependencies --no-deps
I tried the instructions in the https://github.com/calcom/api/tree/a8e8acd053e0de1da9ad623c3664a837950d6a06
Its possible to fix it by change this line https://github.com/calcom/cal.com/blob/ec07f84d1e9e99cd1a3415b2db9539fadd4973a1/apps/web/ee/pages/api/cron/workflows/scheduleSMSReminders.ts#L8
to include @calcom/ee
, but I want to be sure I am doing it right.
@calcom/api:build: ../web/ee/lib/workflows/reminders/smsReminderManager.ts:11:25
@calcom/api:build: Type error: Cannot find module '@ee/lib/workflows/reminders/smsProviders/twilioProvider' or its corresponding type declarations.
@calcom/api:build:
@calcom/api:build: 9 | import dayjs from "@calcom/dayjs";
@calcom/api:build: 10 | import prisma from "@calcom/prisma";
@calcom/api:build: > 11 | import * as twilio from "@ee/lib/workflows/reminders/smsProviders/twilioProvider";
@calcom/api:build: | ^
@calcom/api:build: 12 | import smsReminderTemplate from "@ee/lib/workflows/reminders/templates/smsReminderTemplate";
@calcom/api:build: 13 |
@calcom/api:build: 14 | export enum timeUnitLowerCase {
@calcom/api:build:
@calcom/api:build: > Build error occurred
@calcom/api:build: Error: Call retries were exceeded
@calcom/api:build: at ChildProcessWorker.initialize (/Users/kraj/tbd_work_area/tbd_git_area/cal_com_sandbox_hosting/cal_com_v3/cal.com/node_modules/next/dist/compiled/jest-worker/index.js:1:11661)
@calcom/api:build: at ChildProcessWorker._onExit (/Users/kraj/tbd_work_area/tbd_git_area/cal_com_sandbox_hosting/cal_com_v3/cal.com/node_modules/next/dist/compiled/jest-worker/index.js:1:12599)
@calcom/api:build: at ChildProcess.emit (node:events:527:28)
@calcom/api:build: at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12) {
@calcom/api:build: type: 'WorkerError'
@calcom/api:build: }
Philipp Fruh (Virtual-Identity)
07/20/2022, 6:55 AMJimmy Chan
07/23/2022, 6:56 PMType error: Cannot find module '@lib/webhooks/sendPayload' or its corresponding type declarations.
Krishna Raj
07/26/2022, 6:39 AMCommand is: `RUN yarn workspace @calcom/api build
Step 20/37 : RUN yarn workspace @calcom/api build
---> Running in bc5aa4b8127b
yarn workspace v1.22.19
yarn run v1.22.19
$ next build
warn - You are using a non-standard "NODE_ENV" value in your environment. This creates inconsistencies in the project and is strongly advised against. Read more: <https://nextjs.org/docs/messages/non-standard-node-env>
warn - axiom: Envvars not detected. If this is production please see <https://github.com/axiomhq/next-axiom> for help
warn - axiom: Sending Web Vitals to /dev/null
warn - axiom: Sending logs to console
Attention: Next.js now collects completely anonymous telemetry regarding usage.
This information is used to shape Next.js' roadmap and prioritize features.
You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
<https://nextjs.org/telemetry>
info - Linting and checking validity of types...
Failed to compile.
./pages/api/attendees/[id].ts
1:1 Error: Delete `import·type·{·NextApiRequest,·NextApiResponse·}·from·"next";⏎⏎` prettier/prettier
5:9 Error: Replace `·schemaAttendeeEditBodyParams,·schemaAttendeeReadPublic·` with `⏎··schemaAttendeeEditBodyParams,⏎··schemaAttendeeReadPublic,⏎` prettier/prettier
9:56 Error: Insert `t";⏎import·type·{·NextApiRequest,·NextApiResponse·}·from·"nex` prettier/prettier
120:14 Error: Replace `.status(400)` with `⏎············.status(400)⏎············` prettier/prettier
180:56 Error: Replace `withValidQueryIdTransformParseInt(attendeeById)` with `⏎··withValidQueryIdTransformParseInt(attendeeById)⏎` prettier/prettier
./pages/api/attendees/index.ts
1:1 Error: Delete `import·type·{·NextApiRequest,·NextApiResponse·}·from·"next";⏎⏎` prettier/prettier
5:9 Error: Replace `·schemaAttendeeCreateBodyParams,·schemaAttendeeReadPublic·}·from·"@lib/validations/attendee` with `⏎··schemaAttendeeCreateBodyParams,⏎··schemaAttendeeReadPublic,⏎}·from·"@lib/validations/attendee";⏎import·type·{·NextApiRequest,·NextApiResponse·}·from·"next` prettier/prettier
24:39 Error: Replace `·schemaAttendeeReadPublic.parse(attendee)` with `⏎······schemaAttendeeReadPublic.parse(attendee)⏎····` prettier/prettier
89:10 Error: Replace `.status(400)` with `⏎········.status(400)⏎········` prettier/prettier
101:55 Error: Replace `.map((booking:·{·id:·number·})·=>·booking.id)` with `⏎········.map((booking:·{·id:·number·})·=>·booking.id)⏎········` prettier/prettier
./pages/api/availabilities/[id].ts
1:1 Error: Delete `import·type·{·NextApiRequest,·NextApiResponse·}·from·"next";⏎⏎` prettier/prettier
13:1 Error: Insert `import·type·{·NextApiRequest,·NextApiResponse·}·from·"next";⏎` prettier/prettier
20:8 Error: Replace `.status(400)` with `⏎······.status(400)⏎······` prettier/prettier
25:53 Error: Insert `⏎···` prettier/prettier
57:16 Error: Replace `.status(404).json({·mess
Patrick DePippo
07/26/2022, 11:17 AMAgusti
07/26/2022, 6:56 PMKaushal Sharma
07/27/2022, 2:32 PMWill Gittoes
07/28/2022, 5:18 AMviewer.setDestinationCalendar
. It never works. I’ve removed ALL calendar apps and re-added just my Apple Calendar. I have two calendars, and by default it wants to post to the family calendar and that works, but I want to switch it to my personal calendar. I get this response:[
{
"id": null,
"error": {
"json": {
"message": "Could not find calendar <https://caldav.icloud.com/14--snip---55/calendars/DDE---snip---D7/>",
"code": -32600,
"data": {
"code": "BAD_REQUEST",
"httpStatus": 400,
"path": "viewer.setDestinationCalendar"
}
}
}
}
]
Hmmmm don’t worry, updating to latest production branch seemed to fix it!Krishna Raj
08/10/2022, 1:55 AM