# Error sending data to Azure IoT Hub

**URL:** <https://discourse.nodered.org/t/error-sending-data-to-azure-iot-hub/14154>\
**Category:** General\
**Created:** [8 August 2019 17:37 UTC](https://discourse.nodered.org/t/error-sending-data-to-azure-iot-hub/14154 "2019-08-08T17:37:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mshaz](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mshaz/32/2294_2.png) [@mshaz](https://discourse.nodered.org/u/mshaz)\
**Post date:** [8 August 2019 17:37 UTC](https://discourse.nodered.org/t/error-sending-data-to-azure-iot-hub/14154/1 "2019-08-08T17:37:43Z")

</div>

I have an issue sending data to Azure IoT hub. I could only send 3 parameters Temp, Humidity, AirQ.  
When i added the 4th line Pressure, it got disconnected.

Here is the error  
msg : string[93]

"Invalid JSONata expression: Argument 1 of function "number" does not match function signature"

The data came from thinkspeak.

Thank you

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/b/bd12c4831db8ef4c0f5f4fa27981ff1ae4952231.png)

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/7/7e7359f9cb5b588571938f7f2d32b2949a44b462.png)

---

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [8 August 2019 18:15 UTC](https://discourse.nodered.org/t/error-sending-data-to-azure-iot-hub/14154/2 "2019-08-08T18:15:44Z")

</div>

field3 is `null` so running a jsonata function over it ends up with an error.

---

<div class="post-metadata">

**Author:** ![mshaz](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mshaz/32/2294_2.png) [@mshaz](https://discourse.nodered.org/u/mshaz)\
**Post date:** [9 August 2019 03:19 UTC](https://discourse.nodered.org/t/error-sending-data-to-azure-iot-hub/14154/3 "2019-08-09T03:19:28Z")

</div>

How do i handle the nulls?

Thank you
