Trouble sending MQTT payload with ESP32

Trouble sending MQTT payload with ESP32

@Vinicius Selestrim

Hey all,

I’m having trouble sending a payload from an ESP32 to Tago through MQTT. When I check what I’m sending, the payload is correct:

[{“variable”:“estado”,“value”:1}]

But the message that arrives at Tago is:

[{ \ "variable \ " : \ "estado \ " , \ " value \ " :1}]
(the message doesn’t have these spaces but if I delete them the Forum delete the \ symbol).

I don’t know why these \ are showing up, once I’m not sending them. Can someone help me?

Thank you!