Skip to main content
When something goes wrong with an API request, EyeQuant returns both an HTTP status code and a structured JSON error body so you know exactly what happened and how to fix it. This two-part approach gives you machine-readable codes you can branch on in code, alongside human-readable messages that make debugging fast.

Error response format

EyeQuant communicates errors through two complementary channels:
  • HTTP status codes — A code in the 400499 range indicates a client error you can fix (for example, bad credentials or an invalid request body). A code in the 500599 range indicates a server-side error within EyeQuant’s own systems.
  • JSON error body — Where possible, the response body contains an error object with two fields: error.code (a stable, machine-readable string) and error.message (a human-readable explanation). Concrete errors may include additional detail in the message field beyond what is listed here.
Here is an example of a full error response:
Use error.code to drive programmatic error handling in your integration, and error.message to surface useful context in logs or user-facing feedback.

Error codes

The table below covers all known error codes, what each one means, and how to resolve it.
Server errors (5xx) are logged automatically and the EyeQuant team is notified immediately. If a server error persists across multiple retries, contact support for assistance.