Monitor - 502 shown in GREEN and do not send notifications

Hi, I have a monitor running, and I got a 502 (bad gateway), but It shows the running in green and does not send notification emails.


What can I do?
Thanks

Hey @telecoms-candidate12 :wave:

Welcome to the Postman Community! :postman:

Do you have tests within that Collection that are checking the status code or any other property of the response that’s important to you?

As an example, this monitor returns a 502 and is Green. There is nothing telling the monitor that this is bad or should be Red.

If I was to add a basic status code check in there to check for a 200 code, this would fail and fail the monitored run.

No ,I do not have tests. In other APIs I do not use them and send me notifications, I will do them, thanks a lot

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.