Error Codes

Last updated: 2021-04-20 11:01:23

Feature Description

If there is an Error field in the response, it means that the API call failed. For example:

 {
    "Response": {
        "Error": {
            "Code": "AuthFailure.SignatureFailure",
            "Message": "The provided credentials could not be validated. Please check your signature is correct."
        },
        "RequestId": "ed93f3cb-f35e-473f-b9f3-0d451b8b79c6"
    }
}

Code in Error indicates the error code, and Message indicates the specific information of the error.

Error Code List

Common Error Codes

Error Code Description
ActionOffline This API has been deprecated.
AuthFailure.InvalidAuthorization Authorization in the request header is invalid.
AuthFailure.InvalidSecretId Invalid key (not a TencentCloud API key type).
AuthFailure.MFAFailure MFA failed.
AuthFailure.SecretIdNotFound Key does not exist. Check if the key has been deleted or disabled in the console, and if not, check if the key is correctly entered. Note that whitespaces should not exist before or after the key.
AuthFailure.SignatureExpire Signature expired. Timestamp and server time cannot differ by more than five minutes. Please ensure your current local time matches the standard time.
AuthFailure.SignatureFailure Invalid signature. Signature calculation error. Please ensure you’ve followed the signature calculation process described in the Signature API documentation.
AuthFailure.TokenFailure Token error.
AuthFailure.UnauthorizedOperation The request is not authorized. For more information, see the CAM documentation.
DryRunOperation DryRun Operation. It means that the request would have succeeded, but the DryRun parameter was used.
FailedOperation Operation failed.
InternalError Internal error.
InvalidAction The API does not exist.
InvalidParameter Incorrect parameter.
InvalidParameterValue Invalid parameter value.
InvalidRequest The multipart format of the request body is incorrect.
LimitExceeded Quota limit exceeded.
MissingParameter A parameter is missing.
NoSuchProduct The product does not exist.
NoSuchVersion The API version does not exist.
RequestLimitExceeded The number of requests exceeds the frequency limit.
RequestSizeLimitExceeded The request size exceeds the upper limit.
ResourceInUse Resource is in use.
ResourceInsufficient Insufficient resource.
ResourceNotFound The resource does not exist.
ResourceUnavailable Resource is unavailable.
ServiceUnavailable Service is unavailable now.
UnauthorizedOperation Unauthorized operation.
UnknownParameter Unknown parameter.
UnsupportedOperation Unsupported operation.
UnsupportedProtocol HTTP(S) request protocol error; only GET and POST requests are supported.
UnsupportedRegion API does not support the requested region.

Service Error Codes

Error Code Description
AuthFailure CAM signature/authentication error.
FailedOperation.ClassLevelLimitExceeded Operation failed: the number of category levels exceeds the limit.
FailedOperation.ClassNameDuplicate Operation failed: the category name already exists.
FailedOperation.ClassNoFound Operation failed: the category does not exist.
FailedOperation.CoverType Operation failed: unsupported cover type.
FailedOperation.InvalidAccount User account exception.
FailedOperation.InvalidVodUser The VOD service is not activated.
FailedOperation.MediaForbidedBySystem Media blocked by the system.
FailedOperation.MediaType Operation failed: unsupported media type.
FailedOperation.NetWorkError Network error.
FailedOperation.NoPrivileges No permission to use this API.
FailedOperation.ParentIdNoFound Operation failed: the parent category ID does not exist.
FailedOperation.SubclassLimitExceeded Operation failed: the number of subcategories exceeds the limit.
FailedOperation.TaskDuplicate Operation failed: the task already exists.
FailedOperation.UploadCosFail Operation failed: failed to upload file to COS.
FailedOperation.UserStatusInavlid The service has been suspended.
InternalError.DBError Internal error. Failed to access DB.
InternalError.GenDefinition Internal error: failed to generate template ID.
InternalError.GetFileInfoError Internal error: an error occurred while getting media file information.
InternalError.GetMediaListError Internal error: an error occurred while getting the media list.
InternalError.TimeParseError An error occurred while parsing the time.
InternalError.UpdateMediaError Internal error: an error occurred while updating media file information.
InternalError.UploadCoverImageError Internal error: an error occurred while uploading cover image.
InternalError.UploadWatermarkError Internal error: failed to upload watermark image.
InvalidParameter.ExistedProcedureName The task flow template name already exists.
InvalidParameter.ExpireTime Incorrect parameter value: expiration time.
InvalidParameter.ProcedureNameNotExist The task flow template name does not exist.
InvalidParameter.StorageRegion Incorrect parameter value: storage region.
InvalidParameterValue.AddKeyFrameDescsAndClearKeyFrameDescsConflict Incorrect parameter value: AddKeyFrameDescs conflicts with ClearKeyFrameDescs.
InvalidParameterValue.AddKeyFrameDescsAndDeleteKeyFrameDescsConflict Incorrect parameter value: AddKeyFrameDescs conflicts with DeleteKeyFrameDescs.
InvalidParameterValue.AddTagsAndClearTagsConflict Incorrect parameter value: AddTags conflicts with ClearTags.
InvalidParameterValue.AddTagsAndDeleteTagsConflict Incorrect parameter value: AddTags conflicts with DeleteTags.
InvalidParameterValue.AiAnalysisTaskDefinition Incorrect parameter value: Definition for AI-based analysis.
InvalidParameterValue.AiContentReviewTaskDefinition Incorrect parameter value: Definition AI-based content audit.
InvalidParameterValue.AiRecognitionTaskDefinition Incorrect parameter value: Definition for AI-based recognition.
InvalidParameterValue.Area Invalid Area.
InvalidParameterValue.AudioBitrate Invalid parameter: audio stream bitrate.
InvalidParameterValue.AudioChannel Incorrect parameter value: AudioChannel.
InvalidParameterValue.AudioCodec Invalid parameter: audio stream encoder.
InvalidParameterValue.AudioSampleRate Invalid parameter: audio stream sample rate.
InvalidParameterValue.Bitrate Invalid audio/video bitrate.
InvalidParameterValue.BlockConfidence Incorrect parameter value: the value of the BlockConfidence parameter is invalid.
InvalidParameterValue.Categories Invalid file type.
InvalidParameterValue.ClassId Incorrect parameter value: category ID.
InvalidParameterValue.ClassIds Incorrect parameter value: invalid ClassIds.
InvalidParameterValue.ClassName Incorrect parameter value: invalid ClassName
InvalidParameterValue.ClassifcationConfigure The control field parameter for intelligent categorization is incorrect.
InvalidParameterValue.ClipDuration Incorrect parameter value: the clipping duration is too long.
InvalidParameterValue.Codec Invalid audio/video codec.
InvalidParameterValue.ColumnCount Incorrect parameter value: ColumnCount.
InvalidParameterValue.Comment Invalid parameter: template description.
InvalidParameterValue.Container Invalid parameter: container.
InvalidParameterValue.ContainerType Incorrect parameter value: ContainerType.
InvalidParameterValue.CoordinateOrigin Incorrect parameter value: CoordinateOrigin.
InvalidParameterValue.CoverConfigure The control field parameter for intelligent cover generation is incorrect.
InvalidParameterValue.CoverType Incorrect parameter value: cover type.
InvalidParameterValue.CoverUrl Incorrect parameter value: cover URL.
InvalidParameterValue.DataInterval Incorrect parameter value: time granularity.
InvalidParameterValue.DataType Incorrect parameter value: data type.
InvalidParameterValue.DefaultLibraryLabelSet Incorrect parameter value: the default face library filter tag is invalid.
InvalidParameterValue.Definition Invalid parameter: Definition.
InvalidParameterValue.Definitions