# Unable to receive NaN or INFINITY value via SparkPlug

**URL:** <https://forum.inductiveautomation.com/t/unable-to-receive-nan-or-infinity-value-via-sparkplug/39376>\
**Category:** Ignition\
**Created:** [October 5, 2020, 3:07pm UTC](https://forum.inductiveautomation.com/t/unable-to-receive-nan-or-infinity-value-via-sparkplug/39376 "2020-10-05T15:07:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![justin.brzozoski](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justin.brzozoski/32/13452_2.png) [@justin.brzozoski](https://forum.inductiveautomation.com/u/justin.brzozoski)\
**Post date:** [October 5, 2020, 3:07pm UTC](https://forum.inductiveautomation.com/t/unable-to-receive-nan-or-infinity-value-via-sparkplug/39376/1 "2020-10-05T15:07:49Z")

</div>

Some of our SparkPlug edge devices use float values of not-a-number (NaN) or infinity to indicate soft-fault conditions on individual metrics. The MQTT Engine module seems to receive and understand these values properly, but when they are handed off to Ignition, we get Java exceptions at ERROR level in the log:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/a/c/ac412680eb77419f1d965d4ccb2a64d3d6445e84.png)  
When I look at the tags in Ignition, they have a value of NULL and a quality of “Error”.

This isn’t a _horrible_ outcome since it’s not showing an incorrect value and the tag isn’t “Good” quality, but the log is filling up with message at ERROR level and it would be nice if we could see whether the value received was NaN or INFINITY without having to look in the server log.

I chatted with CirrusLink a bit and they are aware of this but didn’t have any suggestions on how to quiet the logs.

Does anyone on the forum have any suggestions?

---

<div class="post-metadata">

**Author:** ![KathyApplebaum](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kathyapplebaum/32/7261_2.png) [@KathyApplebaum](https://forum.inductiveautomation.com/u/KathyApplebaum)\
**Post date:** [October 5, 2020, 3:44pm UTC](https://forum.inductiveautomation.com/t/unable-to-receive-nan-or-infinity-value-via-sparkplug/39376/2 "2020-10-05T15:44:16Z")

</div>

This definitely seems like something we could add on our end. (Unfortunately, I don’t see a way for you to quiet the logs yourself.) I’ll make a ticket for it.
