# ERROR: Found an unexpected leaf node

**URL:** <https://forum.inductiveautomation.com/t/error-found-an-unexpected-leaf-node/60843>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [June 16, 2022, 5:25pm UTC](https://forum.inductiveautomation.com/t/error-found-an-unexpected-leaf-node/60843 "2022-06-16T17:25:00Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![louagejasper](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/louagejasper/32/86311_2.png) [@louagejasper](https://forum.inductiveautomation.com/u/louagejasper)\
**Post date:** [June 16, 2022, 5:25pm UTC](https://forum.inductiveautomation.com/t/error-found-an-unexpected-leaf-node/60843/1 "2022-06-16T17:25:00Z")

</div>

I’m getting this error, and had some other logs that look related:

```auto
AgentEdgeNode	16Jun2022 16:41:40	Found an unexpected leaf node newMetricPath=Rejeter-B_CNT_PV_DIFF and metric.getName()=Rejeter-B_CNT_PV
AgentEdgeNode	16Jun2022 16:41:40	Found UDT match: 'Rejeter-B_CNT_PV_DIFF' startswith 'Rejeter-B_CNT_PV'
AgentEdgeNode	16Jun2022 16:41:40	Building UDT Data metric - Child metric name: Rejeter-B_CNT_PV
AgentEdgeNode	16Jun2022 16:41:40	Building UDT Data metric - Child metric: Metric [name=Rejeter-B_CNT_PV, alias=null, timestamp=1655389842381, dataType=Int64, isHistorical=false, isTransient=false, metaData=MetaData [isMultiPart=null, contentType=null, size=null, seq=null, fileName=null, fileType=null, md5=null, description=null], properties=PropertySet [propertyMap={Name_EN=PropertyValue [type=String, value=Reject-B_CNT_PV, isNull=false], documentation=PropertyValue [type=String, value=Number of Rejected Objects to the A rejector, isNull=false]}], value=117613, isNull=false]
AgentEdgeNode	16Jun2022 16:41:40	Device metric is null for Device=CLW-STRUCTURED/P04/PELER and metricName=TRIEUR-OPTICQUE/Trieur-Opticque-1/Rejeter-B_CNT_PV_DIFF

```

I have no idea what it does or what it breaks, but the tag has a pollrate of 1 min, and this error happens every minute. I have looked to the tags that are mentioned, but I’ve got no clue what would be going wrong. Everything seems to work just fine, but I don’t like having my logs with errors every minute.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [June 16, 2022, 5:30pm UTC](https://forum.inductiveautomation.com/t/error-found-an-unexpected-leaf-node/60843/2 "2022-06-16T17:30:04Z")

</div>

Do you have any third party modules installed? I don’t see anywhere in our code that would log those messages.

---

<div class="post-metadata">

**Author:** ![louagejasper](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/louagejasper/32/86311_2.png) [@louagejasper](https://forum.inductiveautomation.com/u/louagejasper)\
**Post date:** [June 17, 2022, 11:35am UTC](https://forum.inductiveautomation.com/t/error-found-an-unexpected-leaf-node/60843/3 "2022-06-17T11:35:06Z")

</div>

AgentEdgeNode is comming from CirrusLink MQTT Transmission. Should I pick it up with them?

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [June 17, 2022, 2:49pm UTC](https://forum.inductiveautomation.com/t/error-found-an-unexpected-leaf-node/60843/4 "2022-06-17T14:49:05Z")

</div>

Yes. They’ll engage with us (or tell you to) if it’s ultimately something coming from Ignition.

---

<div class="post-metadata">

**Author:** ![mgrishaber](https://avatars.discourse-cdn.com/v4/letter/m/e9c0ed/32.png) [@mgrishaber](https://forum.inductiveautomation.com/u/mgrishaber)\
**Post date:** [July 18, 2022, 6:25pm UTC](https://forum.inductiveautomation.com/t/error-found-an-unexpected-leaf-node/60843/5 "2022-07-18T18:25:52Z")

</div>

Did you ever work out what the issue was with CirrusLink? I recently started to get this error as well.

---

<div class="post-metadata">

**Author:** ![louagejasper](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/louagejasper/32/86311_2.png) [@louagejasper](https://forum.inductiveautomation.com/u/louagejasper)\
**Post date:** [August 3, 2022, 1:14pm UTC](https://forum.inductiveautomation.com/t/error-found-an-unexpected-leaf-node/60843/6 "2022-08-03T13:14:52Z")

</div>

Hi, @mgrishaber, no, we didn’t pick it up yet.

---

<div class="post-metadata">

**Author:** ![mgrishaber](https://avatars.discourse-cdn.com/v4/letter/m/e9c0ed/32.png) [@mgrishaber](https://forum.inductiveautomation.com/u/mgrishaber)\
**Post date:** [August 3, 2022, 3:13pm UTC](https://forum.inductiveautomation.com/t/error-found-an-unexpected-leaf-node/60843/7 "2022-08-03T15:13:23Z")

</div>

If you’re running MQTT Transmission 4.0.11, there is a bug with how it handles UDTs if you have member names that build off one another like you have with Rejeter-B\_CNT\_PV and Rejeter-B\_CNT\_PV\_DIFF. This causes the errors and the warnings in the log that you’ve been seeing.

This has been corrected in MQTT Transmission 4.0.12 that was released late last week. I just finished rolling that out yesterday and it does correct the issue from what I can tell.

---

<div class="post-metadata">

**Author:** ![louagejasper](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/louagejasper/32/86311_2.png) [@louagejasper](https://forum.inductiveautomation.com/u/louagejasper)\
**Post date:** [August 4, 2022, 7:52am UTC](https://forum.inductiveautomation.com/t/error-found-an-unexpected-leaf-node/60843/8 "2022-08-04T07:52:43Z")

</div>

Ok cool, we will test 4.0.12.
