tencent cloud

Feedback

Error Codes

Last updated: 2023-08-09 14:43:37

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.GlobalRegionUinLimitExceeded Uin 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
FailedOperation.CallTrade An exception occurred while calling the transaction service.
FailedOperation.CmqBackendError CMQ backend error.
FailedOperation.CreateCluster Failed to create the cluster.
FailedOperation.CreateEnvironment Failed to create the environment.
FailedOperation.CreateEnvironmentRole Failed to create the environment role.
FailedOperation.CreateNamespace Failed to create the namespace.
FailedOperation.CreateProducerError An error occurred while creating the producer.
FailedOperation.CreatePulsarClientError An error occurred while creating the TDMQ client.
FailedOperation.CreateRole Failed to create the role.
FailedOperation.CreateSecretKey Failed to create the key.
FailedOperation.CreateSubscription Failed to create the subscription.
FailedOperation.CreateTopic Failed to create the topic.
FailedOperation.DeleteCluster Failed to delete the cluster.
FailedOperation.DeleteEnvironmentRoles Failed to delete the environment role.
FailedOperation.DeleteEnvironments Failed to delete the environment.
FailedOperation.DeleteNamespace Failed to delete the namespace.
FailedOperation.DeleteRoles Failed to delete the role.
FailedOperation.DeleteSubscriptions Failed to delete the subscription.
FailedOperation.DeleteTopics Failed to delete the topic.
FailedOperation.DescribeSubscription Failed to query the subscription data.
FailedOperation.GetEnvironmentAttributesFailed Failed to get the environment attributes.
FailedOperation.GetTopicPartitionsFailed Failed to get the number of topic partitions.
FailedOperation.InstanceNotReady This instance is not ready. Please try again later.
FailedOperation.MaxMessageSizeError The message size exceeds the upper limit of 1 MB.
FailedOperation.MessageIDError The uploaded msgID is incorrect.
FailedOperation.NamespaceInUse You must clear the associated namespace before proceeding.
FailedOperation.ReceiveError An error occurred while receiving the message.
FailedOperation.ReceiveTimeout Message receiving timed out. Please try again.
FailedOperation.ResetMsgSubOffsetByTimestampFailed Failed to configure message rewind.
FailedOperation.RoleInUse You must clear the associated role data before proceeding.
FailedOperation.SaveSecretKey Failed to save the key.
FailedOperation.SendMessageTimeoutError Message sending timed out.
FailedOperation.SendMsgFailed Failed to send the message.
FailedOperation.SetRetentionPolicy Failed to set the message retention policy.
FailedOperation.SetTTL Failed to configure the message TTL.
FailedOperation.TopicInUse You must clear the associated topic data before proceeding.
FailedOperation.TopicTypeError Please use a partition topic.
FailedOperation.UpdateEnvironment Failed to update the environment.
FailedOperation.UpdateEnvironmentRole Failed to update the environment role.
FailedOperation.UpdateRole Failed to update the role.
FailedOperation.UpdateTopic Failed to update the topic.
FailedOperation.VpcInUse You must clear the associated VPC routing data before proceeding.
InternalError.BrokerService The broker service is exceptional.
InternalError.GetAttributesFailed Failed to get attributes.
InternalError.IllegalMessage Internal error.
InternalError.Retry You can try again.
InternalError.SystemError System error.
InvalidParameter.InvalidAdminUrl Invalid management API address
InvalidParameter.Partition Incorrect partition count.
InvalidParameter.TenantNotFound The uploaded tenant name is incorrect.
InvalidParameter.TokenNotFound The correct token was not obtained.
InvalidParameterValue.AtLeastOne
InvalidParameterValue.ClusterNameDuplication The cluster name already exists.
InvalidParameterValue.InvalidParams The parameter value is out of the value range.
InvalidParameterValue.NeedMoreParams A required parameter is missing.
InvalidParameterValue.TTL The message TTL value is invalid.
InvalidParameterValue.TopicNotFound The uploaded topic name is incorrect.
LimitExceeded.Clusters The number of clusters under the instance exceeds the limit.
LimitExceeded.Environments The number of environments under the instance exceeds the limit.
LimitExceeded.Namespaces The number of namespaces under the instance exceeds the limit.
LimitExceeded.RetentionSize The remaining quota has been exceeded. Please enter a valid value.
LimitExceeded.RetentionTime The message retention period limit has been exceeded. Please enter a valid value.
LimitExceeded.Subscriptions The number of subscribers under the instance exceeds the limit.
LimitExceeded.Topics The number of topics under the instance exceeds the limit.
MissingParameter.NeedMoreParams A required parameter is missing.
OperationDenied.ConsumerRunning Messages in the subscribed topic are being consumed.
OperationDenied.DefaultEnvironment Operations on the default environment are not allowed.
ResourceInUse.Cluster The cluster already exists.
ResourceInUse.EnvironmentRole The environment role already exists.
ResourceInUse.Namespace A namespace with the same name already exists.
ResourceInUse.Queue The queue already exists.
ResourceInUse.Role The role already exists.
ResourceInUse.Subscription A subscription with the same name already exists.
ResourceInUse.Topic A topic with the same name already exists.
ResourceNotFound.BrokerCluster The service cluster does not exist.
ResourceNotFound.Cluster The cluster does not exist.
ResourceNotFound.Environment The environment does not exist.
ResourceNotFound.EnvironmentRole The environment role does not exist.
ResourceNotFound.Instance The instance doesn’t exist.
ResourceNotFound.Namespace The namespace does not exist.
ResourceNotFound.Role The role does not exist.
ResourceNotFound.Subscription The subscription does not exist.
ResourceNotFound.Topic The topic does not exist.
ResourceUnavailable.CreateFailed Assignment exception.
ResourceUnavailable.FundRequired You must top up before proceeding.
ResourceUnavailable.SystemUpgrade The system is being upgraded.
ResourcesSoldOut The resources have been sold out.
UnsupportedOperation.InstanceDowngrade The instance does not support configuration downgrade.
Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

7x24 Phone Support