Last updated: 2026-06-06
HTTP Status Codes
Difference Between 500 and 502
500 is broader. In CrazyRouter, it can mean either an internal server error on our side or an upstream 5xx that was returned through our relay.
502 is more specific. It usually means the request reached the gateway or upstream step, but CrazyRouter could not get a valid upstream response or fetch the upstream result, for example because the upstream was unavailable, returned an invalid gateway-level response, or the result URL could not be retrieved.
- If the same issue keeps happening:
- frequent
502 errors usually point to upstream availability, connectivity, or result URL retrieval issues;
- frequent
500 errors need log-based classification, and only cases explicitly marked as site-internal or panic-type should be treated as a CrazyRouter-side defect.
Chat Completions Error Codes
Midjourney Task Status Codes
MJ Error Codes
Kling Video Status Codes
Jimeng Task Status Codes
Luma Video Status Codes
Suno Music Status Codes
Runway Video Status Codes
General Error Handling Recommendations
When encountering a 429 error, do not retry immediately. Use an exponential backoff strategy, starting with a 1-second wait and doubling each time.