This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
ConnectorError(ConnectorError { user_facing_error: None, kind: QueryError(PostgresError { code: "42P05", message: "prepared statement \"s0\" already exists", severity: "ERROR", detail: None, column: None, hint: None }), transient: false })] #24155
Labels
kind/bug
A reported bug.
Bug description
ConnectorError(ConnectorError { user_facing_error: None, kind: QueryError(PostgresError { code: "42P05", message: "prepared statement "s0" already exists", severity: "ERROR", detail: None, column: None, hint: None }), transient: false })]
15 async migrateClient(client: FirebaseFirestore.DocumentData){
16 try {
17 const phoneNumber = client.phoneNumber.includes('+') ? parseInt(client.phoneNumber.replace('+', ''), 10) : parseInt(client.phoneNumber);
→ 18 const clientExists = await this.prisma.userInfo.findUnique(
Error occurred during query execution:
ConnectorError(ConnectorError { user_facing_error: None, kind: QueryError(PostgresError { code: "42P05", message: "prepared statement "s0" already exists", severity: "ERROR", detail: None, column: None, hint: None }), transient: false })] Error checking if client exists
How to reproduce
Expected behavior
No response
Prisma information
// Add your schema.prisma
// Add your code using Prisma Client
Environment & setup
Prisma Version
The text was updated successfully, but these errors were encountered: