# Find invalid tags?

**URL:** <https://forum.inductiveautomation.com/t/find-invalid-tags/50266>\
**Category:** Ignition\
**Tags:** ignition80\
**Created:** [August 25, 2021, 12:59pm UTC](https://forum.inductiveautomation.com/t/find-invalid-tags/50266 "2021-08-25T12:59:32Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![peter](https://avatars.discourse-cdn.com/v4/letter/p/278dde/32.png) [@peter](https://forum.inductiveautomation.com/u/peter)\
**Post date:** [August 25, 2021, 12:59pm UTC](https://forum.inductiveautomation.com/t/find-invalid-tags/50266/1 "2021-08-25T12:59:33Z")

</div>

(I’d expect that this is a dupe of something, but I haven’t found it yet)

I’m developing both the PLC program and HMI at the same time. As the code is changing hourly there is a chance that a tag I’ve imported into the HMI no longer exists(1). I noticed one such tag by accident this morning when I opened my Ignition project.

So the question is: Is it possible to generate a report of all invalid tags in a project?

(Note that I am not looking for tags constructed on the fly, only those that have been dragged into the project from the device tag browser, and are now reporting as “Error\_Configuration”)

(Note also I’m testing 8.1.9 at the moment)

* * *

(1) This is happening because I’m refactoring names in the PLC to better comply with the company “standard”. Yeah I should probably wait for the code to settle down before working on the HMI side, but where would the fun be in that? Actually the act of looking more closely at the names when dragging from the PLC has made me pay attention to the naming standard and pick up a bunch of wrong names that I had overlooked.

---

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [August 25, 2021, 1:25pm UTC](https://forum.inductiveautomation.com/t/find-invalid-tags/50266/2 "2021-08-25T13:25:53Z")

</div>

`system.tag.browse(path:'[default]' , 'filter'={'quality':'Bad'}, "recursive":True)`  
should give you a list i think  
[https://docs.inductiveautomation.com/display/DOC81/system.tag.browse](https://docs.inductiveautomation.com/display/DOC81/system.tag.browse)

---

<div class="post-metadata">

**Author:** ![peter](https://avatars.discourse-cdn.com/v4/letter/p/278dde/32.png) [@peter](https://forum.inductiveautomation.com/u/peter)\
**Post date:** [August 25, 2021, 1:27pm UTC](https://forum.inductiveautomation.com/t/find-invalid-tags/50266/3 "2021-08-25T13:27:58Z")

</div>

I know that I can script something, but I’m looking for a simple “push the button and get the results” directly from the designer UI

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [August 25, 2021, 1:28pm UTC](https://forum.inductiveautomation.com/t/find-invalid-tags/50266/4 "2021-08-25T13:28:32Z")

</div>

That doesn’t exist, but it’s something we’re in the early stages of designing/thinking about.

---

<div class="post-metadata">

**Author:** ![peter](https://avatars.discourse-cdn.com/v4/letter/p/278dde/32.png) [@peter](https://forum.inductiveautomation.com/u/peter)\
**Post date:** [August 25, 2021, 1:32pm UTC](https://forum.inductiveautomation.com/t/find-invalid-tags/50266/5 "2021-08-25T13:32:27Z")

</div>

Well to add to your thinking. I’ve got tags spread across 130+ hierarchial folders. So technically I need to open all 130 of them right now to see if there is an issue.

---

<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:** [August 25, 2021, 7:55pm UTC](https://forum.inductiveautomation.com/t/find-invalid-tags/50266/7 "2021-08-25T19:55:34Z")

</div>

I created something like this in a Vision Window where you could select the type of bad tags to find. Often you’ll want to ignore disabled tags, or only find error configuration tags, or a selection of qualities. I can also export my results to a csv or to clipboard in case I need in Excel.

I’m sure you guys will be all over it, but just thought I’d chime in with my use cases.

---

<div class="post-metadata">

**Author:** ![tashby](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/tashby/32/67562_2.png) [@tashby](https://forum.inductiveautomation.com/u/tashby)\
**Post date:** [September 24, 2021, 4:25pm UTC](https://forum.inductiveautomation.com/t/find-invalid-tags/50266/8 "2021-09-24T16:25:25Z")

</div>

@nminchin If you’re willing to share, I’d be interested in utilizing what you have. Is it available on exchange? I’ve been needing something like this as a sort of project quality check to make sure we’ve gotten outliers of bad tags or tags with default settings that should be updated etc. This often times gets missed on larger projects by some of my programmers.
