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
| Category | HTTP status codes | When it occurs | What to do |
|---|---|---|---|
| Input validation errors | 400 | Your request contains an invalid or missing parameter. | Fix the request and retry. |
| Model state errors | 404, 409, 412 | The model is in a state that prevents the operation. | Check the model status before retrying. |
| Data readiness errors | 428 | Training data is insufficient or invalid. | Resolve the data issue before triggering model training. |
| Internal errors | 500 | A 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 code | HTTP status | Error message | What went wrong | What to do |
|---|---|---|---|---|
| Algorithm.Model.Missing.RequestBody | 400 | required request body is missing | The request body is missing or invalid. | Include a valid request body and resubmit. |
| Algorithm.Model.InvalidAppGroup | 400 | invalid app group | The app_group value does not match any existing application. | Verify the app_group value and confirm the application exists. |
| Algorithm.Model.InvalidOriginalRequest | 400 | invalid original request | The original_request parameter is invalid. | Check the original_request value and resubmit. |
| Algorithm.Model.InvalidAliyunUserId | 400 | invalid aliyun user id | The Alibaba Cloud account ID is invalid. | Confirm you are using a valid Alibaba Cloud account ID. |
| Algorithm.Model.InvalidAppGroupId | 400 | invalid app group id | The app group ID is invalid. | Verify the app group ID and resubmit. |
| Algorithm.Model.InvalidAppGroupName | 400 | invalid app group name | The app group name is invalid. | Verify the app group name and resubmit. |
| Algorithm.Model.InvalidAppGroupStatus | 400 | invalid app group status | The app group status value is invalid. | Check the supported app group status values and resubmit. |
| Algorithm.Model.InvalidOriginalRequestUri | 400 | invalid original request uri | The URI in the original request is invalid. | Verify the URI format and resubmit. |
| Algorithm.Model.InvalidOriginalRequestMethod | 400 | invalid original request method | The HTTP method in the original request is invalid. | Use the correct HTTP method for the operation. |
| Algorithm.Model.InvalidModelId | 400 | invalid model id | The model ID is invalid. | Verify the model ID and resubmit. |
| Algorithm.Model.InvalidModelType | 400 | invalid model type | The model type is not a supported value. | Check the supported model types and resubmit. |
| Algorithm.Model.InvalidModelName | 400 | invalid model name | The model name format is invalid. | Verify the model name format and resubmit. |
| Algorithm.Model.InvalidTrainTarget | 400 | invalid train target | The train_target value is not a supported training objective. | Check the supported training objectives and update the value. |
| Algorithm.Model.InvalidCron | 400 | invalid cron | The CRON expression is invalid. | Verify the CRON expression syntax and resubmit. |
| Algorithm.Model.CommentTooLong | 400 | comment too long | The comment exceeds the maximum allowed length. | Shorten the comment and resubmit. |
| Algorithm.Model.InvalidDirection | 400 | invalid order direction | The sort order value is invalid. | Use a supported sort order value and resubmit. |
| Algorithm.Model.InvalidNumberFormat | 400 | invalid number format | A 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 code | HTTP status | Error message | What went wrong | What to do |
|---|---|---|---|---|
| Algorithm.Model.NotFound | 404 | model is not exists | The model does not exist. | Verify the model ID. If the model was deleted, create a new one. |
| Algorithm.Model.Duplicated | 409 | duplicate model name | A model with this name already exists. | Use a different model name, or delete the existing model first. |
| Algorithm.Model.ModelIsTraining | 412 | model is training | The model is currently being trained. The operation cannot proceed. | Wait for training to complete, then retry. |
| Algorithm.Model.TrainingHasNotSuccess | 412 | model training has not success | Model training did not complete successfully. The operation cannot proceed. | Check the training logs, resolve any issues, and retrigger training. |
| Algorithm.Model.PredictingHasNotSuccess | 412 | model predicting has not success | Model 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 code | HTTP status | Error message | What went wrong | What to do |
|---|---|---|---|---|
| Algorithm.Data.NoData | 428 | no data to train model | No training data is available. | Upload training data before triggering model training. |
| Algorithm.Data.NotEnoughDay | 428 | not enough day to train model | The available training data does not span enough days. | Collect more days of data, then retry after the minimum data period is met. |
| Algorithm.Data.NotEnoughPvAtLastDay | 428 | not enough pv at last day | Page views (PVs) from the previous day are below the minimum threshold. | Ensure the previous day has sufficient PV data before triggering training. |
| Algorithm.Data.NotEnoughIpvAtLastDay | 428 | not enough ipv at last day | Item 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.TooManyInvalidBhvType | 428 | too many invalid bhv_type | Too 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 code | HTTP status | Error message | What went wrong | What to do |
|---|---|---|---|---|
| InternalError | 500 | Internal Server Error | An internal server error occurred. | Wait a few minutes and retry. If the error persists, contact Alibaba Cloud support. |