# Error executing script for event:internalFrameOpened

**URL:** <https://forum.inductiveautomation.com/t/error-executing-script-for-event-internalframeopened/12389>\
**Category:** General Discussion\
**Created:** [November 22, 2016, 5:25am UTC](https://forum.inductiveautomation.com/t/error-executing-script-for-event-internalframeopened/12389 "2016-11-22T05:25:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sonalikhairnar25](https://avatars.discourse-cdn.com/v4/letter/s/bbe5ce/32.png) [@sonalikhairnar25](https://forum.inductiveautomation.com/u/sonalikhairnar25)\
**Post date:** [November 22, 2016, 5:25am UTC](https://forum.inductiveautomation.com/t/error-executing-script-for-event-internalframeopened/12389/1 "2016-11-22T05:25:33Z")

</div>

when the ignition is opened the error pop up appears as shown in photo"Error executing script for event:internalFrameOpened on component:main window". 😕 what may be the problem? how can it be resolved??Also the detail of error is given in next photo.

---

<div class="post-metadata">

**Author:** ![nmudge](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nmudge/32/3394_2.png) [@nmudge](https://forum.inductiveautomation.com/u/nmudge)\
**Post date:** [November 22, 2016, 10:21am UTC](https://forum.inductiveautomation.com/t/error-executing-script-for-event-internalframeopened/12389/2 "2016-11-22T10:21:18Z")

</div>

Hi there,

The problem is that you have a Python module that is trying to read an Ignition tag that doesn’t exist. There are a couple ways to fix this. One way is to add the tag to Ignition that the script is trying to read. Another way is to change the Python code so it doesn’t try to read that tag.

Best,

---

<div class="post-metadata">

**Author:** ![sonalikhairnar25](https://avatars.discourse-cdn.com/v4/letter/s/bbe5ce/32.png) [@sonalikhairnar25](https://forum.inductiveautomation.com/u/sonalikhairnar25)\
**Post date:** [November 22, 2016, 11:52am UTC](https://forum.inductiveautomation.com/t/error-executing-script-for-event-internalframeopened/12389/3 "2016-11-22T11:52:18Z")

</div>

the tag already exists…i have checked it.

---

<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:** [November 22, 2016, 1:11pm UTC](https://forum.inductiveautomation.com/t/error-executing-script-for-event-internalframeopened/12389/4 "2016-11-22T13:11:31Z")

</div>

Impasse. You say the tag exists, the error report says the tag doesn’t exist. You are using an ancient version of Ignition that is extremely difficult for users on newer platforms to test. You really should call into support and get them to screen-share with you to figure out what is going on. Hopefully a bug in your code. Otherwise, if you’ve discovered or encountered a bug in that old, unsupported version, your only option would be to upgrade Ignition.
