Node-red influxdb invalid boolean

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.