Troubleshooting
API Error: Cannot read properties of undefined
Cause
Solution
# For Claude Code
unset ANTHROPIC_AUTH_TOKEN ANTHROPIC_BASE_URL
# For Cursor/Cline
unset OPENAI_API_KEY OPENAI_BASE_URLClaude Code: Model Errors or Background Task Failures
Cause
Solution
Connection Timeout
Cause
Solution
Model Not Found
Cause
Solution
✅ Correct
❌ Incorrect
Authentication Failed
Cause
Solution
OAuth Conflict (Claude Code)
Cause
Solution
Rate Limiting
Cause
Diagnosing RPM vs TPM Limits
Error message
You hit
Meaning
Solution
Need More Help?
Last updated
Was this helpful?

