I am a bit confusid about this.
I have a node-red flow that calls home-assistant to send an image and it works flawlessly.
However, I recently setup a new flow to send a message and I am getting an error when trying to send the message. The config is exactly the same, In fact I copied the old flow and changed it a bit
This is the node that works:
[
{
"id": "....",
"type": "api-call-service",
"z": "...",
"name": "Telegram IMG",
"server": "...",
"version": 1,
"debugenabled": false,
"service_domain": "telegram_bot",
"service": "send_photo",
"entityId": "",
"data": "{\"file\": file ,\"caption\":\"calle motion\"}",
"dataType": "jsonata",
"mergecontext": "",
"output_location": "",
"output_location_type": "none",
"mustacheAltTags": false,
"x": 560,
"y": 400,
"wires": [
[]
]
},
{
"id": "...",
"type": "server",
"name": "Home Assistant",
"addon": true
}
]
And this is the one that fails with the token error:
[
{
"id": "...",
"type": "api-call-service",
"z": "....",
"name": "Telegram Esomeprazol",
"server": "....",
"version": 1,
"debugenabled": false,
"service_domain": "telegram_bot",
"service": "send_message",
"entityId": "",
"data": "{\"title\": Esomeprazol ,\"caption\":\"Registrado\"}",
"dataType": "jsonata",
"mergecontext": "",
"output_location": "",
"output_location_type": "none",
"mustacheAltTags": false,
"x": 380,
"y": 300,
"wires": [
[]
]
},
{
"id": "...",
"type": "server",
"name": "Home Assistant",
"addon": true
}
]