Skip to main content

Troubleshooting icon Troubleshooting

Quick diagnosis for common AiCordCloud failures.
ErrorTypical causeImmediate fix
401 UnauthorizedWrong or rotated keyValidate key and auth header, then restart bot
429 Rate limitBurst too highReduce burst, increase tenant limits, queue requests
TimeoutCPU saturation or long promptsReduce tokens and route heavy prompts to fallback
502 UpstreamUpstream unavailableVerify upstream process, URL, key, and failover
Billing/quota errorsNo creditsRefill billing and confirm provider account status

401 Unauthorized

  1. Validate API key value
  2. Validate Authorization: Bearer ... format
  3. Restart bot after .env updates

429 Rate limit

  1. Apply backpressure in caller
  2. Review per-tenant limits
  3. Retry with jitter

Timeout

  1. Lower max_tokens
  2. Route heavy tasks to remote fallback
  3. Reassess local model profile