Hello
I have a problem, I’m using InfluxDB 2.1.1-alpine in Docker, it worked perfect until now, because now when I write data on an Org, I have this error message
HttpError: unexpected error writing points to database: [shard 490] unexpected end of JSON input
And this is the entire error object from catch node of Node-RED:
{
"message": "HttpError: unexpected error writing points to database: [shard 490] unexpected end of JSON input",
"source": {
"id": "2f97ce6c2ac21b28",
"type": "influxdb batch",
"count": 1
},
"stack": "HttpError: unexpected error writing points to database: [shard 490] unexpected end of JSON input
at IncomingMessage.<anonymous> (/data/node_modules/@influxdata/influxdb-client/dist/index.js:5:5671)
at IncomingMessage.emit (node:events:539:35)
at endReadableNT (node:internal/streams/readable:1345:12)
at processTicksAndRejections (node:internal/process/task_queues:83:21)"
}
I share the object input that I send to the Influx Batch node:
msg.payload = [
{
measurement: "Energia Electrica",
timestamp: new Date(date),
fields: {
Voltaje: parseFloat(msg.payload.V),
Corriente: parseFloat(msg.payload.I)
},
tags:{
location: "Medidor"
},
}
];
This is the Influx Batch node configuration:
This only happens in this Org, the others Organizations work without problems, what can i do?