Error Codes

Last updated: 2021-07-09 19:08:24

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
AuthFailure.NotEnterpriseAuthorization Not an organizational customer.
FailedOperation.AccountBalanceInsufficient Unable to create this connection: insufficient account balance.
FailedOperation.ActionIsDoing The operation is being performed. Do not perform it again.
FailedOperation.ActionOperateTooQuickly Too many attempts. Please try again later.
FailedOperation.BelongDifferentGroup Unable to operate in batches: the connections belong to different groups.
FailedOperation.CertificateIsUsing Unable to operate: the certificate is occupied.
FailedOperation.DeleteProxyGroupProxyRemained Unable to delete: the connection group contains groups.
FailedOperation.DomainAlreadyExisted The domain name is used by a listener.
FailedOperation.DomainStatusNotInRunning Operation unavailable: the domain name is not running.
FailedOperation.DuplicatedRequest Repeated request. Please check the value of ClientToken.
FailedOperation.GroupStatusNotInRuning Unable to operate: the connection group is not running.
FailedOperation.InstanceStatusNotInRuning Unable to operate: the connection is not running.
FailedOperation.InvalidListenerProtocol Invalid listener protocol.
FailedOperation.LimitNumofDomains Limit on the number of domain names exceeded.
FailedOperation.LimitNumofListener Limit on the number of listeners exceeded.
FailedOperation.LimitNumofProxiesInGroup The number of connections in the connection group exceeded the limit.
FailedOperation.LimitNumofRules Limit on the number of forwarding rules exceeded.
FailedOperation.LimitRealServerNum Limit on the number of bound origin servers exceeded.
FailedOperation.ListenerHasTask The listener is in operation. Do not repeat the operation.
FailedOperation.ListenerStatusError The listener does not support this operation in current status.
FailedOperation.NotSupportOldVersionProxy Only connections of Version 2.0 are supported.
FailedOperation.NotSupportProxyGroup This operation is not supported for connection groups.
FailedOperation.NotSupportScalar The configuration change is not supported.
FailedOperation.OperateLimitNumofListener Limit on the number of ports for a single operation exceeded.
FailedOperation.ProxySecurityAlreadyClose The security policy has been disabled. Do not repeat the operation.
FailedOperation.ProxySecurityAlreadyOpen The security policy has been enabled. Do not repeat the operation.
FailedOperation.ProxySecurityPolicyDefaultRule Failed to add the rule: default connection access rules cannot be denied.
FailedOperation.ProxySecurityPolicyDuplicatedRule Failed to add rules: repeated security protection access rules.
FailedOperation.ProxySecurityPolicyExisted The security policy already exists. Do not create it again.
FailedOperation.ProxySellOut The line is sold out or the resource is insufficient. Please submit a ticket.
FailedOperation.ProxyStatusNotInRuning Unable to add listeners: the connection is not running.
FailedOperation.ProxyVersionNotSupport This version of connection is not supported.
FailedOperation.RealServerAlreadyBound Failed to delete: it’s bound to an origin server.
FailedOperation.RealServerNotInProject The origin server do not belong to this project.
FailedOperation.ResourceCanNotAccess This resource is not accessible.
FailedOperation.ResourceUpgrading The resource is being upgraded.
FailedOperation.RuleAlreadyExisted Rule already exists.
FailedOperation.UserNotAuthenticated Unverified user.
InvalidParameterValue.DuplicateRS The RealServer already exists.
InvalidParameterValue.DuplicatedListenerPort Listener port already exists.
InvalidParameterValue.InvalidBandwidth The bandwidth value is not in the range.
InvalidParameterValue.InvalidCertificateContent Failed to resolve. Please check the format of certificate content.
InvalidParameterValue.InvalidCertificateId Certificate unavailable.
InvalidParameterValue.InvalidCertificateKey Failed to resolve. Please check the format of certificate key.
InvalidParameterValue.InvalidConcurrency The number of concurrences is not in the range.
InvalidParameterValue.InvalidListenerPort The listener port is not available.
InvalidParameterValue.InvalidTags The tag is not found or you have no access permission to it.
InvalidParameterValue.ProjectIdNotBelong The project does not belong to this user.
InvalidParameterValue.RealServerNotBelong The origin server does not belong to this user.
InvalidParameterValue.UnknownAccessRegion The acceleration region is not found or you have no access permission to it.
InvalidParameterValue.UnknownDestRegion The origin server region is not found or you have no access permission to it.