This topic describes the error codes for Image Search.
Error code | HTTP status code | Error message | Description |
NoPermission | 403 | You are not authorized to perform this operation. | You do not have the permissions to perform this operation. |
BadRequest | 400 | The request has invalid parameters. | The request is invalid. |
InstanceStatusError | 409 | Your instance is unavailable. | The instance is unavailable. For example, the instance is unavailable due to an overdue payment. |
DeniedRequest | 403 | Your request was denied due to instance flow control. | The request was throttled. For more information about the limits on queries per second (QPS), see QPS. |
InvalidInstance | 400 | The specified instance name is invalid. | The instance name is invalid. For more information about how to obtain an instance name, see Create an instance. |
NoCaretSeperator | 400 | The body content is missing the ^ separator. | The request body is missing the separator |
EmptyMeta | 400 | The body content has an empty meta field. | The Meta field in the request body is empty. |
InvalidMetaItem | 400 | The meta field is invalid. | The Meta item is invalid. |
NoPicList | 400 | The body content is missing the pic_list parameter. | The pic_list parameter is not specified in the request body. |
InvalidPicList | 400 | The specified pic_list parameter is invalid. | The pic_list parameter is invalid. |
NoSpecifiedPic | 400 | The content of an image is not specified in the HTTP POST body. | The image content is not specified in the request body. |
NoSpecifiedSearchPic | 400 | The search image is not specified. | The image to query is not specified. |
InvalidCategory | 400 | The specified category is invalid. | The category is invalid. For more information, see Category reference. |
OverflowMaxResultNum | 400 | The specified number of total results exceeds the maximum of 500. | The number of returned results exceeds the maximum of 500. |
OverflowMaxReturnNum | 400 | The specified number of results for each request exceeds the maximum of 100. | The number of results returned per request exceeds the maximum of 100. |
InvalidStartParameter | 400 | The specified parameter s is invalid. | The parameter |
InvalidNumParameter | 400 | The specified parameter n is invalid. | The parameter |
NoSpecifiedAddPic | 400 | The image to insert is not specified. | The image to add is not specified. |
NoSpecifiedItemId | 400 | The item_id parameter is not specified. | The item_id parameter is not specified. |
InvalidIntAttr | 400 | The specified int_attr field is invalid. | The value of the int_attr field is invalid. |
UnsupportedPicFormat | 400 | The specified image format is invalid. | The image format is not supported. For more information about image formats, see Image requirements. |
InvalidFilterClause | 400 | The specified filtering condition is invalid. | The filter condition is invalid. For more information about how to set filter conditions, see Filter by condition. |
InstanceOverQuota | 400 | The number of items exceeds the limit. | The data volume of the instance exceeds the quota. |
IncorrectOrientation | 400 | The image contains incorrect rotation flags in the meta data. | The image contains incorrect rotation information. |
UnsupportedPicPixels | 400 | The specified pixels is not supported. | The image resolution is not supported. For more information about image requirements, see Image requirements. |
SearchTimeout | 400 | The request is timed out. | The search engine timed out. |
PicNotExist | 400 | The search picture does not exist. | The specified image for the search does not exist in the instance. |
NoSpecifiedProductId | 400 | The parameter ProductId no specified. | The ProductId parameter is not specified. For more information about how to import images, see Add an image. |
NoSpecifiedPicName | 400 | The parameter PicName no specified. | The PicName parameter is not specified. |
NoSpecifiedPicContent | 400 | The parameter PicContent no specified. | The PicContent parameter is not specified. |
InvalidType | 400 | The specified parameter Type is not valid. | The Type parameter is invalid. |
InvalidProductId | 400 | The specified parameter ProductId is not valid. | The ProductId parameter is invalid. |
InvalidPicName | 400 | The specified parameter PicName is not valid. | The PicName parameter is invalid. |
InvalidStrAttr | 400 | The specified parameter StrAttr is not valid. | The StrAttr parameter is invalid. |
InvalidCustomContent | 400 | The specified parameter CustomContent is not valid. | The CustomContent parameter is invalid. |
InvalidPicContent | 400 | The specified parameter PicContent length greater than 4 * 1024 * 1024. | The image size exceeds 4 MB. |
TimeoutForTransferImage | 400 | Timeout after 5 seconds waiting for images transfer to complete. | The image transfer timed out after 5 seconds. |
InvalidInstanceName | 400 | The parameter instanceName is not specified. | The instance name parameter is not specified. |
InvalidRequestId | 400 | The parameter requestId is not specified. | The requestId parameter is not specified. |
InvalidRequestIdTooLarge | 400 | The parameter requestId is too large. | The RequestId parameter is too long. |
InvalidRegion | 400 | The specific region is illegal. | The specified region is invalid. |
InvalidPicUrl | 400 | The search picture does not exist at the specific url. | The URL is invalid. |
UnsupportedInstanceType | 400 | The instance type is not supported. | The instance type is not supported. |
UnsupportedOperationType | 400 | The specified action is not supported. | The operation type is not supported. |
System-level errors
Error code | HTTP status code | Error message | Description |
NetworkException | 500 | A network error occurred. | A system network error occurred. |
RequestTimeout | 500 | The request is timeout. | The request timed out. |
ExtractFeatureTimeout | 500 | The request was timed out while extracting features. | The feature extraction timed out. |
AccessEngineFailed | 500 | An error occurred while accessing the search engine. | Failed to access the search engine. |
InternalOssError | 500 | An internal OAS error occurred. | An internal OAS error occurred. |
InternalSwiftError | 500 | An internal SWIFT error occurred. | An internal SWIFT error occurred. |
InternalTableStoreError | 500 | An internal Table Store error occurred. | An internal Table Store error occurred. |
InternalError | 500 | An internal server error occurred. | An internal error occurred. |