Skip to main content

errors

Error Handling

All endpoints follow a consistent error response format:

{
"code": "number",
"message": "string",
"status": "string"
}

Common status:

  • error: Error occured

Common error codes:

  • 401 - UNAUTHORIZED: Invalid or missing API key
  • 402 - INVALID_REQUEST: Missing or invalid parameters
  • 404 - NOT_FOUND: Requested resource not found
  • 400 - VALIDATION_ERROR: Request validation failed
  • 500 - INTERNAL_SERVER_ERROR: Internal server error
  • ETC