Skip to content
NEW GPT-5.5 / Claude 4.6 is now live — try it today →
Troubleshooting 4 min read

Common Errors & Fixes

401 Unauthorized

Cause: Invalid or missing API key.
Fix: Check that your API key is correctly set in the Authorization header.

429 Rate Limit Exceeded

Cause: Too many requests.
Fix: Implement exponential backoff. Westtree pools capacity across backend accounts — contact support if you need higher limits.

503 Service Unavailable

Cause: Upstream provider outage.
Fix: Westtree automatically fails over to backup models. Check status.westtree.top.

Context Length Exceeded

Cause: Input exceeds model’s context window.
Fix: Switch to a model with larger context (e.g., Gemini 1.5 Pro with 2M context), or truncate your input.