# Max Length for tags

**URL:** <https://forum.inductiveautomation.com/t/max-length-for-tags/5205>\
**Category:** Ignition\
**Created:** [September 27, 2012, 8:08am UTC](https://forum.inductiveautomation.com/t/max-length-for-tags/5205 "2012-09-27T08:08:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lisawas](https://avatars.discourse-cdn.com/v4/letter/l/4bbf92/32.png) [@lisawas](https://forum.inductiveautomation.com/u/lisawas)\
**Post date:** [September 27, 2012, 8:08am UTC](https://forum.inductiveautomation.com/t/max-length-for-tags/5205/1 "2012-09-27T08:08:58Z")

</div>

Is there a maximum length for tag names, paths, or values? What about a maximum folder depth?

I’m creating tags using IALabs scripting module, and it looked like extremely deep trees of tags with long path names were throwing exceptions.

---

<div class="post-metadata">

**Author:** ![greg.simpson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/greg.simpson/32/3135_2.png) [@greg.simpson](https://forum.inductiveautomation.com/u/greg.simpson)\
**Post date:** [September 27, 2012, 4:35pm UTC](https://forum.inductiveautomation.com/t/max-length-for-tags/5205/2 "2012-09-27T16:35:59Z")

</div>

How many bytes is the path? You might also be limited, like in the other post, to the 4096 bytes in a string. However, since Java uses unicode, you will be limited to 2048 characters.
