P
Prisma2mo ago
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'
}
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?
No description
Solution:
with Prisma Accelerate connection string
Jump to solution
4 Replies
Nurul
Nurul2mo ago
Does this happen when you are using Prisma Accelerate connection string or the direct postgres conection string?
Solution
Antonin
Antonin2mo ago
with Prisma Accelerate connection string
Nurul
Nurul2mo ago
If I understand correctly, this issue happens intermittently and not always, correct? Also, can you let me know your GitHub Handle?
Antonin
Antonin2mo ago
the error occurs systematically if there are too many requests and I have to restart my database to get back to normal. my github login is antonind72, the project is not public as it belongs to a customer
Want results from more Discord servers?
Add your server