Describe the problem/error/question
I’m running an on-premise n8n instance behind nginx on a VPS.
Everything works normally except for all nodes using “Send message and wait for response” (Telegram, Discord, etc.).
When I click the approval button or send a free-text response, I get this in my browser:
{“error”: “Invalid token”}
The workflow stays stuck waiting.
This happens 100% of the time, regardless of platform.
I found issue sendAndWait Broken with missing/invalid token · Issue #18610 · n8n-io/n8n · GitHub and tried the suggested proxy fixes, but the error still persists.
What is the error message (if any)?
{“error”: “Invalid token”}
Please share your workflow
A minimal example reproduces the problem:
-
Trigger (manual)
-
Telegram/Discord/Slack — Send message and wait for response
-
Click Approve → browser opens → “Invalid token”
Same issue with free-text response.
Share the output returned by the last node
Share the output returned by the last node
The workflow stays in waiting state.
No output is produced.
Browser callback simply says:
{"error": "Invalid token"}
Information on your n8n setup
- n8n version: Version 1.122.5
- Database (default: SQLite): default
- n8n EXECUTIONS_PROCESS setting (default: own, main): default (own, main)
- Running n8n via (Docker, npm, n8n cloud, desktop app): Docker (self-hosted)
- **Operating system:**Ubuntu 22.04 on VPS
Any help would be appreciated — I can provide logs or test patches if needed.
Thanks!