TypeError: Cannot read property '_id' of undefined
Hi, i arealdy done this course and have one issue.
" TypeError: Cannot read property '_id' of undefined "

I downloaded your full repository and have this error too.. Thanks

Hi,
I am getting an error at 12.lesson. Any suggestion how to solve it?
I solved my issue upgrading my mongodb to the latest version.
same here
nothing helped. mongodb already the latest version
you only need delete your database in mongodb of product and users, in any case delete all and create it again restarting the application.
check whether your API is working properly by using the postman tool if it is then check your database is created or not
by running the command on terminal: mongo use amanzona then show collection products
if exist check did you have imported products from redux store in the file where you tried to use product.