# System.tag.configure Error

**URL:** <https://forum.inductiveautomation.com/t/system-tag-configure-error/112586>\
**Category:** Ignition\
**Tags:** ignition81, scripting\
**Created:** [December 3, 2025, 10:29am UTC](https://forum.inductiveautomation.com/t/system-tag-configure-error/112586 "2025-12-03T10:29:04Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![deon.korb](https://avatars.discourse-cdn.com/v4/letter/d/8c91f0/32.png) [@deon.korb](https://forum.inductiveautomation.com/u/deon.korb)\
**Post date:** [December 3, 2025, 10:29am UTC](https://forum.inductiveautomation.com/t/system-tag-configure-error/112586/1 "2025-12-03T10:29:05Z")

</div>

Hi,

I have a maintenance script that essentially duplicates all UDT from a source provider to target providers to enable me to share a standard set of UDTs. This worked beautifully in 8.1 and somehow only works partially in 8.3.

The problem is that the `system.tag.configure()` method fails with this error on some UDTs:

```python
sourcePath = '[default]_types_/SourceUDT'
basePath = '[default]_types_/TargetFolder'

typeConfig = system.tag.getConfiguration(sourcePath, True)
print system.tag.configure(basePath, typeConfig, "o")
>> [Error_Configuration("java.lang.ClassCastException")]

```

I don’t know how to investigate the cause further. Something, in only some of my UDTs, are causing this.

I have stripped all the recursive browsing etc from the script and found the error still occurs on just the tag.configure of the offending UDTs.

Any advice or is this a bug?

For what it is worth, EAM has no problem sending these UDTs around. Unfortunately it is a maintenance nightmare to send UDT to 10 gateways with 10 tag providers each.

---

<div class="post-metadata">

**Author:** ![deon.korb](https://avatars.discourse-cdn.com/v4/letter/d/8c91f0/32.png) [@deon.korb](https://forum.inductiveautomation.com/u/deon.korb)\
**Post date:** [December 3, 2025, 10:47am UTC](https://forum.inductiveautomation.com/t/system-tag-configure-error/112586/2 "2025-12-03T10:47:50Z")

</div>

I made progress using `system.tag.copy()`, but I still don’t know why `system.tag.configure()` failed.

Unfortunately `system.tag.copy()` seems to be creating duplicate UDT definitions even though the collision policy is set to overwrite (actually, regardless of any collision policy):

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/b/d/bdcfce0cbdcf03dbaf607cdc2a51d82d9238cb51.png)

I would appreciate some guidance, else I’ll be setting up many EAM tasks.

---

<div class="post-metadata">

**Author:** ![tgarrison](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/tgarrison/32/80965_2.png) [@tgarrison](https://forum.inductiveautomation.com/u/tgarrison)\
**Post date:** [December 3, 2025, 1:56pm UTC](https://forum.inductiveautomation.com/t/system-tag-configure-error/112586/3 "2025-12-03T13:56:22Z")

</div>

Possibly related to this:

> [@8.3.1 System.tag.getConfiguration() not behaving the same as 8.1](https://forum.inductiveautomation.com/t/8-3-1-system-tag-getconfiguration-not-behaving-the-same-as-8-1/112188):
>
> Previously in 8.1 the system.tag.getConfiguration() would return a config object that could then be used to make edits to a tag and then reconfigure it using system.tag.configure() with that config object. tp = "[default]Test/New Tag" config = system.tag.getConfiguration(tp, True) system.tag.configure("[default]Test", config, 'o') In 8.1 this gives a [Good] result. However in 8.3.1 this gives the following error. [Error\_Configuration("java.lang.ClassCastException: class com.inductiveautomat…

---

<div class="post-metadata">

**Author:** ![deon.korb](https://avatars.discourse-cdn.com/v4/letter/d/8c91f0/32.png) [@deon.korb](https://forum.inductiveautomation.com/u/deon.korb)\
**Post date:** [December 3, 2025, 1:58pm UTC](https://forum.inductiveautomation.com/t/system-tag-configure-error/112586/4 "2025-12-03T13:58:46Z")

</div>

It is. I obviously did not search properly, apologies.

The behaviour of `system.tag.copy` still does not seem good

---

<div class="post-metadata">

**Author:** ![tgarrison](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/tgarrison/32/80965_2.png) [@tgarrison](https://forum.inductiveautomation.com/u/tgarrison)\
**Post date:** [December 3, 2025, 2:03pm UTC](https://forum.inductiveautomation.com/t/system-tag-configure-error/112586/5 "2025-12-03T14:03:49Z")

</div>

Looks like it should be fixed in 8.3.2 though I read the rest of the topic correctly.
