Claude Code errors / Rate limit
API Error: Rate limit reached despite Max subscription and low usage
Cause
A corrupted credentials.json (subscriptionType and rateLimitTier both null) makes the CLI enforce API-tier limits even after a successful re-login that shows Max in the header.
Fix
Run 'claude logout', then delete or zero the subscriptionType and rateLimitTier fields in ~/.claude/.credentials.json. Run 'claude login' and confirm /status shows the correct tier and sane usage. If it persists, wait for the session reset window shown in the error.
Part of the Automation Error Index — Claude Code errors: browse all.
Hitting an automation error we have not covered?
AutomateLab builds and debugs n8n, Make, and agent workflows as fixed-scope projects. If something is broken in production, tell us what you are seeing.
Describe the problem