Node showing error when executing the workflow

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?
image


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...).

1 Like

hi @MutedJam,
Thank you for your help it works well now.

1 Like