Postman collection runs fine on postman but not on newman

Your question may already have an answer on the community forum. Please search for related topics, and then read through the guidelines before creating a new topic.

Hereโ€™s an outline with best practices for making your inquiry.

My question: postman collection runs fine on postman but not on newman

Details (like screenshots):
I am able to run the collection on postman but not on newman. I keep getting errors as

  1. Status code is 200
    2โ „ TypeError in test-script

How I found the problem: While trying to run collections using newman.

Iโ€™ve already tried: