Error Codes

Last updated: 2020-12-24 11:19:35

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
UnsupportedOperation Unsupported operation.
ResourceInUse Resource is in use.
InternalError Internal error.
RequestLimitExceeded The number of requests exceeds the frequency limit.
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.
LimitExceeded Quota limit exceeded.
NoSuchVersion The API version does not exist.
ResourceNotFound The resource does not exist.
AuthFailure.SignatureFailure Invalid signature. Signature calculation error. Please ensure you’ve followed the signature calculation process described in the Signature API documentation.
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.
UnsupportedRegion API does not support the requested region.
UnauthorizedOperation Unauthorized operation.
InvalidParameter Incorrect parameter.
ResourceUnavailable Resource is unavailable.
AuthFailure.MFAFailure MFA failed.
AuthFailure.UnauthorizedOperation The request is not authorized. For more information, see the CAM documentation.
AuthFailure.InvalidSecretId Invalid key (not a TencentCloud API key type).
AuthFailure.TokenFailure Token error.
DryRunOperation DryRun Operation. It means that the request would have succeeded, but the DryRun parameter was used.
FailedOperation Operation failed.
UnknownParameter Unknown parameter.
UnsupportedProtocol HTTP(S) request protocol error; only GET and POST requests are supported.
InvalidParameterValue Invalid parameter value.
InvalidAction The API does not exist.
MissingParameter A parameter is missing.
ResourceInsufficient Insufficient resource.

Service Error Codes

Error Code Description
FailedOperation.BucketNotifyAlreadyExist Operation failed: notification has already been set for the bucket.
FailedOperation.CosStatusInavlid Operation failed: COS service is suspended.
FailedOperation.InvalidMpsUser Operation failed: unauthorized MPS user.
FailedOperation.InvalidUser Operation failed: invalid user.
InternalError.GenDefinition Internal error: failed to generate template ID.
InternalError.UploadWatermarkError Internal error: failed to upload watermark image.
InvalidParameterValue.AudioBitrate Parameter error: Audio stream bitrate.
InvalidParameterValue.AudioChannel Incorrect parameter value: AudioChannel.
InvalidParameterValue.AudioCodec Parameter error: audio stream codec.
InvalidParameterValue.AudioSampleRate Parameter error: audio stream sample rate.
InvalidParameterValue.Bitrate Invalid audio/video bitrate.
InvalidParameterValue.BlockConfidence Incorrect parameter value: the value of the BlockConfidence parameter is invalid.
InvalidParameterValue.ClassifcationConfigure Incorrect parameter value: the control field parameter for intelligent categorization is incorrect.
InvalidParameterValue.Codec Invalid audio/video codec.
InvalidParameterValue.ColumnCount Incorrect parameter value: ColumnCount.
InvalidParameterValue.Comment Parameter error: template description.
InvalidParameterValue.Container Parameter error: container format.
InvalidParameterValue.ContainerType Incorrect parameter value: ContainerType.
InvalidParameterValue.CoordinateOrigin Incorrect parameter value: CoordinateOrigin.
InvalidParameterValue.CoverConfigure Incorrect parameter value: the control field parameter for intelligent cover generation is incorrect.
InvalidParameterValue.DefaultLibraryLabelSet Incorrect parameter value: the default face library filter tag is invalid.
InvalidParameterValue.Definition Parameter error: Definition.
InvalidParameterValue.Definitions Parameter error: Definitions.
InvalidParameterValue.DeleteDefaultTemplate Incorrect parameter value: the default template cannot be deleted.
InvalidParameterValue.DisableHigherVideoBitrate Invalid switch value used to prohibit transcoding from low bitrate to high bitrate.
InvalidParameterValue.DisableHigherVideoResolution Invalid switch value used to prohibit transcoding from low resolution to high resolution.
InvalidParameterValue.FaceDuplicate Incorrect parameter value: duplicated face.
InvalidParameterValue.FaceLibrary Incorrect parameter value: invalid face library parameter.
InvalidParameterValue.FaceScore Incorrect parameter value: the value of the face score parameter is invalid.
InvalidParameterValue.FillType Invalid parameter: incorrect fill type.
InvalidParameterValue.Format Incorrect parameter value: Format.
InvalidParameterValue.FormatWebpLackWidthAndHeight Incorrect parameter value: Format is webp, but both Width and Height are empty.
InvalidParameterValue.FormatWebpWidthAndHeightBothZero Incorrect parameter value: when Format is webp, Width and Height cannot be both 0.
InvalidParameterValue.Fps Parameter error: video frame rate.
InvalidParameterValue.FrameTagConfigure Incorrect parameter value: the control field parameter for intelligent frame-specific tagging is incorrect.
InvalidParameterValue.FunctionArg Incorrect parameter value: FunctionArg.
InvalidParameterValue.FunctionName Incorrect parameter value: FunctionName.
InvalidParameterValue.Gop Invalid GOP value.
InvalidParameterValue.Height Parameter error: height.
InvalidParameterValue.ImageContent Invalid ImageContent
InvalidParameterValue.ImageTemplate Parameter error: image watermarking template.
InvalidParameterValue.InvalidContent The value of the parsed Content is invalid.
InvalidParameterValue.InvalidOperationType Invalid operation type.
InvalidParameterValue.LabelSet Incorrect parameter value: invalid LabelSet value.
InvalidParameterValue.Limit Parameter error: Limit.
InvalidParameterValue.ModifyDefaultTemplate Incorrect parameter value: the default template cannot be modified.
InvalidParameterValue.Name Incorrect parameter value: Name exceeds the length limit.
InvalidParameterValue.NotProcessingTask Tasks not in processing status are not supported.
InvalidParameterValue.ObjectLibrary Incorrect parameter value: object library parameter is invalid.
InvalidParameterValue.PicFormatError Incorrect parameter value: incorrect face image format.
InvalidParameterValue.Quality Incorrect parameter value: Quality.
InvalidParameterValue.RemoveAudio Incorrect parameter value: RemoveAudio.
InvalidParameterValue.RemoveVideo Incorrect parameter value: RemoveVideo.
InvalidParameterValue.RepeatType Parameter error: invalid RepeatType.
InvalidParameterValue.Resolution Parameter error: Incorrect resolution.
InvalidParameterValue.ResolutionAdaptive Invalid ResolutionAdaptive
InvalidParameterValue.ReviewConfidence Incorrect parameter value: The value of the ReviewConfidence parameter is invalid.
InvalidParameterValue.RowCount Incorrect parameter value: RowCount.
InvalidParameterValue.SampleInterval Incorrect parameter value: SampleInterval.
InvalidParameterValue.SampleRate Invalid audio sample rate.
InvalidParameterValue.SampleType Incorrect parameter value: SampleType.
InvalidParameterValue.SessionContextTooLong SessionContext is too long.
InvalidParameterValue.SessionId The deduplication ID already exists. The request is removed due to duplication.
InvalidParameterValue.SessionIdTooLong SessionId is too long.