In Day 7 of the thirty day challenge, even though everything’s okay while sending the request, it won’t clear the test criteria “Log statement added correctly”. It says “TypeError: Cannot read properties of undefined (reading ‘find’).” I’ve been trying to debug it since last two hours. Help please!
Link to workspace: Postman
Look at the first screenshot.
- It appears that the request is not saved.
- The syntax highlighter does not recognize forEach and log. It should look like:
1 Like
I don’t know if its because you’ve now saved the request, but I forked your collection and its working fine and passing all tests.
1 Like
Hi, thank you for your responses. No issues with saving, although it might have looked that way in screenshots. Now for whatever reason , it worked as if nothing had happened before. I don’t know why it behaves like this, I had gotten the same issue in a few previous challenges as well.
This topic was automatically closed after 30 days. New replies are no longer allowed.