Skip to content

[control-ui] Save fails with SecretRef validation error despite valid config #53883

@bottenbenny

Description

@bottenbenny

Bug Description

After updating to 2026.3.23-2, clicking "Save" in the control-UI fails with:

GatewayRequestError: invalid config: channels.discord.token.id: File secret reference id must be an absolute JSON pointer (example: "/providers/openai/apiKey"), or "value" for singleValue mode.; gateway.auth.token.id: File secret reference id must be an absolute JSON pointer ...

The config is validconfig.patch via the gateway API succeeds without error. The control-UI is applying stricter validation than the gateway itself.

Current Config Format

"token": {
  "source": "file",
  "provider": "discord-bot",
  "id": "value"
}

Providers are configured as mode: singleValue with id: "value", which per the error message should be valid ("or value for singleValue mode").

Steps to Reproduce

  1. Have a SecretRef config with id: "value" and provider mode: "singleValue"
  2. Open control-UI
  3. Click Save
  4. Error occurs

Expected Behavior

Control-UI should accept the same config format that the gateway API accepts.

Environment

  • OpenClaw version: 2026.3.23-2
  • Config last touched: 2026.3.13

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions