The following are the system error codes:
SYSTEM_EX(1001, "System exception")
INTERNAL_EX(1002, "Internal exception")
NO_PERMISSION(1003, "Access denied")
PARAMS_EX(1004, "Parameter exception")
RESULT_NULL_EX(1005, "The requested data was not found")
NO_USER_EX(1006, "The user does not exist")
USER_NOT_LOGIN(1007, "The user is not logged in")
INVALID_OPERATION(1008, "Invalid operation")
BUILD_INDEX_FAILED(2000, "Failed to build the index")
DELETE_INDEX_FAILED(2001, "Failed to delete the index")
REBUILD_INDEX_FAILED(2003, "Failed to rebuild the index")
UPDATE_INDEX_FAILED(2004, "Failed to update the index")
SERVICE_CREATE_FAILED(2006, "Failed to create the service")
SERVICE_NOT_AVAILABLE(2007, "The service is unavailable")
DOC_PROCESSING_NOT_DELETE(3001, "The document cannot be deleted because it is being processed")
DATA_SOURCE_TYPE_ERROR(4001, "The data source type does not exist")
DATA_SOURCE_INSTANCE_ERROR(4002, "The data source instance does not exist")
ACCOUNT_NOT_PERMISSION(4003, "The account does not have the required permission for this operation")
DATA_SOURCE_NAME_EXISTED(4004, "The data source name already exists for the current Alibaba Cloud account")
GET_DATA_SOURCE_TYPE_FAILED(4005, "Failed to retrieve the data source type")
DATA_SOURCE_CONNECTION_FAILED(4006, "Failed to connect to the data source")
DATA_SOURCE_ERROR_OR_TABLE_NOT_FOUND(4007, "Data source error or the table does not exist")
DATA_SOURCE_CONFIG_ERROR(4008, "Data source configuration error")
ODPS_PROJECT_NOT_EXISTED(4009, "The project does not exist")
ODPS_TABLE_NOT_FOUND(4010, "The table does not exist")
OSS_PATH_OBJECT_NOT_FOUND(4011, "The specified path contains no OSS objects")
ENGINE_TYPE_NOT_FOUND(4101, "The engine type does not exist")
ENGINE_ES_ENDPOINT_NOT_FOUND(4102, "An endpoint is required for the ES engine type")
ENGINE_INSTANCE_NOT_FOUND(4103, "The engine instance does not exist")
ENGINE_INSTANCE_OPERATION_NOT_FOUND(4104, "No operation records were found for the engine instance")
ENGINE_NAME_EXISTED(4105, "The engine name already exists for the current Alibaba Cloud account")
ENGINE_CONFIG_ERROR(4106, "Engine configuration error. Connection failed.")
ENGINE_CREATE_FAILED(4107, "Failed to create the engine")
INVALID_TOKEN(5001, "The authentication token is invalid")
DATA_IMPORT_TASK_SUBMIT_FAILED(6000, "Failed to submit the data import task")
DATA_IMPORT_FAILED(6001, "Data import failed")
DIF_INIT(6002, "Failed to initialize the import task")
DIF_DOWNLOAD(6003, "Failed to download the data")
DIF_PARSING(6004, "Failed to parse the document")
DIF_CHUNK(6005, "Failed to chunk the document")
DIF_FEATURE_ANALYSIS(6006, "Feature analysis failed")
DIF_IMPORT(6007, "Failed to import the data")
DATA_UPDATE_FAILED(6101, "Data update failed")
DATA_DELETE_FAILED(6201, "Data deletion failed")
SERVICE_NOT_OPEN(7001, "The basic NLP service is not activated")