All Products
Search
Document Center

OpenSearch:ModelErrorCode

Last Updated:Aug 21, 2026

This page lists error codes returned by the Open Search Industry Algorithm Edition model API, grouped by error category. Each entry includes the HTTP status code, the error message string, a description of what triggered the error, and the recommended action.

Error categories

CategoryHTTP status codesWhen it occursWhat to do
Input validation errors400Your request contains an invalid or missing parameter.Fix the request and retry.
Model state errors404, 409, 412The model is in a state that prevents the operation.Check the model status before retrying.
Data readiness errors428Training data is insufficient or invalid.Resolve the data issue before triggering model training.
Internal errors500A server-side issue occurred.Wait a few minutes and retry. If the error persists, contact support.

Input validation errors

These errors indicate a problem with your request. Fix the request and resubmit.

Error codeHTTP statusError messageWhat went wrongWhat to do
Algorithm.Model.Missing.RequestBody400required request body is missingThe request body is missing or invalid.Include a valid request body and resubmit.
Algorithm.Model.InvalidAppGroup400invalid app groupThe app_group value does not match any existing application.Verify the app_group value and confirm the application exists.
Algorithm.Model.InvalidOriginalRequest400invalid original requestThe original_request parameter is invalid.Check the original_request value and resubmit.
Algorithm.Model.InvalidAliyunUserId400invalid aliyun user idThe Alibaba Cloud account ID is invalid.Confirm you are using a valid Alibaba Cloud account ID.
Algorithm.Model.InvalidAppGroupId400invalid app group idThe app group ID is invalid.Verify the app group ID and resubmit.
Algorithm.Model.InvalidAppGroupName400invalid app group nameThe app group name is invalid.Verify the app group name and resubmit.
Algorithm.Model.InvalidAppGroupStatus400invalid app group statusThe app group status value is invalid.Check the supported app group status values and resubmit.
Algorithm.Model.InvalidOriginalRequestUri400invalid original request uriThe URI in the original request is invalid.Verify the URI format and resubmit.
Algorithm.Model.InvalidOriginalRequestMethod400invalid original request methodThe HTTP method in the original request is invalid.Use the correct HTTP method for the operation.
Algorithm.Model.InvalidModelId400invalid model idThe model ID is invalid.Verify the model ID and resubmit.
Algorithm.Model.InvalidModelType400invalid model typeThe model type is not a supported value.Check the supported model types and resubmit.
Algorithm.Model.InvalidModelName400invalid model nameThe model name format is invalid.Verify the model name format and resubmit.
Algorithm.Model.InvalidTrainTarget400invalid train targetThe train_target value is not a supported training objective.Check the supported training objectives and update the value.
Algorithm.Model.InvalidCron400invalid cronThe CRON expression is invalid.Verify the CRON expression syntax and resubmit.
Algorithm.Model.CommentTooLong400comment too longThe comment exceeds the maximum allowed length.Shorten the comment and resubmit.
Algorithm.Model.InvalidDirection400invalid order directionThe sort order value is invalid.Use a supported sort order value and resubmit.
Algorithm.Model.InvalidNumberFormat400invalid number formatA numeric field contains an invalid value.Check the numeric field value and resubmit with a valid number.

Model state errors

These errors indicate the model is in a state that prevents the requested operation. Check the model status, then retry when the required conditions are met.

Error codeHTTP statusError messageWhat went wrongWhat to do
Algorithm.Model.NotFound404model is not existsThe model does not exist.Verify the model ID. If the model was deleted, create a new one.
Algorithm.Model.Duplicated409duplicate model nameA model with this name already exists.Use a different model name, or delete the existing model first.
Algorithm.Model.ModelIsTraining412model is trainingThe model is currently being trained. The operation cannot proceed.Wait for training to complete, then retry.
Algorithm.Model.TrainingHasNotSuccess412model training has not successModel training did not complete successfully. The operation cannot proceed.Check the training logs, resolve any issues, and retrigger training.
Algorithm.Model.PredictingHasNotSuccess412model predicting has not successModel prediction did not complete successfully. The operation cannot proceed.Check the prediction logs, resolve any issues, and retry.

Data readiness errors

These errors indicate that training data does not meet the minimum requirements. Resolve the data issue before triggering model training.

Error codeHTTP statusError messageWhat went wrongWhat to do
Algorithm.Data.NoData428no data to train modelNo training data is available.Upload training data before triggering model training.
Algorithm.Data.NotEnoughDay428not enough day to train modelThe available training data does not span enough days.Collect more days of data, then retry after the minimum data period is met.
Algorithm.Data.NotEnoughPvAtLastDay428not enough pv at last dayPage views (PVs) from the previous day are below the minimum threshold.Ensure the previous day has sufficient PV data before triggering training.
Algorithm.Data.NotEnoughIpvAtLastDay428not enough ipv at last dayItem page views (IPVs) from the previous day are below the minimum threshold.Ensure the previous day has sufficient IPV data before triggering training.
Algorithm.Data.TooManyInvalidBhvType428too many invalid bhv_typeToo many records in the behavioral data have an invalid bhv_type value.Clean up the invalid behavior type records in your event data and retry.

Internal errors

Error codeHTTP statusError messageWhat went wrongWhat to do
InternalError500Internal Server ErrorAn internal server error occurred.Wait a few minutes and retry. If the error persists, contact Alibaba Cloud support.