# Tag read weirdness in 7.7.5

**URL:** <https://forum.inductiveautomation.com/t/tag-read-weirdness-in-7-7-5/10595>\
**Category:** Ignition\
**Created:** [October 8, 2015, 9:50pm UTC](https://forum.inductiveautomation.com/t/tag-read-weirdness-in-7-7-5/10595 "2015-10-08T21:50:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![JGJohnson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jgjohnson/32/29582_2.png) [@JGJohnson](https://forum.inductiveautomation.com/u/JGJohnson)\
**Post date:** [October 8, 2015, 9:50pm UTC](https://forum.inductiveautomation.com/t/tag-read-weirdness-in-7-7-5/10595/1 "2015-10-08T21:50:45Z")

</div>

Not a big deal but I have script that reads the value of the UDTParentType property for a UDT instance that could be in one of two folders. It tries reading with the path for the 1st folder and if the result is null then tries reading with the path for the 2nd folder. This used to work fine (I think) but is now broken.

In investigating the problem I found some very surprising results by putting in bogus paths. I promise I don’t have a tag named wombat anywhere in the project.

For example this:

`result = system.tag.read('wombat.udtparenttype')
print "Result = %s" % result
print "Result value = %s" % result.value
print "Result value type = %s" % type(result.value) `  
Produces the following result:

```auto
Result = [,Good]
Result value = 
Result value type = <type 'unicode'>
```

And this:

`result = system.tag.read('wombat.enabled')
print "Result = %s" % result
print "Result value = %s" % result.value
print "Result value type = %s" % type(result.value) 
`  
produces this output 😮

`Result = [true,Good]
Result value = True
Result value type = <type 'bool'>
`

And doing the same thing only misspelling the name of the property throws an exception. So there is obviously some checking going on under the hood the see if the property in the path is valid.

I believe in past versions if you tried to read a tag that doesn’t exist the return value was None. Or is that incorrect?

It’s good to know that that I don’t have a disabled wombat though! ![:mrgreen:](https://us1.discourse-cdn.com/inductiveautomation/original/1X/d23659b203d2d24d394be983a52adb2fa6fe23d4.gif "Mr. Green")

---

<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:** [October 8, 2015, 10:07pm UTC](https://forum.inductiveautomation.com/t/tag-read-weirdness-in-7-7-5/10595/2 "2015-10-08T22:07:24Z")

</div>

Looking into it…

---

<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:** [October 8, 2015, 10:12pm UTC](https://forum.inductiveautomation.com/t/tag-read-weirdness-in-7-7-5/10595/3 "2015-10-08T22:12:23Z")

</div>

What version were you using previously, when the behavior was different?

---

<div class="post-metadata">

**Author:** ![JGJohnson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jgjohnson/32/29582_2.png) [@JGJohnson](https://forum.inductiveautomation.com/u/JGJohnson)\
**Post date:** [October 8, 2015, 10:22pm UTC](https://forum.inductiveautomation.com/t/tag-read-weirdness-in-7-7-5/10595/4 "2015-10-08T22:22:52Z")

</div>

We were on version 7.5.13.
