Error Codes

Last updated: 2020-07-03 09:58:57

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
AccountNotExist The current account does not exist.
FailedOperation.CamAuthFailed CAM authentication failed.
FailedOperation.CamCheckResourceFailed Failed to check resource permissions through CAM.
FailedOperation.CreateOrderFailed Failed to create the renewal order.
FailedOperation.GetPurchaseRecordFailed Failed to get the purchase record.
FailedOperation.InvalidTradeOperate Billing error. Corresponding purchase/renewal/configuration change operations are not allowed for the current instance.
FailedOperation.LimitOperation Operations are not allowed on the instance.
FailedOperation.OssOperationFailed Failed to request the backend API.
FailedOperation.PayOrderFailed Failed to make order payment.
FailedOperation.QueryDealFailed Failed to query the order information.
FailedOperation.QueryPriceFailed Failed to query the price.
FailedOperation.QueryVpcFailed Failed to query VPC.
FailedOperation.QueryVpcFalied Failed to get VPC details.
InternalError.CgwError CGW error.
InternalError.CnsError Basic network error.
InternalError.DBError Backend database execution error.
InternalError.DfwError DFW error.
InternalError.FlowError Failed to create the flow.
InternalError.SystemError System error. When this error occurs, please contact customer service for assistance.
InternalError.UnknownError Unknown error. When this error occurs, please contact customer service for assistance.
InternalError.VpcError VPC error.
InvalidAccountPassword Incorrect account password.
InvalidAccountStatus The current account status is incorrect, so the operation is not allowed.
InvalidInstanceStatus Incorrect instance status.
InvalidParameterValue.AccountExist The current account already exists.
InvalidParameterValue.AccountNotExist The current account does not exist.
InvalidParameterValue.BadSpec The instance specification to upgrade to is not purchasable.
InvalidParameterValue.IllegalChargeType Unsupported billing type.
InvalidParameterValue.IllegalInstanceChargeType Incorrect billing mode.
InvalidParameterValue.IllegalProjectId Invalid ProjectId.
InvalidParameterValue.IllegalRegion Invalid Region parameter.
InvalidParameterValue.IllegalZone Invalid Zone parameter.
InvalidParameterValue.InstanceNotExist The current instance does not exist.
InvalidParameterValue.InterfaceNameNotFound Incorrect ACTION.
InvalidParameterValue.InvalidAccountFormat Incorrect account format.
InvalidParameterValue.InvalidAccountName The current account name cannot be a reserved character.
InvalidParameterValue.InvalidCharset Incorrect database character set. Currently, only UTF8 and LATIN1 are supported.
InvalidParameterValue.InvalidInstanceNum The number of purchased instances exceeds the limit.
InvalidParameterValue.InvalidInstanceVolume The instance specification to upgrade to cannot be lower than the current instance specification.
InvalidParameterValue.InvalidOrderNum Billing error. Invalid order type ID.
InvalidParameterValue.InvalidPasswordFormat Incorrect password format.
InvalidParameterValue.InvalidPid Incorrect PID parameter.
InvalidParameterValue.NullDealNames Empty order name.
InvalidParameterValue.RegionNotSupported The current region is not supported.
InvalidParameterValue.StructParseFailed An error occurred while parsing parameters.
InvalidPid Incorrect PID parameter.
LimitOperation Operations are not allowed on the instance.
ResourceInsufficient.ResourceNotEnough There are not enough resources to purchase instances of this specification in the current region.
ResourceUnavailable.InvalidInstanceStatus Incorrect instance status.
ResourceUnavailable.ResourceNoPermission No permission for the VPC.
ResourceUnavailable.VpcResourceNotFound Failed to get the information of the VPC where the instance resides.
StructParseFailed An error occurred while parsing parameters.
SystemError System error. When this error occurs, please contact customer service for assistance.
UnauthorizedOperation.UserHasNoRealnameAuthentication Unverified user.
UnknownError Unknown error. When this error occurs, please contact customer service for assistance.

Was this page helpful?

Was this page helpful?

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