Troubleshoot GirtAI API errors: 401, 429 and credit
Fix authentication, rate limits and billing admission errors without repeated requests.
GirtAI documentation team · Reviewed 11 November 2026
400: validate the request
Check JSON syntax, model availability and parameter types. Use /v1/chat/completions for OpenAI-style messages and /v1/messages for Anthropic-style messages. Payloads are not interchangeable.
401 / 403: authentication or permission
Use a GirtAI-issued key and the correct authentication header. Check whether the key or account has been disabled, expired or restricted. Read the error body: status alone is not a complete diagnosis. Never paste a full key into support messages.
429: reduce request pressure
Read the error body and Retry-After header when present. Reduce concurrency and use a small retry limit with exponential backoff and jitter. Multiple accounts or keys are not a substitute for respecting rate limits.
Insufficient balance or quota
Check both account balance and the API key quota. A request may require a reservation before generation; reduce an unnecessarily large max_tokens limit. An account with a positive balance is not guaranteed to have enough for every request.
Timeouts and server errors
Keep the request ID, timestamp with timezone, model and sanitized error body. Inspect usage before retrying an interrupted response. Contact [email protected] if the failure persists; do not include secrets or private prompts.