Troubleshooting
Check sign-in state, API Key, base_url, model catalog, and local config files first.
Not signed in
Your personal API Key is only visible after sign-in. Click View my API Key on this page or open:
https://gettoken.dev/console/api-keysNo API Key
Open the API Key page and create one. After creation, you can reveal, copy, test, or import it into CC Switch.
Wrong base_url
Recommended:
https://api.clawto.linkStandard:
https://api.gettoken.devDo not use:
https://gettoken.dev
https://gettoken.dev/consoleGPT-5.6 is missing in Codex
macOS / Linux:
GETTOKEN_CODEX_MODEL='gpt-5.6-sol' GETTOKEN_CODEX_SET_DEFAULT_MODEL='1' bash -c "$(curl -fsSL 'https://yinziai-public-1257376750.youidian.com/scripts/codex-fix-gpt55-catalog.sh')"Windows PowerShell:
$env:GETTOKEN_CODEX_MODEL='gpt-5.6-sol'; $env:GETTOKEN_CODEX_SET_DEFAULT_MODEL='1'; irm 'https://yinziai-public-1257376750.youidian.com/scripts/codex-fix-gpt55-catalog.ps1' | iexConnection failed
Check these in order:
- The API Key was copied fully.
auth.jsonis valid JSON.config.tomlis in~/.codex/config.toml.base_urlishttps://api.clawto.link.- Your account has available quota.
- Your network can reach the endpoint.
API Key leaked
Delete the old key immediately and create a new one. Do not wait for unusual usage to appear.