Error Codes

Last updated: 2020-05-15 11:47:34

    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
    FailedOperation.DuplicateOrderNotAllowed Duplicate order. Please check the EMR console.
    InternalError.AccountCgwError An error occurred when calling other service API.
    InternalError.CamCgwError An error occurred when calling other service API.
    InternalError.CamError An error occurred when calling other service API.
    InternalError.CbsCgwError An error occurred when calling other service API.
    InternalError.CbsError An error occurred when calling other service API.
    InternalError.CdbCgwError An error occurred when calling other service API.
    InternalError.CdbError An error occurred when calling other service API.
    InternalError.CheckQuotaErr CVM or CBS resources are insufficient or software is invalid.
    InternalError.ConfigCgwError An error occurred when calling other service API.
    InternalError.CvmError An error occurred when calling other service API.
    InternalError.KmsError An error occurred when calling other service API.
    InternalError.ProjectCgwError An error occurred when calling other service API.
    InternalError.SgError An error occurred when calling security group API.
    InternalError.TagError An error occurred when calling other service API.
    InternalError.TradeCgwError An error occurred when calling other service API.
    InternalError.VpcCgwError An error occurred when calling other service API.
    InternalError.VpcError An error occurred when calling other service API.
    InternalError.WoodServerError An error occurred when calling the Woodpecker server.
    InvalidParameter.DisplayStrategyNotMatch Incorrect display policy.
    InvalidParameter.IncorrectCommonCount The number of common nodes is invalid.
    InvalidParameter.IncorrectMasterCount The number of master nodes is invalid.
    InvalidParameter.InvaildCoreCount The number of core nodes cannot exceed 20.
    InvalidParameter.InvalidAppId Invalid AppId.
    InvalidParameter.InvalidAutoRenew Invalid auto-renewal flag.
    InvalidParameter.InvalidClientToken Invalid ClientToken.
    InvalidParameter.InvalidClusterId Invalid parameter: ClusterId.
    InvalidParameter.InvalidComponent Invalid component.
    InvalidParameter.InvalidCoreCount The number of core nodes is invalid.
    InvalidParameter.InvalidCount The number of nodes for scale-out must be greater than 0.
    InvalidParameter.InvalidCountNum An individual scale-out request only applies to task nodes or core nodes.
    InvalidParameter.InvalidInstanceName Invalid cluster name.
    InvalidParameter.InvalidLoginSetting Invalid login settings.
    InvalidParameter.InvalidModifySpec Invalid target specification.
    InvalidParameter.InvalidNodeType Invalid NodeType.
    InvalidParameter.InvalidPassword Invalid password.
    InvalidParameter.InvalidPaymode Invalid billing mode.
    InvalidParameter.InvalidPreExecutedFile Invalid bootstrap script.
    InvalidParameter.InvalidProductId Invalid product ID.
    InvalidParameter.InvalidProjectId Invalid project ID.
    InvalidParameter.InvalidResourceIds Invalid resource ID.
    InvalidParameter.InvalidResourceSpec Invalid resource specification.
    InvalidParameter.InvalidSercurityGrpupId Invalid security group ID.
    InvalidParameter.InvalidServiceNodeInfo The ServiceNodeInfo parameter is invalid or incorrect.
    InvalidParameter.InvalidSoftDeployInfo The InvalidSoftDeployInfo parameter is invalid or incorrect.
    InvalidParameter.InvalidSoftInfo Invalid SoftInfo.
    InvalidParameter.InvalidSubnetId Invalid subnet ID.
    InvalidParameter.InvalidSupportHA Invalid high availability parameter.
    InvalidParameter.InvalidTaskCount The number of task nodes cannot exceed 20
    InvalidParameter.InvalidTimeSpan Invalid timespan.
    InvalidParameter.InvalidTimeUnit Invalid TimeUnit.
    InvalidParameter.InvalidVpcId Invalid VPC ID.
    InvalidParameter.InvalidZone Invalid AZ.
    InvalidParameter.OrderFieldNotMatch Invalid sorting field.
    InvalidParameter.PayModeResourceNotMatch The billing mode and resource do not match.
    InvalidParameter.ProjectResourceNotMatch The project does not match the resource.
    InvalidParameter.SoftwareNotInProduct There is an invalid product component.
    InvalidParameter.ZoneResourceNotMatch The AZ and resource do not match.
    ResourceInUse.InstanceInProcess The instance is under workflow.
    ResourceInsufficient.DiskInsufficient The disk specification is insufficient.
    ResourceInsufficient.InstanceInsufficient The node specification is unsupported or has been sold out.
    ResourceNotFound.ClusterNotFound The instance was not found.
    ResourceNotFound.HardwareInfoNotFound No hardware information found.
    ResourceNotFound.InstanceNotFound The instance was not found.
    ResourceNotFound.ResourceNotFound The resource was not found.
    ResourceNotFound.SubnetNotFound No corresponding subnet found.
    ResourceNotFound.TagsNotFound No specified tag found.
    ResourcesSoldOut. The resources have been sold out.
    ResourcesSoldOut.CbsSoldOut The CBS resources have been sold out.
    ResourcesSoldOut.CvmSoldOut CVM instances have been sold out.

    Was this page helpful?

    Was this page helpful?

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