# Monitor - 502 shown in GREEN and do not send notifications

**URL:** <https://community.postman.com/t/monitor-502-shown-in-green-and-do-not-send-notifications/56566>\
**Category:** Help Hub\
**Tags:** monitors\
**Created:** [January 15, 2024, 3:12am UTC](https://community.postman.com/t/monitor-502-shown-in-green-and-do-not-send-notifications/56566 "2024-01-15T03:12:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![telecoms-candidate12](https://avatars.discourse-cdn.com/v4/letter/t/ee59a6/32.png) [@telecoms-candidate12](https://community.postman.com/u/telecoms-candidate12)\
**Post date:** [January 15, 2024, 3:12am UTC](https://community.postman.com/t/monitor-502-shown-in-green-and-do-not-send-notifications/56566/1 "2024-01-15T03:12:40Z")

</div>

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.

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/b/0/b06e5633a611d9d405e86e30d7c728738cf4c1d1.png)  
What can I do?  
Thanks

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [January 15, 2024, 5:06pm UTC](https://community.postman.com/t/monitor-502-shown-in-green-and-do-not-send-notifications/56566/2 "2024-01-15T17:06:42Z")

</div>

Hey @telecoms-candidate12 👋

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.

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/c/3/c3afcf9407a3199407bcd1fa8b0b879fa63bb12f.png)

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.

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/e/c/ecf54a39f2c73367dda6d3282082ef5121ae8f71.png)

---

<div class="post-metadata">

**Author:** ![telecoms-candidate12](https://avatars.discourse-cdn.com/v4/letter/t/ee59a6/32.png) [@telecoms-candidate12](https://community.postman.com/u/telecoms-candidate12)\
**Post date:** [January 16, 2024, 2:16pm UTC](https://community.postman.com/t/monitor-502-shown-in-green-and-do-not-send-notifications/56566/3 "2024-01-16T14:16:17Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/system/32/29796_2.png) [@system](https://community.postman.com/u/system)\
**Post date:** [January 19, 2024, 2:17pm UTC](https://community.postman.com/t/monitor-502-shown-in-green-and-do-not-send-notifications/56566/4 "2024-01-19T14:17:08Z")

</div>

Closed on January 19, 2024, 2:17pm UTC

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