Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
diyoifa opened this issue May 11, 2024 · 0 comments
Labels
kind/bug A reported bug.

Comments

@diyoifa
Copy link

diyoifa commented May 11, 2024

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

  • OS:
  • Database:
  • Node.js version:

Prisma Version

    "@prisma/client": "^5.12.1",

@diyoifa diyoifa added the kind/bug A reported bug. label May 11, 2024
@prisma prisma locked and limited conversation to collaborators May 13, 2024
@janpio janpio converted this issue into discussion #24167 May 13, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
kind/bug A reported bug.
Projects
None yet
Development

No branches or pull requests

1 participant