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 valid — config.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
- Have a SecretRef config with
id: "value" and provider mode: "singleValue"
- Open control-UI
- Click Save
- 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
Bug Description
After updating to 2026.3.23-2, clicking "Save" in the control-UI fails with:
The config is valid —
config.patchvia the gateway API succeeds without error. The control-UI is applying stricter validation than the gateway itself.Current Config Format
Providers are configured as
mode: singleValuewithid: "value", which per the error message should be valid ("or value for singleValue mode").Steps to Reproduce
id: "value"and providermode: "singleValue"Expected Behavior
Control-UI should accept the same config format that the gateway API accepts.
Environment