# Error trying to change tag property using system.tag.configure

**URL:** <https://forum.inductiveautomation.com/t/error-trying-to-change-tag-property-using-system-tag-configure/62431>\
**Category:** Ignition\
**Created:** [July 28, 2022, 8:42pm UTC](https://forum.inductiveautomation.com/t/error-trying-to-change-tag-property-using-system-tag-configure/62431 "2022-07-28T20:42:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![VazquezGerardoEmmanu](https://avatars.discourse-cdn.com/v4/letter/v/e95f7d/32.png) [@VazquezGerardoEmmanu](https://forum.inductiveautomation.com/u/VazquezGerardoEmmanu)\
**Post date:** [July 28, 2022, 8:42pm UTC](https://forum.inductiveautomation.com/t/error-trying-to-change-tag-property-using-system-tag-configure/62431/1 "2022-07-28T20:42:27Z")

</div>

I´’m using this code to change a tag property

parentPath = “[default]IJDEventsModel/System53/SystemEvent0/EventTagValue”  
configs = system.tag.getConfiguration(parentPath, True)  
configs[0][‘sourceTagPath’] = “[~]IJDEventsModelOPC/LaserBPR02PLC/Event/Faulted”  
system.tag.configure(parentPath, configs, “o”)

But I get this error:

[Bad\_Unsupported(“The target path ‘[default]IJDEventsModel/System53/SystemEvent0/EventTagValue’ cannot accept children tags.”)]

Is there something missing on my syntax ??

any comment is very welcome

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [July 28, 2022, 9:50pm UTC](https://forum.inductiveautomation.com/t/error-trying-to-change-tag-property-using-system-tag-configure/62431/2 "2022-07-28T21:50:22Z")

</div>

Tip: can you format your code using the \</\> button? It preserves indents and linebreaks and applies syntax highlighting. You can use the 🖉 edit link to fix your post. Thanks!  
Welcome to the forum.
