Error Codes

最后更新时间:2021-10-12 16:58:40

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.
IpInBlacklist Your IP is in uin IP blacklist.
IpNotInWhitelist Your IP is not in uin IP whitelist.
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.
RequestLimitExceeded.IPLimitExceeded The number of ip requests exceeds the frequency limit.
RequestLimitExceeded.UinLimitExceeded The number of uin 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.
ResponseSizeLimitExceeded The response size exceeds the upper limit.
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.DomainDeploying You cannot modify the settings of the domain name as it is being deployed.
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.
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 Invalid parameter: Definitions.
InvalidParameterValue.DeleteDefaultTemplate Incorrect parameter value: the default template cannot be deleted.
InvalidParameterValue.Description Incorrect parameter value: Description exceeds the length limit.
InvalidParameterValue.DisableHigherVideoBitrate Invalid value of the switch for prohibiting transcoding from low bitrate to high bitrate.
InvalidParameterValue.DisableHigherVideoResolution Invalid value of the switch for prohibiting transcoding from low resolution to high resolution.
InvalidParameterValue.Districts Incorrect Districts.
InvalidParameterValue.DomainName Invalid parameter: the domain name does not exist.
InvalidParameterValue.DomainNameInBlackList This domain name cannot be added as it is invalid.
InvalidParameterValue.DomainNames Parameter value. The domain name list is too large.
InvalidParameterValue.DrmType Invalid DRM type.
InvalidParameterValue.EndTime Incorrect parameter value: invalid EndTime.
InvalidParameterValue.EndTimeOffset Incorrect parameter: the end time is invalid.
InvalidParameterValue.ExpireTime Incorrect parameter value: incorrect ExpireTime format.
InvalidParameterValue.FaceDuplicate Incorrect parameter value: the same face already exists.
InvalidParameterValue.FaceLibrary Incorrect parameter value: the face library parameter is invalid.
InvalidParameterValue.FaceScore Incorrect parameter value: the value of the face score parameter is invalid.
InvalidParameterValue.FileId The FileId does not exist.
InvalidParameterValue.FileIds Incorrect FileIds parameter.
InvalidParameterValue.FileIdsEmpty The FileIds array is empty.
InvalidParameterValue.FileIdsTooMany Incorrect parameter value: too many FileId
InvalidParameterValue.FileType Incorrect video type.
InvalidParameterValue.FillType Invalid parameter: incorrect fill type.
InvalidParameterValue.FiltrateAudio
InvalidParameterValue.FiltrateVideo
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 Invalid parameter: video frame rate.
InvalidParameterValue.FrameTagConfigure The control field parameter for intelligent frame-specific tagging is incorrect.
InvalidParameterValue.FunctionArg Incorrect parameter value: FunctionArg.
InvalidParameterValue.FunctionName Incorrect parameter value: FunctionName.
InvalidParameterValue.Height Invalid parameter: height.
InvalidParameterValue.HighlightConfigure Invalid intelligent highlight generating control parameter.
InvalidParameterValue.ImageContent Invalid ImageContent.
InvalidParameterValue.ImageDecodeError Failed to Base64-decode the image.
InvalidParameterValue.ImageTemplate Invalid parameter: image watermarking template.
InvalidParameterValue.InvalidOperationType Invalid OperationType.
InvalidParameterValue.Isps Invalid Isps.
InvalidParameterValue.KeyFrameDescContentTooLong Incorrect parameter value: the timestamp content is too long.
InvalidParameterValue.LabelSet Incorrect parameter value: the value of the LabelSet parameter is invalid.
InvalidParameterValue.Limit Invalid parameter: Limit.
InvalidParameterValue.LimitTooLarge Incorrect parameter value: Limit is too large.
InvalidParameterValue.MediaManifestContent Incorrect parameter value: MediaManifestContent.
InvalidParameterValue.MediaType Incorrect parameter value: media type.
InvalidParameterValue.MediaUrl Incorrect parameter value: media file URL.
InvalidParameterValue.Metric Invalid Metric.
InvalidParameterValue.ModifyDefaultTemplate Incorrect parameter value: the default template cannot be modified.
InvalidParameterValue.Name Incorrect parameter value: Name exceeds the length limit.
InvalidParameterValue.NamePrefixes Invalid filename prefix.
InvalidParameterValue.Names Too many elements in the Names array.
InvalidParameterValue.ObjectLibrary Incorrect parameter value: the value of the object library parameter is invalid.
InvalidParameterValue.Offset Incorrect parameter value: invalid Offset.
InvalidParameterValue.OffsetTooLarge Incorrect parameter value: Offset is too large.
InvalidParameterValue.Operation Incorrect parameter value: invalid Operation.
InvalidParameterValue.ParentId Incorrect parameter value: invalid ParentId
InvalidParameterValue.PicFormatError Incorrect parameter value: the face image format is incorrect.
InvalidParameterValue.ProcedureName The task flow template name is invalid.
InvalidParameterValue.Quality Incorrect parameter value: Quality.
InvalidParameterValue.RemoveAudio Incorrect parameter value: RemoveAudio.
InvalidParameterValue.RemoveVideo Incorrect parameter value: RemoveVideo.
InvalidParameterValue.RepeatType Invalid parameter: invalid RepeatType.
InvalidParameterValue.Resolution Invalid parameter: incorrect resolution.
InvalidParameterValue.ResolutionAdaptive Invalid ResolutionAdaptive.
InvalidParameterValue.ReviewConfidence Incorrect parameter value: the value of the ReviewConfidence parameter is invalid.
InvalidParameterValue.ReviewWallSwitch Incorrect parameter value: the value of the ReviewWallSwitch 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.ScreenshotInterval Incorrect parameter value: the value of the ScreenshotInterval parameter is invalid.
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.
InvalidParameterValue.Sort Incorrect parameter value: invalid Sort.
InvalidParameterValue.SoundSystem Incorrect parameter: audio channel system.
InvalidParameterValue.SourceDefinition Incorrect SourceDefinition. Please check whether the media file is bound with a transcoding template.
InvalidParameterValue.SourceType Incorrect parameter value: invalid SourceType.
InvalidParameterValue.SourceTypes Unknown media file source.
InvalidParameterValue.StartTime Incorrect parameter value: invalid StartTime.
InvalidParameterValue.StartTimeOffset Incorrect parameter: the start time is invalid.
InvalidParameterValue.Status Incorrect parameter value: the value of human confirmation result is invalid.
InvalidParameterValue.StorageRegion Incorrect parameter value: StorageRegion.
InvalidParameterValue.StorageRegions Invalid StorageRegions.
InvalidParameterValue.StorageType Incorrect parameter value: StorageType.
InvalidParameterValue.StreamIdInvalid Incorrect parameter value: invalid StreamId.
InvalidParameterValue.StreamIds Invalid stream ID.
InvalidParameterValue.SubAppId Incorrect parameter value: subapplication ID
InvalidParameterValue.SubtitleFormat Incorrect parameter value: the value of the SubtitleFormat parameter is invalid.
InvalidParameterValue.SvgTemplate Incorrect parameter value: SVG is empty.
InvalidParameterValue.SvgTemplateHeight Incorrect parameter value: SVG height.
InvalidParameterValue.SvgTemplateWidth Incorrect parameter value: SVG width.
InvalidParameterValue.Switch Incorrect parameter value: the value of the Switch parameter is invalid.
InvalidParameterValue.TEHDType Incorrect parameter value: TEHD Type is invalid.
InvalidParameterValue.TagConfigure The control field parameter for intelligent tagging is incorrect.
InvalidParameterValue.TagTooLong Incorrect parameter value: the tag is too long.
InvalidParameterValue.Tags Incorrect parameter value: invalid Tags.
InvalidParameterValue.TaskId The task ID does not exist.
InvalidParameterValue.Text Incorrect parameter value: search text.
InvalidParameterValue.TextAlpha Invalid parameter: text transparency.
InvalidParameterValue.TextTemplate Invalid parameter: text template.
InvalidParameterValue.TimeType Incorrect parameter value: TimeType.
InvalidParameterValue.Type Incorrect Type parameter value.
InvalidParameterValue.Types Invalid Types.
InvalidParameterValue.UniqueIdentifier The deduplication ID already exists on the same day. The request is removed due to duplication.
InvalidParameterValue.Url Incorrect parameter: the URL is invalid.
InvalidParameterValue.UserDefineLibraryLabelSet Incorrect parameter value: the custom face library filter tag is invalid.
InvalidParameterValue.Vcrf Incorrect vcrf.
InvalidParameterValue.VideoBitrate Invalid parameter: video stream bitrate.
InvalidParameterValue.VideoCodec Invalid parameter: video stream encoder.
InvalidParameterValue.Vids Invalid Vids.
InvalidParameterValue.VodSessionKey Incorrect parameter value: VOD session.
InvalidParameterValue.Width Invalid parameter: width.
InvalidParameterValue.XPos The horizontal position of the origin of the watermark relative to the origin of coordinates of the video. % and px formats are supported.
InvalidParameterValue.YPos The vertical position of the origin of the watermark relative to the origin of coordinates of the video. % and px formats are supported.
LimitExceeded.KeyFrameDescCountReachMax Limit exceeded: the total number of new and old timestamps exceeds the limit.
LimitExceeded.TagCountReachMax Limit exceeded: the total number of new and old tags exceeds the limit.
LimitExceeded.TooMuchTemplate Limit exceeded: the number of templates exceeds the limit.
ResourceNotFound.CoverUrl The resource does not exist: the cover does not exist.
ResourceNotFound.FileNotExist The resource does not exist: the file does not exist.
ResourceNotFound.Person The resource does not exist: figure.
ResourceNotFound.TemplateNotExist The resource does not exist: the template does not exist.
ResourceNotFound.UserNotExist The user does not exist.
ResourceNotFound.Word The resource does not exist: keyword.
ResourceUnavailable.MasterPlaylist Incorrect parameter: M3U8 of MasterPlaylist is not supported.
UnsupportedOperation.ClassNotEmpty Non-empty categories cannot be deleted.