# \[IGN-16691\]Gateway Event Script Compile Error

**URL:** <https://forum.inductiveautomation.com/t/ign-16691-gateway-event-script-compile-error/116115>\
**Category:** Ignition\
**Created:** [June 23, 2026, 7:31pm UTC](https://forum.inductiveautomation.com/t/ign-16691-gateway-event-script-compile-error/116115 "2026-06-23T19:31:32Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![jespinmartin1](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jespinmartin1/32/57175_2.png) [@jespinmartin1](https://forum.inductiveautomation.com/u/jespinmartin1)\
**Post date:** [July 6, 2026, 12:54pm UTC](https://forum.inductiveautomation.com/t/ign-16691-gateway-event-script-compile-error/116115/5 "2026-07-06T12:54:37Z")

</div>

I'm facing the same error after upgrading to 8.3.7

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/7/d/7dcba0a3736c94b37dc868d4accc45638c8d87a9.png)

I've noticed that the issue is on the first indent/keyword. If you don't want to move your logic into libraries, another workaround is by adding triple-quoted string on first line.

```python
""""""

```

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/5/550550791dbd4ba2755391414ccec10365b26561.png)  
and it let you save. I hope it gets fixed soon.

---

_[View the full topic](https://forum.inductiveautomation.com/t/ign-16691-gateway-event-script-compile-error/116115)._
