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 | 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. |
| Error Code | Description |
|---|---|
| FailedOperation.CallTrade | An exception occurred while calling the transaction service. |
| FailedOperation.CloudService | Third-Party cloud service exception. try again later. |
| 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.CreateProClusterRegionNotExist | Region not supported for sdk creation. |
| 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 | Key creation failed. |
| FailedOperation.CreateSubscription | Failed to create the subscription. |
| FailedOperation.CreateTopic | Failed to create the topic. |
| FailedOperation.DeleteCluster | Failed to delete the cluster. |
| FailedOperation.DeleteClusterProtection | Cluster deletion protection is enabled. 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.GenerateDealsAndPayError | Parameters are abnormal. ordering failed. |
| FailedOperation.GetEnvironmentAttributesFailed | Failed to get the environment attributes. |
| FailedOperation.GetTopicPartitionsFailed | Failed to get the number of topic partitions. |
| FailedOperation.InstanceCanNotDelete | The instance has enabled deletion protection. if needed, disable deletion protection to delete. |
| FailedOperation.InstanceNotReady | This instance is not ready. Please try again later. |
| FailedOperation.InvalidExistPublicAccessPointError | Existing public network modification is not allowed. |
| FailedOperation.InvalidWhiteListError | Invalid parameters. |
| FailedOperation.IsolateConsumerEnable | Settings not supported for this parameter in the current cluster. |
| FailedOperation.MaxMessageSizeError | The message size exceeds the upper limit of 1 MB. |
| FailedOperation.MessageIDError | The uploaded msgID is incorrect. |
| FailedOperation.ModifyCluster | Failed to modify the cluster. |
| FailedOperation.NamespaceInUse | You must clear the associated namespace before proceeding. |
| FailedOperation.OnlineRefundResourceNotExit | Resource not found. |
| FailedOperation.OperateLater | Task in progress. please try again later. |
| FailedOperation.ProductNotExist | Product information not found. |
| FailedOperation.ReceiveError | An error occurred while receiving the message. |
| FailedOperation.ReceiveTimeout | Message receiving timed out. Please try again. |
| FailedOperation.ReplicationDestCheckFailedError | Cross-Region replication validation failed. |
| FailedOperation.ReplicationSourceCheckFailedError | Cross-Region replication verification failed. |
| FailedOperation.ResetMsgSubOffsetByTimestampFailed | Failed to configure message rewind. |
| FailedOperation.RoleInUse | You must clear the associated role data before proceeding. |
| FailedOperation.SaveSecretKey | Save key failed. |
| FailedOperation.SendMessageTimeoutError | Message sending timed out. |
| FailedOperation.SendMsg | Failed to send message. |
| 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.FailedOperation | Operation failed. |
| 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. |
| InvalidParameter.Vpc | Invalid vpc information or subnet info. |
| InvalidParameterValue.AckTime | AckTime parameter error. |
| InvalidParameterValue.AtLeastOne | At least one parameter needs to be provided. |
| 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.MsgTime | Message trace query time period is too long. |
| 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. |
| MissingParameter.Tag | Tag information 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.Msg | Specified message not found. |
| ResourceNotFound.MsgProduceLog | Message production log does not exist. |
| ResourceNotFound.Namespace | The namespace does not exist. |
| ResourceNotFound.Namspace | 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. |
| UnknownParameter.Policy | Policy parameter error. |
| UnsupportedOperation.InstanceDowngrade | The instance does not support configuration downgrade. |
| UnsupportedOperation.TopicUnack | Unack operation is not supported in the current cluster. |
文档反馈