PrismaP
Prisma2y ago
6 replies
Antonin

Error: PrismaClientUnknownRequestError:Invalid `prisma.user.groupBy()` invocation:

Error: PrismaClientUnknownRequestError:
Invalid `prisma.user.groupBy()` invocation:


Error occurred during query execution:
ConnectorError(ConnectorError { user_facing_error: None, kind: QueryError(PostgresError { code: "26000", message: "prepared statement \"s13\" does not exist", severity: "ERROR", detail: None, column: None, hint: None }), transient: false })
    at Qr.handleRequestError (C:\Users\nordi\Desktop\prismatest\node_modules\@prisma\client\runtime\edge.js:20:8194)
    at Qr.handleAndLogRequestError (C:\Users\nordi\Desktop\prismatest\node_modules\@prisma\client\runtime\edge.js:20:7311)
    at Qr.request (C:\Users\nordi\Desktop\prismatest\node_modules\@prisma\client\runtime\edge.js:20:7001)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async l (C:\Users\nordi\Desktop\prismatest\node_modules\@prisma\client\runtime\edge.js:29:9280)
    at async C:\Users\nordi\Desktop\prismatest\index.ts:13:20 {
  clientVersion: '5.17.0'
}


Hello, I have this error when I execute the same query too many times, who could help me with the setting please?
image.png
Solution
with Prisma Accelerate connection string
Was this page helpful?