Error at writing data points on Node-RED

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:

image

This only happens in this Org, the others Organizations work without problems, what can i do?

You can add Debug node to check which exactly JSON goes to input of the InfluxDB batch node

To solve this problem, I manually backed up all data with the export button in the Explore section of the InfluxDB web interface, deleted the corrupted bucket and recreated it and imported the Flux Annotated CSV with all data.

When I tried to write data again from Node-RED, everything works fine, and i haven’t changed anything.