-
-
Notifications
You must be signed in to change notification settings - Fork 79.1k
[Bug]: Discord channel-info fails for SecretRef-backed named account while send works #84530
Copy link
Copy link
Closed
Labels
P1High-priority user-facing bug, regression, or broken workflow.High-priority user-facing bug, regression, or broken workflow.clawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.ClawSweeper needs live local, crabbox, or manual validation to confirm this issue.impact:auth-providerAuth, provider routing, model choice, or SecretRef resolution may break.Auth, provider routing, model choice, or SecretRef resolution may break.issue-rating: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.Good issue quality with a plausible reproduction path needing some confirmation.
Metadata
Metadata
Assignees
Labels
P1High-priority user-facing bug, regression, or broken workflow.High-priority user-facing bug, regression, or broken workflow.clawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.ClawSweeper needs live local, crabbox, or manual validation to confirm this issue.impact:auth-providerAuth, provider routing, model choice, or SecretRef resolution may break.Auth, provider routing, model choice, or SecretRef resolution may break.issue-rating: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.Good issue quality with a plausible reproduction path needing some confirmation.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Bug type
Behavior bug (incorrect output/state without crash)
Beta release blocker
No
Summary
Discord
messagetool lookup/admin actions such aschannel-infofail for a SecretRef-backed named Discord account, while normal Discordsendand inbound delivery still work in the same running gateway.Steps to reproduce
openclaw.json.messagewithaction=sendworks when targeting a channel explicitly.messagewithaction=channel-infofor an existing Discord channel using the same named account.Expected behavior
channel-infoshould use the same resolved runtime account/token state that working Discord sends use, or otherwise resolve the named account SecretRef through the active runtime snapshot before constructing the Discord REST client.Actual behavior
messagewithaction=channel-infofails with:In the same running gateway, Discord inbound delivery works and
messagewithaction=sendsucceeds when given an explicit target.OpenClaw version
2026.5.19, local commit
60affde00acOperating system
macOS 15.7.7
Install method
Local OpenClaw gateway install
Model
NOT_ENOUGH_INFO
Provider / routing chain
NOT_ENOUGH_INFO
Additional provider/model setup details
The failure is observed in Discord message action handling before the agent/model behavior matters.
Logs, screenshots, and evidence
Impact and severity
Affected: Discord users/accounts using SecretRef-backed named accounts and lookup/admin-style message actions.
Severity: High for operations workflows that need channel lookup/admin actions; ordinary sends can still work.
Frequency: Reproduced on the observed
channel-infoattempt; broader action coverage is NOT_ENOUGH_INFO.Consequence: Agents cannot reliably inspect Discord channel/account metadata through the message tool even though the same runtime can receive and send Discord messages.
Additional information
This appears related to the same SecretRef resolution family as several previous issues and PRs, but the observed failure is narrower than startup failures and narrower than ordinary
send:The behavior suggests at least one Discord REST-backed message action path is still constructing its client from unresolved account config instead of using the active resolved runtime snapshot or the already-resolved gateway request context.
No token values, channel IDs, or private config contents are included in this report.