openclaw - ✅(Solved) Fix Dashboard save fails on redacted gateway.remote.token sentinel [1 pull requests, 1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#60917Fetched 2026-04-08 02:45:42
View on GitHub
Comments
1
Participants
2
Timeline
2
Reactions
0
Author
Participants
Timeline (top)
commented ×1cross-referenced ×1

PR fix notes

PR #60971: fix(ui): drop stale redacted gateway placeholders

Description (problem / solution / changelog)

Summary

  • drop unresolved __OPENCLAW_REDACTED__ placeholders before submitting config form saves
  • keep existing redacted secret paths intact when the original raw config already contains them
  • add UI regression coverage for the save path and raw-aware stripping helper

Closes #60917

Verification

  • pnpm --dir ui test -- src/ui/controllers/config.test.ts src/ui/controllers/config/form-utils.node.test.ts
  • pnpm exec oxfmt --check ui/src/ui/controllers/config.ts ui/src/ui/controllers/config.test.ts ui/src/ui/controllers/config/form-utils.ts ui/src/ui/controllers/config/form-utils.node.test.ts

Changed files

  • ui/src/ui/controllers/config.test.ts (modified, +29/-0)
  • ui/src/ui/controllers/config.ts (modified, +5/-1)
  • ui/src/ui/controllers/config/form-utils.node.test.ts (modified, +40/-0)
  • ui/src/ui/controllers/config/form-utils.ts (modified, +62/-0)
RAW_BUFFERClick to expand / collapse

When saving settings from the dashboard (including unrelated sections like AI & Agents), the save can fail with:

GatewayRequestError: Sentinel value "__OPENCLAW_REDACTED__" in key gateway.remote.token is not valid as real data

It looks like the dashboard is submitting the redaction sentinel as literal config data instead of omitting/restoring the secret field.

Expected: redacted secret fields should not block saving unrelated settings, and __OPENCLAW_REDACTED__ should never be sent as real config input.

Env:

  • OpenClaw 2026.4.2
  • Linux
  • gateway.mode=local
  • gateway.auth.mode=token
  • gateway.remote unused/empty in config

extent analysis

TL;DR

The issue can likely be resolved by modifying the dashboard to omit or restore redacted secret fields, such as gateway.remote.token, instead of submitting the redaction sentinel as literal config data.

Guidance

  • Verify that the gateway.remote.token field is being redacted correctly in the dashboard and that the redaction sentinel __OPENCLAW_REDACTED__ is not being sent as real config input.
  • Check the dashboard's configuration submission logic to ensure that it handles redacted fields properly and omits them from the submitted config data.
  • Consider adding a validation step to prevent the submission of config data containing the redaction sentinel.
  • Review the OpenClaw documentation for any specific guidelines on handling redacted secret fields in the dashboard.

Example

No code snippet is provided as the issue does not contain sufficient information about the specific code implementation.

Notes

The issue seems to be related to the dashboard's handling of redacted secret fields, and modifying the submission logic to omit or restore these fields should resolve the issue. However, without more information about the specific code implementation, it is difficult to provide a more detailed solution.

Recommendation

Apply workaround: Modify the dashboard to correctly handle redacted secret fields, such as gateway.remote.token, to prevent the submission of the redaction sentinel as literal config data. This should resolve the issue without requiring an upgrade to a fixed version.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

openclaw - ✅(Solved) Fix Dashboard save fails on redacted gateway.remote.token sentinel [1 pull requests, 1 comments, 2 participants]