Skip to content

Fill in the API Key for an unofficial provider - Claude Code

Quick fix

Upgrade to cc-switch 4.0 or later. If the API Key field is still missing, provide the version, provider type, and a screenshot.

Error output
非官方供应商请填写 API Key
English translation

Fill in the API Key for an unofficial provider

This issue occurs in the older provider editor: when editing an existing provider, the API Key field may not appear, causing an error when saving. The maintainer said cc-switch 4.0 rewrote the provider editor and removed the old generic configuration snippets and the logic that repopulated the live configuration when switching, so the older editor and placeholder credential handling have changed.

  1. Upgrade to cc-switch 4.0 or later. The maintainer provided the latest release page; if the API Key field is still missing after upgrading, include the version, provider type (official or third-party), and a screenshot.

ToolClaude Code
Version3.12.3(问题报告版本);后续评论提及 Windows 上 3.16.5 也遇到类似问题
PlatformsmacOSWindows

(No FAQ yet)

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.