664 viewsNext Amazona

Hi Basir, when I tried logging the user credentials, the react-toastify is showing the “Client must be connected before running operations”, the in my console the error there is showing this “Failed to load resource: the server responded with a status of 401 (Unauthorized)”. the line of this error is coming from api/auth/callback/credentials?:1

From the next-tailwind-amazona project, I’m on Video-14-Create-Login-API

Bassir Answered question March 9, 2023

for 401 error it means that you enter invalid user or password.

check this API to see what you pass as email and password to the backend.


Bassir Answered question March 9, 2023
You are viewing 1 out of 1 answers, click here to view all answers.