Unknown parameter: 'input[115].namespace' - Codex
Quick fix
Turn the cc-switch unified session history switch off and move sessions tagged custom back to openai, fixing the namespace parameter error.
Symptom
Section titled “Symptom”[ObjectParam] [input[115].namespace] [unknown_parameter] Unknown parameter: 'input[115].namespace'.Using the Codex enhancement features in cc-switch changes the underlying config in ways that conflict across versions. Enabling 统一会话历史 (unified session history) injects a custom tag into official subscription sessions, so requests carry an unknown namespace parameter and error (some users see input[7].namespace).
The cluster also holds related config conflicts from before v3.17.0: enabling 切换第三方时保留官方登录 (keep the official login when switching to a third party) forcibly overwrites the third-party auth.json, so the API key cannot be saved or you cannot switch straight back to an official account.
To resolve the Unknown parameter error: turn 统一会话历史 (unified session history) off in cc-switch, and move history sessions from the custom bucket back to openai by hand, keeping multi-model sessions separate.
To resolve the API key not switching or auth.json being overwritten: upgrade cc-switch to v3.17.0 or newer and turn 切换第三方时保留官方登录 (keep the official login when switching to a third party) on by hand under 设置 -> 通用 -> Codex 应用增强 (Settings > General > Codex app enhancements).
Affected Versions
Section titled “Affected Versions”Source Issues
Section titled “Source Issues”This page is distilled from 4 real issues
- Does fixing the Unknown parameter error affect my session history?
- Yes, it does. After turning the unified session switch off, move the sessions in the custom bucket into openai, or use another agent to help repair config.toml.
- I still cannot switch API key after upgrading to v3.17.0. What now?
- Report back with the relevant redacted fields from auth.json or config.toml, the full switching sequence, and logs.
Related problems
Section titled “Related problems”This is an unofficial community wiki with no affiliation to the cc-switch authors or the project itself. Its content is compiled from the project's public GitHub issues. This site distributes no software.