Skip to content
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

Fatal Error: Unable to process count query undefined #1286

Open
vatsilidis opened this issue Nov 10, 2024 · 0 comments
Open

Fatal Error: Unable to process count query undefined #1286

vatsilidis opened this issue Nov 10, 2024 · 0 comments
Labels
kind/bug A reported bug.

Comments

@vatsilidis
Copy link

vatsilidis commented Nov 10, 2024

Bug description

After entering a new password in an account I've previously created using GitHub provider in Next.js, I'm getting this error:
A non-recoverable error has occurred. Reload Studio to continue. Consider reporting this error to us by opening an issue on GitHub and attaching the error details.
Details: Unable to process count query
undefined

How to reproduce

  1. Delete existing user(s) previously signed up with a specific email.
  2. Terminate Prisma Studio.
  3. In the Next.js app in localhost, Sign Up using GitHub (maybe is happening with other social providers as well).
  4. Sign Out.
  5. Sign In using the same email linked to the Social provider Sign Up of step 3 (Sign In using email & password).
  6. It will not recognize the password, so ask for a password reset email.
  7. Create a new password.
  8. Open Prisma studio locally running npx prisma studio.
  9. There it shows the Fatal Error screen.
  10. After reloading the server the error is not presented.
  11. If I close and open Prisma Studio again, the error reappears the first time the server opens.

Expected behavior

When opening Prisma Studio it should show the window without errors.

Prisma information

prisma : 5.21.0
@prisma/client : 5.21.0
Computed binaryTarget : darwin
Operating System : darwin
Architecture : x64
Node.js : v18.18.2
Query Engine (Node-API) : libquery-engine
Schema Engine : schema-engine-cli
Schema Wasm : @prisma/prisma-schema-wasm 5.21.0-36.08713...
Default Engines Hash : 08713....
Studio : 0.503.0

Environment & setup

  • OS: MacOs 15.0.1
  • Browser: Safari
  • Database: PostgreSQL

Prisma logs

No response

@vatsilidis vatsilidis added the kind/bug A reported bug. label Nov 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug A reported bug.
Projects
None yet
Development

No branches or pull requests

1 participant