• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Node red – telegram error

Q&A Forum › Category: Raspberry Pi › Node red – telegram error
0 Vote Up Vote Down
mal_rixon asked 3 years ago

Working through smart home with raspberry pi esp32 and esp8266.Trying to get messaging working with telegram
and I get the following error when injecting a message.

Caught exception in sender node:
Error: ETELEGRAM: 400 Bad Request: chat not found
when processing message: 
{"_msgid":"3619cf432a08abf2","payload":{"chatId":"Replaced with my id","type":"message","content":"Node-RED is working","options":{"chat_id":"Replaced with my id","text":"Node-RED is working"}}}

 

 

Have double and tripple checked userid chatidand token (Cut and pasted all)

 

Cheers Mal

10 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

Hi.
Can you show me a printscreen of your Telegram nodes? and their settings?
Regards,
Sara

0 Vote Up Vote Down
mal_rixon answered 3 years ago

I dont seem to be able to paste an image into this text box and if I click on IMG it asks for a URL.
I am also not realy happy about making this data public can I send you a PM

0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

Hi.
To paste an image upload your picture to google drive or other image clodud server like imgur, for example, and then, share a link to the picture.
Regards,
Sara

1 Vote Up Vote Down
mal_rixon answered 3 years ago

inject nodeInject Node
https://www.dropbox.com/s/onjg5jhvai23hv9/Screenshot%202022-10-20%20202452.png?dl=0
Sender Node
https://www.dropbox.com/s/3rwkq2gaivbxf5v/Screenshot%202022-10-20%20202634.png?dl=0
Telegram

0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

´Hi.
From those screenshots everything seems fine.
Can you show me the inject node main menu (not with the edit JSON window)?
Regards,
Sara

0 Vote Up Vote Down
mal_rixon answered 3 years ago

Inject node

0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

Everything seems fine.
I can’t see why it’s not working. Can you create the flow from the start?
 
Can you export the nodes of that flow? So that I can take a better look?
I’m currently out of the office, I’ll only be able to take a look at it next Wednesday.
Regards,
Sara

0 Vote Up Vote Down
ANDY MONTGOMERY answered 3 years ago

Hi. I had a similar ‘chat not found’ error when trying to inject messages. After a lot of frustration, I eventually resolved the issue by initiating a chat on the configured Bot within the Telegram application on my phone – simply typed a message in the bot window and sent it – after the chat existed  all worked ok
Hope this helps

0 Vote Up Vote Down
mal_rixon answered 3 years ago

Thanks Andy that was the problem You are a champion. Sara good ideato add this to the steps in your book unless I mssed it of course.

0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

Hi again.
I’m so sorry for that. My bot already had a conversation, so it never occurred to me that could be an issue.
I’ll definitely add that to the eBook.
Thanks for your patience.
I’ll mark this issue as resolved. If you need further help, you just need to open a new question in our forum.
Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.