# Error when executing a Client Tag Change script

**URL:** <https://forum.inductiveautomation.com/t/error-when-executing-a-client-tag-change-script/24581>\
**Category:** Ignition\
**Tags:** ignition80\
**Created:** [May 2, 2019, 6:19am UTC](https://forum.inductiveautomation.com/t/error-when-executing-a-client-tag-change-script/24581 "2019-05-02T06:19:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Henk](https://avatars.discourse-cdn.com/v4/letter/h/b5ac83/32.png) [@Henk](https://forum.inductiveautomation.com/u/Henk)\
**Post date:** [May 2, 2019, 6:19am UTC](https://forum.inductiveautomation.com/t/error-when-executing-a-client-tag-change-script/24581/1 "2019-05-02T06:19:31Z")

</div>

Error message:  
Error executing tag change script. Tag event received for unknown property. Path: [client]_tagname_, property: Value  
The script is executed though.

---

<div class="post-metadata">

**Author:** ![dkhayes117](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/dkhayes117/32/68344_2.png) [@dkhayes117](https://forum.inductiveautomation.com/u/dkhayes117)\
**Post date:** [May 2, 2019, 12:42pm UTC](https://forum.inductiveautomation.com/t/error-when-executing-a-client-tag-change-script/24581/2 "2019-05-02T12:42:38Z")

</div>

post your script inside triple back quotes(above the tab key). Having script posted is always a helpful thing. My first impression is that _Value_ needs to be _value_.

---

<div class="post-metadata">

**Author:** ![Henk](https://avatars.discourse-cdn.com/v4/letter/h/b5ac83/32.png) [@Henk](https://forum.inductiveautomation.com/u/Henk)\
**Post date:** [May 7, 2019, 7:14am UTC](https://forum.inductiveautomation.com/t/error-when-executing-a-client-tag-change-script/24581/3 "2019-05-07T07:14:42Z")

</div>

```auto
from time import sleep
ClientTagsFolder = Util.LocatieClienttags()
qv = system.tag.read( ClientTagsFolder + 'OpenPopupTimer' ) // trigger tag script
Teller = qv.value
print Teller
if( Teller > 0 ):
	Teller = Teller - 1
	system.tag.write( ClientTagsFolder + 'OpenPopupTimer', Teller )
	sleep( 1 )
if( Teller == 0 ):
	qv = system.tag.read( ClientTagsFolder + 'OpenPopup' )
	Popuppath = qv.value
	system.nav.closeWindow( Popuppath )

```
