Hi,
I have an issue that shows that the chat_id for telegram is missing during the workflow execution but in reality, the chat_id is there and the message is also being sent to the correct chat. Is this a bug or an error on my side?
The chat id has a number but it still shows an error.
Any suggestion on what I can do to prevent this?
Hey @ruby09, are you perhaps using an expression reading the chat ID from a node that has less than four items? If so, you might need to add $item(0). in front of your expression in order to tell n8n to always read the chat ID from the first item of that node (so {{ $item(0).$node...).
hi @MutedJam,
Thank you for your help it works well now.
From my end testing of inactive mode workflow, if you have a IF, Switch Node in your workflow before Telegram Action, while testing, you should just click telegram action step to test your workflow, then it work well. But If you click one action node after another, (e.g. click switch node and then click telegram node), error raised [ERROR: Can’t get data for expression].