Back to blog
TroubleshootingFebruary 5, 2026

Common Claude Code Errors & Fixes

Troubleshooting the most common errors when using Claude Code with custom endpoints.

"Authentication Failed"

Double-check your API key in settings.json. Make sure there are no extra spaces or quotes.

"Connection Refused"

Verify the ANTHROPIC_BASE_URL is correct: https://api.ecomagent.in/

"Rate Limited"

You've hit your plan's request limit. Upgrade your plan or wait for the limit to reset.

"Model Not Found"

Make sure you're using a supported model name like claude-sonnet-4-20250514.