Skip to content

Error Codes

Quick Reference

StatusMeaningHow to Fix
400Invalid request parametersCheck JSON, model name, and required fields
401Authentication failedCheck API Key and Authorization
403Permission deniedCheck model permissions and group permissions
404Resource not foundCheck endpoint path and model name
405Wrong methodConfirm GET / POST / PUT / DELETE
413Request body too largeReduce context, image, or file size
429Too many requestsLower concurrency or check rate limits
500Internal server errorCheck logs and contact admin if needed
503Upstream unavailableRetry later or switch group
504Request timeoutReduce task size or use a stable group
524Gateway timeoutUse async APIs for long-running tasks

401 Example

Wrong:

http
Authorization: sk-logox-your-key

Correct:

http
Authorization: Bearer sk-logox-your-key

404 Example

Common causes:

  • /v1/chat/completion is missing the final s.
  • Model name is wrong.
  • The current key does not have permission for this model.

429 Example

Common causes:

  • Software concurrency is too high.
  • Automated workflow calls in a loop.
  • The key has rate limits configured.

Fixes:

  • Lower concurrency.
  • Increase retry interval.
  • Use a separate key for high-concurrency workloads.

Support QQ: 6669955