# system.alarm.queryStatus Exception with example in Docs

**URL:** <https://forum.inductiveautomation.com/t/system-alarm-querystatus-exception-with-example-in-docs/66923>\
**Category:** Ignition\
**Created:** [November 25, 2022, 12:56pm UTC](https://forum.inductiveautomation.com/t/system-alarm-querystatus-exception-with-example-in-docs/66923 "2022-11-25T12:56:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mik977](https://avatars.discourse-cdn.com/v4/letter/m/5f8ce5/32.png) [@mik977](https://forum.inductiveautomation.com/u/mik977)\
**Post date:** [November 25, 2022, 12:56pm UTC](https://forum.inductiveautomation.com/t/system-alarm-querystatus-exception-with-example-in-docs/66923/1 "2022-11-25T12:56:07Z")

</div>

This example from the docs generates an Exception:

props = [("Group", "=", "value1"), ("Group", "=", "value2")]  
state = ["ActiveUnacked", "ActiveAcked"]  
alarms = system.alarm.queryStatus(any\_properties = props, state = state)

Run from: 8.1.22, Designer script console.

Test:  
If nonempty props es passed as argument for any\_properties or all\_properties an Exception is generated.

---

<div class="post-metadata">

**Author:** ![Ben\_Eklund](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ben_eklund/32/40758_2.png) [@Ben\_Eklund](https://forum.inductiveautomation.com/u/Ben_Eklund)\
**Post date:** [December 7, 2022, 5:47pm UTC](https://forum.inductiveautomation.com/t/system-alarm-querystatus-exception-with-example-in-docs/66923/2 "2022-12-07T17:47:39Z")

</div>

This appears to be an issue specific to 8.1.22. I'm able to run this code on 8.1.17, but my coworker on 8.1.22 experienced the same exception. This was fixed in the nightly release for 8.1.23, and should be in the official release soon.
