Running monitor to check API availability - Testing

I have a basic test in my collection to check if the API returns a “Status code is 200”. When I run this via the collection it passes. But when I run it via the monitor it fails with the following error. Any thoughts?

pm.test("Status code is 200", function () {;

Hello @automationtester2496,

It seems like you have few more tests other than the Status code validation and those test cases are failing.

Removed the extra test still failing any thoughts?

Could it be that you are following a redirect?
This is an option when setting up monitors (not sure how it works as i’ve not used it, but a redirect is a 201 code i believe)


Ignore the above suggestion, i just tried it and it outputs a different message;


Could you screenshot your call, including the pre-req and test tabs?