615 viewsMern Amazona

Hi Basir,

I’m following your tutorial on YouTube about the MERN Amazona Project. I arrived to yous Video Commit 22. When I use ARC I keep getting this error message:

401 Unauthorized 11.10 ms                              DETAILS

{
message“: “Invalid email or password
}

Could you please help me to fix it?

Thanks in advance for your time and patience.
Best regards,
Vincenzo Arena.

Bassir Answered question March 9, 2023

To investigate this issue you need to check what you pass to the backend using console.log(req.body) in this line:
https://github.com/basir/mern-amazona/blob/master/backend/routes/userRoutes.js#L162

Bassir Answered question March 9, 2023