# Node-RED expects JSON?

**URL:** <https://discourse.nodered.org/t/node-red-expects-json/36824>\
**Category:** General\
**Created:** [1 December 2020 18:41 UTC](https://discourse.nodered.org/t/node-red-expects-json/36824 "2020-12-01T18:41:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![DripHarrison](https://avatars.discourse-cdn.com/v4/letter/d/9dc877/32.png) [@DripHarrison](https://discourse.nodered.org/u/DripHarrison)\
**Post date:** [1 December 2020 18:41 UTC](https://discourse.nodered.org/t/node-red-expects-json/36824/1 "2020-12-01T18:41:11Z")

</div>

I am working on a project that uses an Arduino connected to LabVIEW, and Node-RED. It is a smart home system, with multiple user-defined inputs and outputs. The Node-RED dashboard is able to receive all of the inputs that are sent via LabVIEW, however, when I try to send a signal back to LabVIEW, the program stops and gives an error saying "JSON Message expected". I have tried adding a JSON block before the function with no success. I have tested it with only one input node (instead of connecting multiple to the same function block), and it outputs it just fine. The issue lies when I try to have multiple things output at once. Any help would be appriciated.

---

<div class="post-metadata">

**Author:** ![hardillb](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hardillb/32/12373_2.png) [@hardillb](https://discourse.nodered.org/u/hardillb)\
**Post date:** [1 December 2020 19:50 UTC](https://discourse.nodered.org/t/node-red-expects-json/36824/2 "2020-12-01T19:50:45Z")

</div>

Attach a debug node to the output that feeds into the labView node so you can see exactly what you are passing in.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [30 January 2021 19:50 UTC](https://discourse.nodered.org/t/node-red-expects-json/36824/3 "2021-01-30T19:50:52Z")

</div>

Closed on 30 January 2021 19:50 UTC

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
