Error Codes

Last updated: 2020-09-17 17:55:36

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.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.InvalidVodUser The VOD service is not activated.
FailedOperation.MediaType Operation failed: unsupported media type.
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.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.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.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.DomainName Invalid parameter: the domain name does not exist.
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.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.ImageDecodeError Failed to Base64-decode the image.
InvalidParameterValue.ImageTemplate Invalid parameter: image watermarking template.
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.MediaManifestContent Incorrect parameter value: MediaManifestContent.
InvalidParameterValue.MediaType Incorrect parameter value: media type.
InvalidParameterValue.MediaUrl Incorrect parameter value: media file URL.
InvalidParameterValue.ModifyDefaultTemplate Incorrect parameter value: the default template cannot be modified.
InvalidParameterValue.Name Incorrect parameter value: Name exceeds the length limit.
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.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.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.SourceType Incorrect parameter value: invalid SourceType.
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.StorageType Incorrect parameter value: StorageType.
InvalidParameterValue.StreamIdInvalid Incorrect parameter value: invalid StreamId.
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.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.VideoBitrate Invalid parameter: video stream bitrate.
InvalidParameterValue.VideoCodec Invalid parameter: video stream encoder.
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.

Was this page helpful?

Was this page helpful?

  • Not at all
  • Not very helpful
  • Somewhat helpful
  • Very helpful
  • Extremely helpful
Send Feedback