# Project Library Script Scope Issues in Gateway Scheduled Script

**URL:** <https://forum.inductiveautomation.com/t/project-library-script-scope-issues-in-gateway-scheduled-script/76137>\
**Category:** Ignition\
**Tags:** ignition81, scripting\
**Created:** [July 10, 2023, 2:43pm UTC](https://forum.inductiveautomation.com/t/project-library-script-scope-issues-in-gateway-scheduled-script/76137 "2023-07-10T14:43:24Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [July 10, 2023, 2:45pm UTC](https://forum.inductiveautomation.com/t/project-library-script-scope-issues-in-gateway-scheduled-script/76137/2 "2023-07-10T14:45:22Z")

</div>

That usually means someone edited that script and introduced a syntax error. Or some other error is occurring at the top level, prevent it from being imported. Look in your gateway logs. Try making a trivial change in that script, and saving the project. If there's a problem with its automatic import, it should show up in the gateway log shortly after.

(Adding or removing a blank line at the bottom is a pretty safe trivial change.)

---

_[View the full topic](https://forum.inductiveautomation.com/t/project-library-script-scope-issues-in-gateway-scheduled-script/76137)._
