I have done a bunch of trouble shooting. Onboard aborts after telegram token. I manually set config to the token and allow list with user ID. Still not able to get through onboarding. Doctor wonβt fix.
Error message: β Select channel (QuickStart)
β telegram
β
β telegram already configured. What do you want to do?
β Skip (leave as-is)
TypeError: Cannot read properties of undefined (reading 'trim')
#Clean install Mac 4.14
1 messages Β· Page 1 of 1 (latest)
I checked the current source, and this looks more like a QuickStart wizard bug than a bad Telegram token.
Skip (leave as-is) is supposed to be handled, so the crash is likely happening after the Telegram step. That also explains why doctor wonβt fix it, doctor repairs config/state, but this looks like an onboarding control-flow bug.
For a workaround, Iβd do this:
- Make sure your config is using allowlist mode, not just
allowFrom:
{
channels: {
telegram: {
enabled: true,
botToken: "123:abc",
dmPolicy: "allowlist",
allowFrom: ["YOUR_NUMERIC_TELEGRAM_USER_ID"],
},
},
}
- Then bypass onboarding and just start the gateway:
openclaw gateway
- If you want pairing instead of allowlist, use:
openclaw pairing list telegram
openclaw pairing approve telegram <CODE>