# Monitor fails after all tests have run successfully

**URL:** <https://community.postman.com/t/monitor-fails-after-all-tests-have-run-successfully/48592>\
**Category:** Help Hub\
**Tags:** monitors\
**Created:** [June 15, 2023, 2:57pm UTC](https://community.postman.com/t/monitor-fails-after-all-tests-have-run-successfully/48592 "2023-06-15T14:57:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![leegrey-at-anywhere](https://avatars.discourse-cdn.com/v4/letter/l/7ba0ec/32.png) [@leegrey-at-anywhere](https://community.postman.com/u/leegrey-at-anywhere)\
**Post date:** [June 15, 2023, 2:57pm UTC](https://community.postman.com/t/monitor-fails-after-all-tests-have-run-successfully/48592/1 "2023-06-15T14:57:57Z")

</div>

We see this in our monitors occasionally. The entire collection runs fine, but then we get a failure at the end of the run.

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

Any idea what might cause this and how to avoid these misleading test failures?

---

<div class="post-metadata">

**Author:** ![arlem](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/arlem/32/3078_2.png) [@arlem](https://community.postman.com/u/arlem)\
**Post date:** [June 26, 2023, 11:26am UTC](https://community.postman.com/t/monitor-fails-after-all-tests-have-run-successfully/48592/2 "2023-06-26T11:26:17Z")

</div>

@leegrey-at-anywhere Do you have any pre-request or test script with a callback function in it?
