All Products
Search
Document Center

Artificial Intelligence Recommendation:Error codes

Last Updated:Jan 15, 2021

The following table lists error codes and error messages in AIRec. If an error occurs when you call an API operation, you can troubleshoot the error based on the returned error code and error message.

Error code

HTTP status code

Error message

Description

ValidationError

400

An error occurred while validating

The error message returned because the verification failed.

NotExistIndustry

400

The industry name does not exist

The error message returned because the industry name does not exist.

CurrentIndustryNotSupportThisScene

400

The current industry does not support the specified scenario

The error message returned because the current industry does not support the specified scene.

CanNotModifyIndustry

400

The industry information of the instance cannot be modified

The error message returned because the industry information in the instance cannot be modified.

MustSelectIndustry

400

You must specify the industry

The error message returned because you did not specify an industry.

NameFormatError

400

The instance name is invalid. The instance name must be 0 to 30 characters in length and can contain underscores (_) and hyphens (-). It must start with a letter, number, or Chinese character

The error message returned because the instance name does not comply with the naming conventions. An instance name must be 1 to 30 characters in length, and can contain underscores (_) and hyphens (-). It must start with a letter or a digit.

UpdateInfoCanNotBeNull

400

You must specify the data to be modified

The error message returned because you did not specify the information you want to modify.

UpdateInfoContainIllegalProperties

400

An attribute is invalid

The error message returned because the information you want to modify contains invalid attributes.

ReleasePrepaidInstancePermissionDenied

400

Permission denied to remove instance

The error message returned because you are not allowed to delete a subscription instance.

ChargeTypeError

400

The instance billing method is invalid

The error message returned because the billing method of the instance is invalid.

UnsupportedOrderType

400

The order type is not supported

The error message returned because the order type is not supported.

EmptyPurchasesInfo

400

The order information is empty

The error message returned because the order information is empty.

MustModifyQuota

400

You must specify the quota

The error message returned because the quota is empty.

UnsupportedRefundType

400

The refund type is not supported

The error message returned because the refund type is not supported.

MixNumberExceeded

400

The number of asset mix types has exceeded the system limit

The error message returned because the number of mixed sorting types exceeds the system limit.

MixDependencyViolation.DataSetTrainingNotSucceed

400

Mix types can be created only if the data version passes the validation

The error message returned because mixed sorting rules can be created only after the data version passes the verification.

InvalidMixSetting

400

The mix setting is invalid

The error message returned because the mixed sorting configurations are invalid.

DiversifyNumberExceeded

400

The number of asset categories has exceeded the system limit

The error message returned because the number of categories exceeds the system limit.

DiversifyDependencyViolation.DataSetTrainingNotSucceed

400

Asset categories can be created only if the data version passes the validation

The error message returned because discretization rules can be created only after the data version passes the verification.

DataSourceTableNotMatch

400

The data source table is not the specified table, what we need is user, item or behavior

The error message returned because the data source table is not a user table, an item table, or a behavior table.

DataSourceTableNameIncorrect

400

The specified table name is invalid

The error message returned because the table name you specified is invalid.

InvalidDataSourceType

400

The data source type is invalid

The error message returned because the data source type is invalid.

DataSourceUnavailable

400

An error occurred while validating the data source, error infomation: %data%

The error message returned because the data source fails to be verified. The error information is %data%.

MissingPartition

400

The partition field is mandatory for this table

The error message returned because partitions are not specified for the data table.

InvalidDataSourceTimestamp

400

The time when data starts to be replicated to MaxCompute is invalid. Modify the timestamp of the data source

The error message returned because the timestamp at which data is uploaded is invalid. Modify the timestamp of the data source.

InvalidDataSourceTableField

400

An error occurred while validating the data source table field, error infomation: %data%

The error message returned because fields in the data source table fail to be verified. The error information is %data%.

DataSetVersionNumExceeded

400

The number of dataset versions has exceeded the system limit

The error message returned because the number of dataset versions exceeds the system limit.

OperationNotAllowedInState

400

Access denied in this dataset state

The error message returned because the operation is not allowed in the current dataset state.

DataSetRemoveForbidden

400

The dataset cannot be deleted because it is still in use.

The error message returned because the dataset is still available for online services.

InvalidSchemaId

400

The schema ID is invalid

The error message returned because the schema ID is invalid.

InvalidIndustry

400

The industry name is invalid

The error message returned because the industry name is invalid.

InvalidQuota.QPS

400

The value of QPS has exceeded the system limit

The error message returned because the QPS quota you specified is out of the allowed range.

InvalidQuota.UserCount

400

The specified number of documents of the user table has exceeded the system limit

The error message returned because the specified quota of documents in the user table is out of the allowed range.

InvalidQuota.ItemCount

400

The specified number of documents of the item table has exceeded the system limit

The error message returned because the specified quota of documents in the item table is out of the allowed range.

InvalidQuota.InstanceId

400

You must specify the instance ID

The error message returned because the instance ID is not specified.

QuotaQpsValueIllegal

400

The value of QPS in quota information is invalid

The error message returned because the QPS value is invalid in quota information.

QuotaUserCountValueIllegal

400

The value of document quantity of the user table in the quota information is invalid

The error message returned because the number of documents in the user table is invalid in quota information.

QuotaItemCountValueIllegal

400

The value of document quantity of the item table in the quota information is invalid.

The error message returned because the number of documents in the item table is invalid in quota information.

QuotaItemCountBaseUnit

400

The value of document quantity of the item table in the quota information is not an integer multiple of 1000000

The error message returned because the number of documents in the item table is not an integral multiple of 1000000.

QuotaUserCountBaseUnit

400

The value of document quantity of the user table in the quota information is not an integer multiple of 1000000

The error message returned because the number of documents in the user table is not an integral multiple of 1000000.

EmptyDocument

400

The submitted document is empty

The error message returned because the document you submitted is empty.

InvalidTableName

400

The specified table name is invalid

The error message returned because the table name you specified is invalid.

QuotaExceeded.DocCountQuota

400

The number of documents has exceeded your quota, please upgrade the instance's quota

The error message returned because the number of documents exceeds your quota limit. Increase the quota and try again.

DocumentNumberExceeded

400

The number of documents has exceeded system limit, please reduce the document number

The error message returned because the number of documents exceeds the system limit. Reduce the number of documents.

InvalidJson

400

Invalid json format

The error message returned because the JSON format is invalid.

QuotaExceeded.QPSQuota

400

The recommend QPS has exceeded the QPS quota

The error message returned because the value of QPS for your recommendation request exceeds the QPS quota. Increase the quota and try again.

RequestBodyInvalid

400

The request body is illegal

The error message returned because the request body is invalid.

UserNotLogin

401

The user is not logged in

The error message returned because the user does not log on to the system.

InstanceExpiredOrInArrears

403

The instance has expired or has stopped running due to overdue payment. Renew the instance and try again

The error message returned because the instance has expired or has been suspended due to overdue payment. Renew the instance and try again.

InstanceNotExist

404

The instance id provided does not exist in our records

The error message returned because the specified instance does not exist.

MixNotFound

404

The specified asset mix does not exist

The error message returned because the mixed sorting rules you specified do not exist.

DiversifyNotFound

404

The specified asset category does not exist

The error message returned because the discretization rules you specified do not exist.

DataSourceNotFound

404

The specified data source does not exist

The error message returned because the data source you specified does not exist.

DataSetNotExist

404

The specified dataset does not exist

The error message returned because the dataset you specified does not exist.

RequestBodyTooLarge

413

The size of the request body that you submitted has exceeded the system limit

The error message returned because the size of the request body you submitted exceeds the system limit.

InternalServerError

500

The request processing has failed due to some unknown error, exception or failure

The error message returned because an internal server error occurred.

CreateInstanceFail

500

An error occurred while creating the instance

The error message returned because the instance fails to be created.

RemoveInstanceFail

500

An error occurred while deleting the instance

The error message returned because the instance fails to be deleted.

UpdateInstanceFail

500

An error occurred while updating the instance

The error message returned because the instance fails to be updated.

UpgradeInstanceFail

500

An error occurred while upgrading the instance

The error message returned because the instance fails to be scaled up.

FetchQuotaError

500

An error occurred while retrieving the quota information

The error message returned because the quota information fails to be obtained.

RegisterQuotaError

500

An error occurred while registering the quota information

The error message returned because the quota information fails to be registered.

GetUserFail

500

An error occurred while geting the user info

The error message returned because the user information fails to be obtained.