You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{"error":"write failed: field type conflict: input field \"value\" on measurement \"Bucket-Analytics-Single-Duration\" is type float64, already exists as type integer"}
In InfluxDBClient.cs
The errorLinePattern regex fails to extract any parts, yielding an ArgumentOutOfRangeException when building out the InfluxDBException on line ~217
thrownew InfluxDBException(partialWrite?"Partial Write":"Failed to Write", String.Format("{0}: {1} due to {2}",partialWrite?"Partial Write":"Failed to Write", parts?[0], parts?[2]), l);
The original error occurs in InfluxDB when a metric is initially written as one type, and subsequent types are different.
This was confirmed using the following test on the current master branch.
Nice catch Patrick, never tested this combination. Currently I am away on work, I will push a fix once I get chance. In between if you want to push a PR, you are welcome. Please do add your test to the unit test project as well.
Hey there,
Given the following error response:
In
InfluxDBClient.cs
The
errorLinePattern
regex fails to extract any parts, yielding an ArgumentOutOfRangeException when building out the InfluxDBException on line ~217The original error occurs in InfluxDB when a metric is initially written as one type, and subsequent types are different.
This was confirmed using the following test on the current
master
branch.The text was updated successfully, but these errors were encountered: