MQTT publish errors


#1

I’m trying out a new MQTT device, but in the application log, I see a lot of: “Publish error - Retain not allowed”

Any suggestions?


#2

That message means that the MQTT client is trying to send messages marked with the “Retain” flag, which the Losant Broker does not support. You can find more information about what MQTT features the Losant Broker supports here: https://docs.losant.com/mqtt/overview/#mqtt-version-and-limitations.