HTTP Error Codes

HTTP Error Codes

  • 4XX – Client errors (e.g., malformed requests). The issue lies with the request sent by the client.

  • 410 – Request rate limit exceeded. Indicates a hard rate limit break.

  • 418 – Returned when a client continues making requests after receiving a 429 (Too Many Requests). This will trigger IP blocking, with block durations increasing from 2 minutes up to 3 days for repeated violations.

  • 5XX – Server errors. Indicates an internal issue on the API server.

  • 504 – Gateway timeout. The API forwarded the request successfully, but did not receive a response in time. ⚠️ Do not treat this as a failed operation. The execution status is unknown and may still be successful.


Error Response Format

All endpoints may return an error in the following format:

{
  "code": -1121,
  "msg": "Invalid symbol."
}

Last updated