Hi everyone! I'm running OpenClaw 2026.4.8 on Windows and have found a specific issue with the Telegram channel configuration.
The situation:
- When dmPolicy is set to
pairing→ gateway starts perfectly with no errors ✅ - When dmPolicy is set to
allowlist→ gateway throws the following error repeatedly ❌
Error when using allowlist:
[telegram] connect error: pairing required
gateway connect failed: GatewayClientRequestError: pairing required
[telegram] failed to start native approval handler: GatewayClientRequestError: pairing required
[ws] closed before connect code=1008 reason=pairing required
[gateway] security audit: device access upgrade requested reason=scope-upgrade scopesTo=operator.approvals
My current Telegram config:
"channels": {
"telegram": {
"enabled": true,
"botToken": "MY_BOT_TOKEN",
"dmPolicy": "allowlist",
"groups": {
"*": {
"requireMention": true
}
},
"allowFrom": [
"USER_ID"
],
}
**What I want to achieve:**
I want only my Telegram account to be able to communicate with my bot using allowlist mode, but it seems like allowlist mode specifically triggers this internal gateway pairing error on Windows.
**Questions:**
1. Is this a known bug with allowlist mode on Windows?
2. Is there a config field to disable the native approval handler that seems to be causing this?
3. Is there a workaround to restrict the bot to only my user ID while staying on pairing mode?
Any help appreciated! 🦞