Open K1Zeit opened 6 years ago
Dear @K1Zeit,
the Request Entity Too Large
error indicates that the HTTP request body might be too large to handle for InfluxDB. I don't know if there is a server-side limit which can be reconfigured, but using the batch_size
parameter on the write_points()
method also works like a charm. See also https://github.com/earthobservations/wetterdienst/issues/235 and https://github.com/earthobservations/wetterdienst/pull/245.
With kind regards, Andreas.
I have the following DataFrame and try to write into an InfluxDB-Measurement:
As some of the values have the same timestamp, I am trying to use the UNIQUE-Column as a workaround to avoid them being overwritten as described in here: https://docs.influxdata.com/influxdb/v0.13/troubleshooting/frequently_encountered_issues/#writing-duplicate-points
I use the following code:
When I try to execute the code the following Stack Trace is displayed:
I am more or less following the way of tagging columns as key described in this link:
https://github.com/influxdata/influxdb-python/issues/286#issuecomment-333391449
But there seems to be something I'm missing when declaring the "UNIQUE"-Column as Key for the Influx-Measurement.