rate_limit_error: Rate limited - Claude Code
Quick fix
cc-switch does not support multi-account switching for Claude Code. Avoid third-party tools to prevent rate_limit_error.
Symptom
Section titled “Symptom”HTTP 429: { "error": { "type": "rate_limit_error", "message": "Rate limited. Please try again later." } }cc-switch currently lacks support for switching multiple official subscription accounts for Claude Code (only Codex is supported). Using third-party tools like c-switcher to switch accounts or frequently clicking refresh/usage triggers Anthropic's API rate limits, causing rate_limit_error (HTTP 429) or forbidden (HTTP 403). Additionally, the latest Claude Code credential reading involves system keychain parsing, complicating multi-account switching. When switching accounts in Codex, reusing an expired refresh token requires re-login.
Stop using third-party tools to frequently click refresh or usage buttons to avoid triggering Anthropic's API rate limits (HTTP 429).
Until cc-switch officially supports switching official subscriptions for Claude Code, switch accounts by logging out and logging back in via the native Claude Code interface.
If prompted that the refresh token has been used when switching accounts in Codex, log out and log back in as instructed to obtain new credentials.
Affected Versions
Section titled “Affected Versions”Source Issues
Section titled “Source Issues”This page is distilled from 1 real issues
- Is there a risk of account banning when switching multiple official Claude subscription accounts with cc-switch?
- Simply switching configurations carries no ban risk, but cc-switch currently does not support official subscription switching for Claude Code. The feature that poses a ban risk is proxy takeover, which does not support official subscriptions.
- Why does clicking the usage button in third-party tools prompt HTTP 403 forbidden?
- This occurs because third-party tools lack sufficient permissions or are intercepted by the official API when requesting Anthropic endpoints. It is recommended not to use unofficial tools to frequently check usage.
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.