# Cannot Create UDT Instance

**URL:** <https://forum.inductiveautomation.com/t/cannot-create-udt-instance/35553>\
**Category:** Ignition\
**Tags:** ignition80\
**Created:** [June 11, 2020, 2:51pm UTC](https://forum.inductiveautomation.com/t/cannot-create-udt-instance/35553 "2020-06-11T14:51:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kaushik.shah](https://avatars.discourse-cdn.com/v4/letter/k/34f0e0/32.png) [@kaushik.shah](https://forum.inductiveautomation.com/u/kaushik.shah)\
**Post date:** [June 11, 2020, 2:51pm UTC](https://forum.inductiveautomation.com/t/cannot-create-udt-instance/35553/1 "2020-06-11T14:51:07Z")

</div>

I am having strange issue creating UDT instance as below :

[https://us1.discourse-cdn.com/inductiveautomation/original/2X/8/8d327fd29b21150a076ed77588499f9a2a8903de.mp4](https://us1.discourse-cdn.com/inductiveautomation/original/2X/8/8d327fd29b21150a076ed77588499f9a2a8903de.mp4)

Any Idea ?

---

<div class="post-metadata">

**Author:** ![kaushik.shah](https://avatars.discourse-cdn.com/v4/letter/k/34f0e0/32.png) [@kaushik.shah](https://forum.inductiveautomation.com/u/kaushik.shah)\
**Post date:** [June 11, 2020, 3:12pm UTC](https://forum.inductiveautomation.com/t/cannot-create-udt-instance/35553/2 "2020-06-11T15:12:19Z")

</div>

Also, this is what I get in Logs :

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

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [June 12, 2020, 2:05am UTC](https://forum.inductiveautomation.com/t/cannot-create-udt-instance/35553/3 "2020-06-12T02:05:05Z")

</div>

Unrelated (maybe), but should that machine number parameter be a double or an int?  
Also, consider only using the String type for UDT parameters. These are far more flexible as they allow you to pass parameters into them, for example if you nest UDTs within other UDT definitions and you want to pass parameters from the top level UDT to the nested UDT parameter values.  
You can’t use a parameter substitution within a numeric type (at least not in v7, maybe it’s changed in v8?).

---

<div class="post-metadata">

**Author:** ![kaushik.shah](https://avatars.discourse-cdn.com/v4/letter/k/34f0e0/32.png) [@kaushik.shah](https://forum.inductiveautomation.com/u/kaushik.shah)\
**Post date:** [June 16, 2020, 2:08pm UTC](https://forum.inductiveautomation.com/t/cannot-create-udt-instance/35553/4 "2020-06-16T14:08:11Z")

</div>

@nminchin, I found out that it was actually an version issue. I was using 8.0.5 and then upgraded to 8.0.10 which solved the problem.
