# "Cannot redefine types folder" error when trying to create UDT from SDK

**URL:** <https://forum.inductiveautomation.com/t/cannot-redefine-types-folder-error-when-trying-to-create-udt-from-sdk/110483>\
**Category:** Ignition 8.3 Early Access\
**Tags:** ignition83\
**Created:** [September 9, 2025, 12:31pm UTC](https://forum.inductiveautomation.com/t/cannot-redefine-types-folder-error-when-trying-to-create-udt-from-sdk/110483 "2025-09-09T12:31:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aron\_Semle](https://avatars.discourse-cdn.com/v4/letter/a/c77e96/32.png) [@Aron\_Semle](https://forum.inductiveautomation.com/u/Aron_Semle)\
**Post date:** [September 9, 2025, 12:31pm UTC](https://forum.inductiveautomation.com/t/cannot-redefine-types-folder-error-when-trying-to-create-udt-from-sdk/110483/1 "2025-09-09T12:31:19Z")

</div>

This worked in 8.1.+ but I'm using a TagProvider and create a tag configuration with tagConfiguration.set(WellKnownTagProps.TagType, UdtType); I then set the attributes/tags and call…

tagProvider.saveTagConfigsAsync(List.of(tagConfiguration), CollisionPolicy.Overwrite).get(this.settings.requestTimeoutMS, TimeUnit.MILLISECONDS);

And this errors out with "Cannot redefine types folder" in 8.3 rc1. Maybe I'm doing it wrong and there is a new way to create UDTs on the fly? I’ve tryed changing the CollisionPolicy but it doesn’t seem to matter.

---

<div class="post-metadata">

**Author:** ![mrojas](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mrojas/32/6394_2.png) [@mrojas](https://forum.inductiveautomation.com/u/mrojas)\
**Post date:** [September 9, 2025, 1:18pm UTC](https://forum.inductiveautomation.com/t/cannot-redefine-types-folder-error-when-trying-to-create-udt-from-sdk/110483/2 "2025-09-09T13:18:02Z")

</div>

That definitely should still work. What’s the rest of the `tagConfiguration` look like? And where are you calling `saveTagConfigsAsync` from?

---

<div class="post-metadata">

**Author:** ![Aron\_Semle](https://avatars.discourse-cdn.com/v4/letter/a/c77e96/32.png) [@Aron\_Semle](https://forum.inductiveautomation.com/u/Aron_Semle)\
**Post date:** [September 16, 2025, 12:47am UTC](https://forum.inductiveautomation.com/t/cannot-redefine-types-folder-error-when-trying-to-create-udt-from-sdk/110483/3 "2025-09-16T00:47:11Z")

</div>

Sorry for the delay. Looking back into this, I was using a ManagedTagProviderConfiguration.builder and was not setting .hasDataTypes(true). Maybe this is a new 8.3 setting or just one I missed in 8.1.
