# Problem with retired tags

**URL:** <https://forum.inductiveautomation.com/t/problem-with-retired-tags/71899>\
**Category:** Ignition\
**Created:** [March 31, 2023, 12:55pm UTC](https://forum.inductiveautomation.com/t/problem-with-retired-tags/71899 "2023-03-31T12:55:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Freddy\_Haggblom](https://avatars.discourse-cdn.com/v4/letter/f/ed8c4c/32.png) [@Freddy\_Haggblom](https://forum.inductiveautomation.com/u/Freddy_Haggblom)\
**Post date:** [March 31, 2023, 12:55pm UTC](https://forum.inductiveautomation.com/t/problem-with-retired-tags/71899/1 "2023-03-31T12:55:13Z")

</div>

Hi,

I am having problems reading tag history on several tags, I use UDT and have set sample mode to "On change", Min time between samples to 2 sec and max 10 sec. This works fine on aprox 60-70 % of the tags that use this UDT, but the rest don't work and seems that they have been "retired" in database. What causes that and how do I fix it?

Best regards,  
Freddy

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [March 31, 2023, 1:18pm UTC](https://forum.inductiveautomation.com/t/problem-with-retired-tags/71899/2 "2023-03-31T13:18:03Z")

</div>

Tags should get retired when they're moved, deleted, disabled or their historization is disabled (I think).  
You'll need to review your tags configurations to figure out what's up.

Also, note that some versions ago (Can't say which, but that was about a year ago I believe ?), some changes were made to tags retirement, as it had I believe, a few bugs/issues.  
So your version might also have something to do with this.

---

<div class="post-metadata">

**Author:** ![Freddy\_Haggblom](https://avatars.discourse-cdn.com/v4/letter/f/ed8c4c/32.png) [@Freddy\_Haggblom](https://forum.inductiveautomation.com/u/Freddy_Haggblom)\
**Post date:** [March 31, 2023, 2:26pm UTC](https://forum.inductiveautomation.com/t/problem-with-retired-tags/71899/3 "2023-03-31T14:26:49Z")

</div>

Hi,

Thanks for input. Most likely there is a bug then, version is from early 2022, since all the tags are working against the same UDT and no override is done on the not-working tags.

Just want to check, will there be a difference if I manually remove the value for "retired" in the database? Or do I need to update the gateway? I remember that when updating gateway on another server I got issues with communication over OPC.
