Skip to content

api.tbox.cn is inaccessible - Claude Code

Quick fix

After upgrading to v3.20.4, change an existing BaiLing base URL to api.ant-ling.com, or add it again from the preset.

Error output
Observe that the legacy domain `api.tbox.cn` is inaccessible for acquiring API-Key for Ling series model, and the request fails.

BaiLing's old domain `api.tbox.cn` has been replaced by `api.ant-ling.com`, so the old preset cannot obtain an API Key for Ling-series models and requests fail.

The fix is included in v3.20.4. Upgrading does not automatically modify providers previously created with the old preset; those configurations retain the saved old URL. Claude Code should use the `/anthropic` path.

  1. Upgrade CC Switch to v3.20.4.

  2. Edit the base URL of the existing BaiLing provider to use `api.ant-ling.com/anthropic`; or delete the old configuration and add it again from the BaiLing preset.

ToolClaude Code
Version修复版本:v3.20.4
PlatformsmacOS

This page is distilled from 1 real issues

(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.