Type conflict -- Telegraf MQTT input passes float, expects int

iot
influxdb
telegraf
#1

I have a device sending a single value thru a mosquitto server into telegraf. The data is a floating point value with 2 degrees, i.e, 24.25. However, when I pass a value into telegraf, I get this on the output:

Field type conflict, dropping conflicted points: Response Error: Status Code [400], expected [204], [partial write: field type conflict: input field “value” on measurement “mqtt_consumer” is type float, already exists as type integer dropped=2]

My telegraf.conf looks like this

[[inputs.mqtt_consumer]]
servers = [“localhost:1883”]
qos = 0
connection_timeout = "30s"
topics = [
“device/#”,
]
client_id = ""
data_format = "value"
data_type = “float”

The problem is, I have no idea where else it’s defined as a integer. The word “integer” isn’t even in my config doc. Is there some sort of default I need to change, or another configuration somewhere?

#2

This error is coming from InfluxDB, the field must have been stored with a different type previously.