Error Codes

Complete reference of 33 error codes across 11 categories returned by the EventML Service.

Error response formatjson
{
  "error": {
    "code": "ML_1000",
    "message": "Model configuration is invalid or missing required fields",
    "http": 400
  }
}

ModelsML_1000-1099

CodeHTTPNameDescriptionResolution
ML_1000400INVALID_MODEL_CONFIGModel configuration is invalid or missing required fieldsCheck model framework, version, and required fields against API docs
ML_1001404MODEL_NOT_FOUNDSpecified model does not existVerify model ID via GET /models
ML_1002409MODEL_ALREADY_EXISTSA model with this name already exists for this tenantUse a different name or update the existing model
ML_1003400INVALID_FRAMEWORKUnsupported ML framework specifiedUse: PYTORCH, TENSORFLOW, SKLEARN, XGBOOST, ONNX, or CUSTOM

TrainingML_1100-1199

CodeHTTPNameDescriptionResolution
ML_1100400INVALID_TRAINING_CONFIGTraining job configuration is invalidCheck hyperparameters, data config, and instance settings
ML_1101404TRAINING_JOB_NOT_FOUNDTraining job does not existVerify job ID via GET /training
ML_1102409TRAINING_ALREADY_RUNNINGA training job is already running for this model versionStop the existing job before starting a new one
ML_1103502TRAINING_INFRASTRUCTURE_ERRORTraining infrastructure (SageMaker/EC2) returned an errorRetry; infrastructure may be scaling up
ML_1104504TRAINING_TIMEOUTTraining job exceeded maximum allowed durationIncrease maxRuntime or reduce dataset size

Inference & ServingML_1200-1299

CodeHTTPNameDescriptionResolution
ML_1200400INVALID_INFERENCE_INPUTInference input format does not match model schemaCheck input schema for the model version endpoint
ML_1201404ENDPOINT_NOT_FOUNDInference endpoint does not existCreate an endpoint via POST /endpoints
ML_1202503ENDPOINT_NOT_READYEndpoint is not in ACTIVE state (still provisioning or scaling)Wait for endpoint to reach ACTIVE status before invoking
ML_1203504INFERENCE_TIMEOUTInference request timed out before returning a predictionReduce input size or increase endpoint timeout configuration

ExperimentsML_1300-1399

CodeHTTPNameDescriptionResolution
ML_1300400INVALID_EXPERIMENT_CONFIGExperiment configuration is invalidEnsure variant traffic allocations sum to 100%
ML_1301404EXPERIMENT_NOT_FOUNDExperiment does not existVerify experiment ID via GET /experiments
ML_1302409EXPERIMENT_ALREADY_RUNNINGExperiment is already in RUNNING stateStop the experiment before modifying its configuration

Drift & MonitoringML_1400-1499

CodeHTTPNameDescriptionResolution
ML_1400400INVALID_DRIFT_CONFIGDrift monitor configuration is invalidCheck threshold, detection method (KS_TEST, PSI, etc.), and feature list
ML_1401404DRIFT_MONITOR_NOT_FOUNDDrift monitor does not existCreate a monitor via POST /drift-monitors
ML_1402409DRIFT_DETECTEDSignificant data drift detected above thresholdRetrain the model with updated data distribution

Feature StoreML_1500-1599

CodeHTTPNameDescriptionResolution
ML_1500400INVALID_FEATURE_GROUPFeature group configuration is invalidCheck feature schema, data types, and entity key configuration
ML_1501404FEATURE_GROUP_NOT_FOUNDFeature group does not existCreate via POST /feature-store/groups
ML_1502409FEATURE_VERSION_CONFLICTFeature version already exists with conflicting schemaUse a new version number or update the existing version

GovernanceML_1600-1699

CodeHTTPNameDescriptionResolution
ML_1600403GOVERNANCE_VIOLATIONModel governance policy violated (missing documentation, tests, or approvals)Review and meet all governance requirements before releasing
ML_1601400MISSING_APPROVALRequired approval not obtained for this release stageSubmit model for approval workflow via POST /governance/approvals

AuthenticationML_1700-1799

CodeHTTPNameDescriptionResolution
ML_1700401UNAUTHORIZEDAuthentication requiredProvide a valid JWT token in the Authorization header
ML_1701403FORBIDDENInsufficient permissions for this ML operationRequest required role (ml-engineer, admin) from your admin
ML_1702401INVALID_TOKENInvalid or expired authentication tokenObtain a fresh JWT token via auth-svc /login or /refresh

ValidationML_1800-1899

CodeHTTPNameDescriptionResolution
ML_1800400VALIDATION_FAILEDRequest body validation failedCheck request body against the API docs schema
ML_1801400INVALID_INPUTInvalid input provided for a fieldReview field constraints (type, min/max, pattern, enum values)

DatabaseML_1900-1999

CodeHTTPNameDescriptionResolution
ML_1900500DATABASE_ERRORDatabase operation failedRetry; Aurora Serverless v2 may be scaling up from idle
ML_1901500TRANSACTION_FAILEDDatabase transaction failed due to conflict or timeoutRetry the operation with a new Idempotency-Key

GeneralML_2000-2099

CodeHTTPNameDescriptionResolution
ML_2000500INTERNAL_SERVER_ERRORInternal server errorRetry; if persistent, contact support with the x-request-id value
ML_2001503SERVICE_UNAVAILABLEService temporarily unavailable (ECS task restarting)Retry with exponential backoff
ML_2002504TIMEOUTRequest timeout exceededReduce request complexity or retry