#[message-action-discovery] discord.actions.describeMessageTool failed: Error: channels.discord.toke

7 messages Β· Page 1 of 1 (latest)

unique folio
#

[message-action-discovery] discord.actions.describeMessageTool failed:
Error: channels.discord.token: unresolved SecretRef "env:default:DISCORD_BOT_TOKEN"
incomplete turn detected: stopReason=stop payloads=0
OpenClaw 2026.4.14

tropic pathBOT
fallen sentinelBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> βœ… Mark Solution

tropic pathBOT
cedar pathBOT
#

Version noted, 2026.4.14.

This usually means your Discord token is configured as a SecretRef to DISCORD_BOT_TOKEN, but that env var is not visible to the running Gateway process.

So the real problem is:

  • channels.discord.token (or the default Discord account token) points to env:default:DISCORD_BOT_TOKEN
  • the Gateway cannot resolve it
  • incomplete turn detected is just the follow-on symptom

A few checks:

  1. Make sure DISCORD_BOT_TOKEN is set where the Gateway/daemon actually runs, not just in your current shell.
  2. Restart the Gateway after fixing it, since SecretRefs are resolved on activation/reload.
  3. Verify with:
#
pnpm openclaw status --all

and I’ll help narrow down whether it’s just a missing env var, wrong service env, or a default-account mismatch.