Telegram Trigger Webhook Issue

Describe the problem/error/question

When I try to test the trigger of the telegram trigger I got the following Error:

What is the error message (if any)?

Problem running workflow
Bad request - please check your parameters
Show Details
Telegram Trigger: Bad Request: bad webhook: Failed to resolve host: Temporary failure in name resolution

Please share your workflow

Share the output returned by the last node

this is the first node in the workflow

Information on your n8n setup

  • n8n version: 1.86.1
  • n8n internal port: 8443
  • n8n external port: 8443
  • n8n host: my own dns
  • n8n protocol: https
  • Database (default: SQLite): Postgresql:17.4-alpine
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker on VPS
  • Operating system: Ubuntu 24.04

Seems the container can’t resolve DNS entries. You can check with the HTTP node if https://api.telegram.org is available.

你可以详细讲讲吗?我也遇到了同样的问题。
Could you please explain in detail? I have encountered the same problem. :slightly_smiling_face:

Same problem here, guys.
I’ve been facing this issue since n8n version 1.84 or so.

I can use the bot a few times and then it stops, forcing me to recycle the API token or create another bot.

To understand what’s going on and pinpoint where the problem lies, we can trace the flow.

Normally, when you set up Telegram Trigger, it creates a webhook and assigns it to the telegram bot.

To confirm that the webhook is active, you can request it :
https://api.telegram.org/bot<YOUR_TOKEN>/getWebhookInfo

From the screenshot, in my case, it’s clear that everything is fine there.

So, I believe this is the key to debugging and determining where the problem lies.

Switching to a Webhook node instead of the Telegram trigger, I’m still facing the same problem as it suddenly started to error.

Register Your Webhook:
POST Method
https://api.telegram.org/bot[YOURBOTTOKEN]/setWebhook?url=[YOURWEBHOOK]

Delete Your Webhook (Set empty string on url webhook):
POST Method
https://api.telegram.org/bot[YOURBOTTOKEN]/setWebhook?url=

1 Like