calcom / platform-starter-kit

Cal.com Platform: Starter Kit
https://experts.cal.com
MIT License
143 stars 17 forks source link

Server crashing with "Application error: a server-side exception has occurred (see the server logs for more information). Digest: 1802768317" #34

Open she0305 opened 4 days ago

she0305 commented 4 days ago

Description

I'm using Supabase + Cal.com platform-starter-kit and deploying with Vercel. My server crashes very frequently with "Application error: a server-side exception has occurred (see the server logs for more information). Digest: 1802768317". I'm pretty new to this, and just got the cal.com Platform product. Can someone help me with this issue?

image

Server log:

PrismaClientUnknownRequestError: 
Invalid `prisma.user.findUnique()` invocation:

Error occurred during query execution:
ConnectorError(ConnectorError { user_facing_error: None, kind: QueryError(PostgresError { code: "08P01", message: "bind message supplies 3 parameters, but prepared statement \"s12\" requires 1", severity: "ERROR", detail: None, column: None, hint: None }), transient: false })
    at In.handleRequestError (/var/task/node_modules/.pnpm/@prisma+client@5.15.0_prisma@5.15.0/node_modules/@prisma/client/runtime/library.js:122:7067)
    at In.handleAndLogRequestError (/var/task/node_modules/.pnpm/@prisma+client@5.15.0_prisma@5.15.0/node_modules/@prisma/client/runtime/library.js:122:6211)
    at In.request (/var/task/node_modules/.pnpm/@prisma+client@5.15.0_prisma@5.15.0/node_modules/@prisma/client/runtime/library.js:122:5919)
    at async l (/var/task/node_modules/.pnpm/@prisma+client@5.15.0_prisma@5.15.0/node_modules/@prisma/client/runtime/library.js:127:11167) {
  clientVersion: '5.15.0',
  digest: '1802768317'
}

I'm not sure if this is relevant, but I haven't been able to seed with the given Supabase seed.sql file as well..

image