# Issue Updating UDT OPC Item Path via system.tag.configure – Binding Breaks Until Manual Edit

**URL:** <https://forum.inductiveautomation.com/t/issue-updating-udt-opc-item-path-via-system-tag-configure-binding-breaks-until-manual-edit/108568>\
**Category:** Ignition\
**Tags:** perspective, ignition81\
**Created:** [July 16, 2025, 6:36pm UTC](https://forum.inductiveautomation.com/t/issue-updating-udt-opc-item-path-via-system-tag-configure-binding-breaks-until-manual-edit/108568 "2025-07-16T18:36:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![GUILHERME\_MARTINS](https://avatars.discourse-cdn.com/v4/letter/g/e9bcb4/32.png) [@GUILHERME\_MARTINS](https://forum.inductiveautomation.com/u/GUILHERME_MARTINS)\
**Post date:** [July 16, 2025, 6:36pm UTC](https://forum.inductiveautomation.com/t/issue-updating-udt-opc-item-path-via-system-tag-configure-binding-breaks-until-manual-edit/108568/1 "2025-07-16T18:36:59Z")

</div>

Hi everyone,

I'm encountering a strange behavior when trying to update the OPC item path of a member tag inside UDT instances using `system.tag.configure`. Here's my script:

```python
base_path = '[SS13]TECO/Trackers/'
paths = system.tag.browse(base_path, {'name': 'TMT*', 'recursive': True, 'tagType': 'UDTInstance'})

for path in paths:
    tags = str(path['fullPath']) + '/Flags/'
    newOPC = 'ns=1;s=[DeviceName]IRUS{Offset+80}'

    config = {
        "name": "FLAG_WORD",
        "opcItemPath": newOPC
    }

    system.tag.configure(tags, [config], 'm')

    print tags

```

The script successfully updates the `opcItemPath` for each tag, and I can see the new tagPath in the designer. However, the tag stops working, and shows the Error\_Configuration. It only starts working again after I manually edit the tag in the designer (for example, changing the tag path slightly and then changing it back).

Before changing the tag path

 ![Screenshot 2025-07-16 152007](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/5/55f29822e8762487893812175f1dc5741b00f2f0.jpeg)

After changing back

 ![Screenshot 2025-07-16 152021](https://us1.discourse-cdn.com/inductiveautomation/original/3X/e/9/e9612df3c48c8000f6c30f9ea81f513b82b3f4f0.jpeg)

I have over 2,000 tag instances that need to be updated, so doing this manually is not feasible.  
Also, I can't create new UDT definitions due to project restrictions.

Has anyone experienced similar issues or know a workaround to make the changes take effect immediately without breaking the tag binding?

Thanks in advance for your help!

---

<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 16, 2025, 7:09pm UTC](https://forum.inductiveautomation.com/t/issue-updating-udt-opc-item-path-via-system-tag-configure-binding-breaks-until-manual-edit/108568/2 "2025-07-16T19:09:05Z")

</div>

When a tag property value includes a parameter reference, you cannot just assign the string value with the curly braces embedded. You must expand that value to a binding dictionary for the expression to "stick". Export a working sample to JSON and inspect it to see the difference.
