N8N Send Message and wait: Reply invalid token (webhook-waiting)

Hi
I have a few workflows that use Telegram to send info and ask for confirmation.

IT used to work perfectly. But now suffenly I get {“error”:“Invalid token”} as a response when trying to approve, devline or complete a webform in n8n

What can the cause be?
My credentials and workflows are reading correctly, and I can receive normal Telegram messages via triggers

But a simple Workflow like this is not working anymore

I tried adding a new Bot nd new credentials

I have set
Webhook URLs
Environment=“WEBHOOK_TUNNEL_URL=https://asdsasdasdt.ngrok-free.app
Environment=“WEBHOOK_URL=https://asdsasdasdt.ngrok-free.app

N8N version: 1.106.3
Self Hosted

Any help will be appreciated
EDIT: When I tried it on an older version, it worked. Could it be a bug in 1.106.3?

Information on your n8n setup

  • n8n version: 1.106.3

  • Database (default: SQLite): Testes both SQLite & PostgreSQL

  • n8n EXECUTIONS_PROCESS setting (default: own, main):

  • Running n8n via (Docker, npm, n8n cloud, desktop app):npm

  • Operating system: Debain

1 Like

I tried switching to use Slack.
But I get the same error when clicking the button

I found same issue on n8n form. i tried regenerate token and check no expire

@Allies_R, did your n8n also start doing this after an upgrade?

I not remember after upgrade to 1.106 version have test workflow. but now 1.107 lastest version same issue

If you want to use Telegram, you can revoke the token from BotFather first, then change your Telegram bot token to the newest token from BotFather

I rollback to 1.105.4 version success workflow

1 Like

Thank you
Can you just uninstall n8n and install 1.105.4?

Thank you
I tried this, but it does not solve the error. The same occurs when using Slack. It is not the Slack or Telegram token.
I think it is this https://github.com/n8n-io/n8n/pull/17566 that broke it.
N8N added a token to the sendAndWait webhook to add more security, and something is breaking.

Please go and add a comment here to help speed up the fix

Yes I can uninstall lastest version and pull image 1.105.4 that sit

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.