Error Codes

Last updated: 2021-03-19 16:45:26

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
FailedOperation.CdnConfigError Failed to update the domain name configuration. Please try again or contact customer service.
InternalError.CamSystemError Authentication system internal error.
InternalError.CdnConfigError Failed to update the domain name configuration.
InternalError.CdnDbError Internal data error. Please submit a ticket for troubleshooting.
InternalError.CdnQueryParamError Internal error. Please try again or contact the customer service for assistance.
InternalError.CdnQuerySystemError Internal error. Please try again or contact the customer service for assistance.
InternalError.CdnSystemError System error. Please submit a ticket for troubleshooting.
InternalError.ClsInternalError CLS internal error.
InternalError.CostDataSystemError Internal error. Please try again or contact the customer service for assistance.
InternalError.DataSystemError Error with the data query. Please submit a ticket for troubleshooting.
InternalError.Error Service internal error. Please submit a ticket for troubleshooting.
InternalError.InvalidErrorCode Service internal error. Please submit a ticket for troubleshooting.
InternalError.ScdnUserNoPackage The SCDN service is not activated. Please purchase or renew an SCDN packet and try again.
InternalError.ScdnUserSuspend Your SCDN service is suspended. Please purchase a new SCDN packet.
InternalError.TagSystemError Internal error. Please try again or contact the customer service for assistance.
InvalidParameter.CDNStatusInvalidDomain Invalid domain name status.
InvalidParameter.CamResourceBelongToDifferentUser Inconsistent resource AppID.
InvalidParameter.CamResourceSixStageError Incorrect six-segment resource parameter.
InvalidParameter.CamTagKeyAlreadyAttached The domain name has already been associated with this tag.
InvalidParameter.CamTagKeyIllegal Invalid tag key character.
InvalidParameter.CamTagKeyNotExist The tag key does not exist.
InvalidParameter.CamTagValueIllegal Invalid tag value character
InvalidParameter.CdnCertInfoNotFound The certificate information is invalid or does not exist. Please check and try again.
InvalidParameter.CdnCertNoCertInfo Invalid certificate. Please check and try again.
InvalidParameter.CdnCertNotPem Invalid HTTPS certificate.
InvalidParameter.CdnClsDuplicateTopic A duplicate topic already exists.
InvalidParameter.CdnClsTopicNameInvalid Invalid topic name.
InvalidParameter.CdnClsTopicNotExist The CLS topic does not exist.
InvalidParameter.CdnConfigInvalidCache Invalid cache configuration. Please check and try again.
InvalidParameter.CdnConfigInvalidHost The domain name is invalid.
InvalidParameter.CdnConfigInvalidTag Invalid tag configuration
InvalidParameter.CdnConfigTagRequired Failed to add the domain name. You must select a tag for the current domain name. Please check and try again.
InvalidParameter.CdnHostHasSpecialConfig The domain name is configured with special configurations, please submit a ticket.
InvalidParameter.CdnHostInternalHost Internal domain names cannot be connected.
InvalidParameter.CdnHostInvalidMiddleConfig Incorrect intermediate server configuration.
InvalidParameter.CdnHostInvalidParam Invalid domain name format. Please check and try again.
InvalidParameter.CdnHostInvalidStatus Invalid domain name status.
InvalidParameter.CdnInterfaceError Internal API error. Please submit a ticket for troubleshooting.
InvalidParameter.CdnInvalidParamInterval The parameter “Interval” is wrong. Please check and try again.
InvalidParameter.CdnInvalidParamMetric The parameter “Metric” is wrong. Please check and try again.
InvalidParameter.CdnInvalidParamServiceType The field “ServiceType” is invalid. Please check and try again.
InvalidParameter.CdnKeyRulesInvalidQueryStringValue The field “QueryString” is invalid. Please check and try again.
InvalidParameter.CdnParamError Parameter error. Please see the sample parameters in the documentation.
InvalidParameter.CdnPurgeWildcardNotAllowed Cache purge does not support wildcard domain names.
InvalidParameter.CdnPushWildcardNotAllowed Prefetch does not support wildcard domain names.
InvalidParameter.CdnStatInvalidDate Invalid date. Please see the sample date in the documentation.
InvalidParameter.CdnStatInvalidFilter Invalid statistical dimension. Please see the sample statistical analysis in the documentation.
InvalidParameter.CdnStatInvalidMetric Invalid statistical type. Please see the sample statistical analysis in the documentation.
InvalidParameter.CdnStatInvalidProjectId Incorrect project ID. Please check and try again.
InvalidParameter.CdnStatTooManyDomains The number of queried domain names reached the limit.
InvalidParameter.CdnUrlExceedLength The URL exceeds the length limit.
InvalidParameter.ClsIndexConflict Index conflict.
InvalidParameter.ClsIndexRuleEmpty The index rule is empty.
InvalidParameter.ClsInvalidContent Invalid content.
InvalidParameter.ClsInvalidContentType Invalid Content-Type.
InvalidParameter.ClsInvalidParam Parameter error. Please check and try again.
InvalidParameter.ClsLogsetConflict Logset conflict.
InvalidParameter.ClsLogsetEmpty The logset is empty.
InvalidParameter.ClsLogsetNotEmpty The logset is not empty.
InvalidParameter.ClsMissingAuthorization No authorization information.
InvalidParameter.ClsMissingContent Lost content.
InvalidParameter.ClsSyntaxError Syntax error.
InvalidParameter.ClsTopicClosed The topic has been closed.
InvalidParameter.ClsTopicConflict Topic conflict.
InvalidParameter.EcdnInterfaceError API internal error. Please try again or contact the customer service for assistance.
InvalidParameter.ScdnLogTaskExpired Unable to recreate: the task has expired.
InvalidParameter.ScdnLogTaskNotFoundOrNotFail The task does not exist or was not failed.
InvalidParameter.ScdnLogTaskTimeRangeInvalid Incorrect time range
LimitExceeded.CamResourceArrayTooLong The number of resource arrays exceeds the upper limit.
LimitExceeded.CamResourceTooManyTagKey The number of tag keys exceeds the upper limit. Each resource can have up to 50 tag keys.
LimitExceeded.CamTagKeyTooLong The tag key length exceeds the upper limit.
LimitExceeded.CamTagKeyTooManyTagValue The number of tag values exceeds the upper limit. Each tag key can have up to 1,000 tag values.
LimitExceeded.CamUserTooManyTagKey The number of keys exceeds the upper limit. Each user can have up to 1,000 different keys.
LimitExceeded.CdnCallingQueryIpTooOften Too frequent queries on IP ownership.
LimitExceeded.CdnClsTooManyTopics This account has created too many topics.
LimitExceeded.CdnHostOpTooOften Domain name operations are too frequent.
LimitExceeded.CdnPurgePathExceedBatchLimit The number of directories to be purged exceeds the limit.
LimitExceeded.CdnPurgePathExceedDayLimit The number of directories to be purged exceeds the daily limit.
LimitExceeded.CdnPurgeUrlExceedBatchLimit The number of URLs to be purged exceeds the limit.
LimitExceeded.CdnPurgeUrlExceedDayLimit The number of URLs to be purged exceeds the daily limit.
LimitExceeded.CdnPushExceedBatchLimit The number of URLs to be prefetched at a time exceeds the limit.
LimitExceeded.CdnPushExceedDayLimit The number of URLs to be prefetched exceeds the daily limit.
LimitExceeded.CdnQueryIpBatchTooMany The number of IPs to be queried exceeds the limit.
LimitExceeded.CdnUserTooManyHosts The number of connected domain names has exceeded the upper limit.
LimitExceeded.ClsLogSizeExceed The log size exceeds the limit.
LimitExceeded.ClsLogsetExceed The number of logsets exceeds the limit.
LimitExceeded.ClsTopicExceed The number of topics exceeds the limit.
LimitExceeded.ScdnLogTaskExceedDayLimit Daily task quota exceeded
ResourceInUse.CdnConflictHostExists The domain name conflicts with an existing domain name in the system.
ResourceInUse.CdnHostExists Domain name already exists.
ResourceInUse.CdnOpInProgress CDN resources are being operated.
ResourceNotFound.CamTagKeyNotExist The tag key does not exist.
ResourceNotFound.CamTagNotExist The tag does not exist.
ResourceNotFound.CdnHostNotExists This domain name does not exist under the account. Please check and try again.
ResourceNotFound.CdnProjectNotExists The project does not exist. Please check and try again.
ResourceNotFound.CdnUserNotExists The CDN service has not been activated. Please activate it first before using this API.
ResourceNotFound.CdnUserTooManyHosts The number of accessed domain names reached the limit.
ResourceNotFound.ClsIndexNotExist The index does not exist.
ResourceNotFound.ClsLogsetNotExist The logset does not exist.
ResourceNotFound.ClsTopicNotExist The topic does not exist.
ResourceNotFound.EcdnDomainNotExists The domain name does not exist. Please check and try again.
ResourceUnavailable.CdnHostBelongsToOthersInMainland The domain name has been connected to Chinese mainland service region. If you need to switch the service region to "Global", please verify its ownership for domain name retrieval.
ResourceUnavailable.CdnHostBelongsToOthersInOverseas The domain name has been connected to the service region outside Chinese mainland. If you need to switch the service region to "Global", please verify its ownership for domain name retrieval.
ResourceUnavailable.CdnHostExistsInDsa The DSA feature is already enabled for the domain name.
ResourceUnavailable.CdnHostExistsInTcb The domain name has been connected in the TCB console.
ResourceUnavailable.CdnHostIsLocked The domain name is locked.
ResourceUnavailable.CdnHostIsNotOffline Domain name is still in use.
ResourceUnavailable.CdnHostIsNotOnline The domain name has been deactivated. Prefetch requests cannot be submitted.
ResourceUnavailable.CdnHostNoIcp The domain name does not have an ICP filing.
UnauthorizedOperation.CdnAccountUnauthorized The sub-account is unauthorized to query full data.
UnauthorizedOperation.CdnCamUnauthorized No CAM policy is configured for the sub-account.
UnauthorizedOperation.CdnClsNotRegistered This account is not authorized to activate CLS.
UnauthorizedOperation.CdnDomainRecordNotVerified The domain name has not been verified.
UnauthorizedOperation.CdnHostExistsInInternal The domain name already exists in the system. Please submit a ticket.
UnauthorizedOperation.CdnHostIsOwnedByOther This domain name belongs to another account, and you do not have permission to connect it.
UnauthorizedOperation.CdnHostIsUsedByOther The domain name has been connected by another account. For more information, please submit a ticket.
UnauthorizedOperation.CdnHostUnauthorized The sub-account has no access to the CDN-accelerated domain name.
UnauthorizedOperation.CdnProjectUnauthorized The sub-account has no access to the project.
UnauthorizedOperation.CdnTagUnauthorized The sub-account has no access to the tag.
UnauthorizedOperation.CdnUserAuthFail Fail to authenticate the CDN user.
UnauthorizedOperation.CdnUserAuthWait The CDN user is pending authentication.
UnauthorizedOperation.CdnUserInvalidCredential Service internal error. Please submit a ticket for troubleshooting.
UnauthorizedOperation.CdnUserIsIsolated The account has been isolated due to overdue payment. Please pay the bill and try again.
UnauthorizedOperation.CdnUserIsSuspended The CDN service has been suspended. Please restart it and try again.
UnauthorizedOperation.CdnUserNoWhitelist You are not in the beta whitelist and thus have no permission to use this function.
UnauthorizedOperation.ClsInvalidAuthorization Invalid authorization.
UnauthorizedOperation.ClsServiceNotActivated You have not activated CLS service. Please activate it in the CLS console first.
UnauthorizedOperation.ClsUnauthorized Authorization failed.
UnauthorizedOperation.CsrfError Service internal error. Please submit a ticket for troubleshooting.
UnauthorizedOperation.OpNoAuth This operation is not supported currently. Please submit a ticket for assistance.
UnauthorizedOperation.OperationTooOften Too many calling attempts.
UnsupportedOperation.ClsNotAllowed The operation is not allowed.
UnsupportedOperation.OpNoAuth This operation is not supported currently. Please submit a ticket for assistance.

Was this page helpful?