# Named query failing on gateway scripting project

**URL:** <https://forum.inductiveautomation.com/t/named-query-failing-on-gateway-scripting-project/86565>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [February 29, 2024, 3:08am UTC](https://forum.inductiveautomation.com/t/named-query-failing-on-gateway-scripting-project/86565 "2024-02-29T03:08:55Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![amy.sudibyo](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/amy.sudibyo/32/38659_2.png) [@amy.sudibyo](https://forum.inductiveautomation.com/u/amy.sudibyo)\
**Post date:** [February 29, 2024, 4:09am UTC](https://forum.inductiveautomation.com/t/named-query-failing-on-gateway-scripting-project/86565/2 "2024-02-29T04:09:36Z")

</div>

I have just been alerted to this thread, seems like a known bug.

Workaround for now just to add project name I guess.

> [@\[IGN-5604\] scoping weirdness after call to system.report functions](https://forum.inductiveautomation.com/t/ign-5604-scoping-weirdness-after-call-to-system-report-functions/81022/12):
>
> Is there a range of affected versions? Or has this been there forever?

---

_[View the full topic](https://forum.inductiveautomation.com/t/named-query-failing-on-gateway-scripting-project/86565)._
