Error Codes

Last updated: 2020-03-27 18:45:46

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.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.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.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.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.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.Definition Invalid parameter: Definition.
InvalidParameterValue.Definitions Invalid parameter: Definitions.
InvalidParameterValue.DeleteDefaultTemplate Incorrect parameter value: the default template cannot be deleted.
InvalidParameterValue.DomainName Invalid parameter: the domain name does not exist.
InvalidParameterValue.DomainNames Parameter value. The domain name list is too large.
InvalidParameterValue.EndTime Incorrect parameter value: invalid EndTime.
InvalidParameterValue.ExpireTime Incorrect parameter value: incorrect ExpireTime format.
InvalidParameterValue.FileId The FileId does not exist.
InvalidParameterValue.FileIds Incorrect FileIds parameter.
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.ImageTemplate Invalid parameter: image watermarking template.
InvalidParameterValue.Limit Invalid parameter: Limit.
InvalidParameterValue.MediaType Incorrect parameter value: media type.
InvalidParameterValue.MediaUrl Incorrect parameter value: media file URL.
InvalidParameterValue.Name Incorrect parameter value: Name exceeds the length limit.
InvalidParameterValue.Names Too many elements in the Names array.
InvalidParameterValue.Offset Incorrect parameter value: invalid Offset.
InvalidParameterValue.Operation Incorrect parameter value: invalid Operation.
InvalidParameterValue.ParentId Incorrect parameter value: invalid ParentId
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.RowCount Incorrect parameter value: RowCount.
InvalidParameterValue.SampleInterval Incorrect parameter value: SampleInterval.
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.
InvalidParameterValue.Sort Incorrect parameter value: invalid Sort.
InvalidParameterValue.SourceType Incorrect parameter value: invalid SourceType.
InvalidParameterValue.StartTime Incorrect parameter value: invalid StartTime.
InvalidParameterValue.StorageType Incorrect parameter value: StorageType.
InvalidParameterValue.StreamIdInvalid Incorrect parameter value: invalid StreamId.
InvalidParameterValue.SubAppId Incorrect parameter value: subapplication ID
InvalidParameterValue.SvgTemplate Incorrect parameter value: SVG is empty.
InvalidParameterValue.SvgTemplateHeight Incorrect parameter value: SVG height.
InvalidParameterValue.SvgTemplateWidth Incorrect parameter value: SVG width.
InvalidParameterValue.TEHDType Incorrect parameter value: TEHD Type is invalid.
InvalidParameterValue.TagConfigure The control field parameter for intelligent tagging is incorrect.
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.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.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.TemplateNotExist The resource does not exist: the template does not exist.
ResourceNotFound.UserNotExist The user does not exist.

Was this page helpful?

Was this page helpful?

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