ai2saveai2save

Common Errors and Access Troubleshooting

401 / invalid_api_key

Confirm that the request is sent to Base URL on this site, and that Authorization uses Bearer sk-.... Check whether the Key is complete, revoked, or assigned to the correct group.

404 / model not found

Check the model ID, protocol address, and Key group in order. OpenAI Compatible usually uses an address with /v1; Claude Code usually uses the root address without /v1.

403 or Risk Control Block

Set a clear User-Agent for scripts to reduce the chance of the gateway blocking empty User-Agents. Do not bypass restrictions by repeatedly retrying.

Requests are slow

First, test with short questions. If short questions are fast but complex tasks are slow, it is usually due to context or model inference time; if short questions are also slow, check local network, line, and service status.

Connected but client shows no changes

Completely exit the client and reopen. Check whether there are multiple configuration files, old environment variables overriding new configurations, or CC Switch not actually enabling the target provider.

Pre-launch Checklist

  • Validate Key, Base URL, and model with minimal requests.
  • Set timeouts, retries, concurrency, and budget limits.
  • Prepare backup lines or backup models.
  • Sanitize logs; do not record full Key.