Errors & Status Codes

BizXEngine uses standard HTTP status codes. Every error response includes a machine-readable code and a human-readable message.

Error format

{
  "error": {
    "code": "memory_not_found",
    "message": "No memory with ID mem_xyz in workspace ws_abc123.",
    "request_id": "req_Kx8mN7..."
  }
}

Status codes

HTTPCodeDescription
400invalid_requestMissing required parameter or invalid value.
401unauthorizedAPI key missing or malformed.
403forbiddenKey valid but lacks permission for this resource.
404not_foundResource does not exist.
409conflictDuplicate memory detected (see dedup).
422unprocessableRequest well-formed but semantically invalid.
429rate_limitedToo many requests. Check Retry-After header.
500internal_errorSomething went wrong on our end. Contact support with the request_id.