skip to Main Content

I am having this issue on local development:

Error occurred during query execution:
ConnectorError(ConnectorError { user_facing_error: None, kind: AuthenticationFailed { user: "SCRAM failure: bad auth : authentication failed" }, transient: false })
    at async Page (./app/dashboard/[...folder]/page.tsx:49:16)
digest: "1029893487"
 ⨯ PrismaClientUnknownRequestError:
Invalid `prisma.cafe.findUnique()` invocation:

this error has been appeared after deploying to vercel. Problem with local development but everything is as expected on deployment.

2

Answers


  1. Chosen as BEST ANSWER

    Thanks Tyler for your answer the error was from local env file I found that I didn't updated my mongo url from .env.local


  2. I was having the same issue, eventually I ended up creating a new user under the MongoDB Atlas database users and that seemed to fix it.

    Another thing to note is that I had numbers in my original username, and I took them out for the new user (not sure if that is what fixed it or not).

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search