Error, when sending props. Can not read properities of undefined (reading 'length')

It says ‘not found’ http://localhost:3001/todo. on line 14. What is that? A mock API?

this is common mysql database running on my device, and there you have all querries and router just to check it out…

I can’t tell you, why you get a 404 error from that mockAPI. I just see that the request string is ok now as you’re receiving a valid userId. The rest is another topic, I guess.

Ok, thanks for your help and time then.

1 Like