# Node-red influxdb invalid boolean

**URL:** <https://discourse.nodered.org/t/node-red-influxdb-invalid-boolean/8059>\
**Category:** General\
**Created:** [17 February 2019 02:06 UTC](https://discourse.nodered.org/t/node-red-influxdb-invalid-boolean/8059 "2019-02-17T02:06:43Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [17 February 2019 07:49 UTC](https://discourse.nodered.org/t/node-red-influxdb-invalid-boolean/8059/2 "2019-02-17T07:49:22Z")

</div>

Firstly, your flow is not importable, please see the link below for how to format it correctly. You can edit your previous post to fix it.  
However it seems from the image that the data you are sending to the influx node is not in the right format. If you look at the Info tab for that node it tells you the expected formats. What tags/fields are you wanting to write the data to? As you have it, it is trying to write the whole ENERGY object to one field.

> [@How to share code or flow json](https://discourse.nodered.org/t/how-to-share-code-or-flow-json/506):
>
> To share code samples or flow json in this forum, you need to take care to format it properly so that it is displayed correctly. The easiest way to do that is to click the 'Preformatted Text' button in the toolbar: [image] Then paste in your code or flow json. You should end up with three back-tick characters - ``` - on their own line before and after the code. On standard US English keyboards, this is on the same key as the ~ character. Using the backticks will ens…

---

_[View the full topic](https://discourse.nodered.org/t/node-red-influxdb-invalid-boolean/8059)._
