Bug report draft: Telegram botToken SecretRef unresolved in openclaw status (v2026.3.2)
Summary
Using channels.telegram.botToken as a SecretRef validates successfully, gateway runs, but openclaw status fails with unresolved secret in active runtime snapshot.
Environment
- OpenClaw:
2026.3.2
- OS: Linux (Ubuntu)
- Gateway mode: local loopback
- Telegram channel enabled
Expected
openclaw status should succeed when channels.telegram.botToken uses a valid SecretRef (file provider).
Actual
openclaw status fails with unresolved secret error.
Error sample:
status: channels.telegram.botToken is unresolved in the active runtime snapshot.
And in other runs:
channels.telegram.botToken: unresolved SecretRef "file:filemain:/channels/telegram/botToken"
Reproduction
- Configure secrets provider:
"secrets": {
"providers": {
"default": { "source": "env" },
"filemain": {
"source": "file",
"path": "~/.openclaw/secrets.json",
"mode": "json"
}
},
"defaults": { "env": "default", "file": "filemain" }
}
- Put telegram token in
~/.openclaw/secrets.json:
{
"channels": {
"telegram": {
"botToken": "<token>"
}
}
}
- Set channel token as SecretRef:
"channels": {
"telegram": {
"enabled": true,
"botToken": {
"source": "file",
"provider": "filemain",
"id": "/channels/telegram/botToken"
}
}
}
- Run:
openclaw config validate ✅ pass
openclaw status ❌ fails with unresolved secret
Notes
- Gateway itself can still run.
- Workaround: use
channels.telegram.tokenFile instead of botToken SecretRef.
- Other SecretRefs (e.g. model provider apiKey) work as expected.
Impact
- Blocks full migration to SecretRef for Telegram token in production.
- Causes confusion because validate passes but status/audit path fails.
Bug report draft: Telegram botToken SecretRef unresolved in
openclaw status(v2026.3.2)Summary
Using
channels.telegram.botTokenas a SecretRef validates successfully, gateway runs, butopenclaw statusfails with unresolved secret in active runtime snapshot.Environment
2026.3.2Expected
openclaw statusshould succeed whenchannels.telegram.botTokenuses a valid SecretRef (file provider).Actual
openclaw statusfails with unresolved secret error.Error sample:
And in other runs:
Reproduction
~/.openclaw/secrets.json:{ "channels": { "telegram": { "botToken": "<token>" } } }openclaw config validate✅ passopenclaw status❌ fails with unresolved secretNotes
channels.telegram.tokenFileinstead ofbotTokenSecretRef.Impact