# Code in the gateway cannot run

**URL:** <https://forum.inductiveautomation.com/t/code-in-the-gateway-cannot-run/88804>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [April 15, 2024, 10:19am UTC](https://forum.inductiveautomation.com/t/code-in-the-gateway-cannot-run/88804 "2024-04-15T10:19:55Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [April 15, 2024, 12:17pm UTC](https://forum.inductiveautomation.com/t/code-in-the-gateway-cannot-run/88804/3 "2024-04-15T12:17:02Z")

</div>

You should review this topic:

> [@\[IGN-4437\] Ignition occasionally forgets how Python works?](https://forum.inductiveautomation.com/t/ign-4437-ignition-occasionally-forgets-how-python-works/69635):
>
> This is a difficult bug to describe and even harder to reproduce. But it's happening to me. I have written Python scripts, custom classes, etc. for our site. 99.9% of the time, they run fine. But, every once in a while, while calling a database and transforming the returned dataset into linked custom class objects using a Python script, I get a strange error that is making me think that Ignition is not loading its Python scripts correctly somehow . . . ? Is that even possible? So far, the …

Contact support if nothing there applies.

---

_[View the full topic](https://forum.inductiveautomation.com/t/code-in-the-gateway-cannot-run/88804)._
