tencent cloud

文档反馈

Error Codes

最后更新时间:2023-12-04 16:38:22

    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.ActionReadTimeout Request timed out
    FailedOperation.CreateServiceError Failed to create the service.
    FailedOperation.DefaultInternalError The server is busy. Retry later.
    FailedOperation.DeleteServiceError Failed to delete the application
    FailedOperation.DescribeIngressListError Failed to query the ingress list
    FailedOperation.DescribeRunPodListError Failed to query the instance information
    FailedOperation.DescribeServiceError Failed to query the service.
    FailedOperation.DescribeServiceListError Failed to query the service list
    FailedOperation.UpdateIngressError Failed to update the ingress
    InternalError.ActionReadTimeout Request timed out
    InternalError.AddNewNodeError Exception occurs while adding the subnet/virtual node
    InternalError.CreateApmResourceError Failed to create the APM resource
    InternalError.CreateConfigDataError Failed to create the configuration.
    InternalError.CreateEksClusterError Failed to create the underlayer cluster
    InternalError.CreateLogConfigError Error while creating the LogConfig.
    InternalError.CreateServiceError Failed to create the service.
    InternalError.DefaultInternalError The server is busy. Retry later.
    InternalError.DeleteIngressError Failed to delete the ingress
    InternalError.DeleteLogConfigError Error while deleting the LogConfig.
    InternalError.DeleteServiceError Failed to delete the application
    InternalError.DeployVersionError Failed to invoke the version deployment
    InternalError.DescribeConfigDataError Failed to query the configuration details.
    InternalError.DescribeConfigDataListError Failed to query the configuration list.
    InternalError.DescribeIngressError Failed to query the ingress.
    InternalError.DescribeIngressListError Failed to query the ingress list
    InternalError.DescribeLogConfigError Error while querying the LogConfig.
    InternalError.DescribeLogConfigListError Error while querying the LogConfig list.
    InternalError.DescribeRunPodListError Failed to query the instance information
    InternalError.DescribeServiceError Failed to query the service.
    InternalError.DescribeServiceIngressError Failed to query the list of ingress associated with the service.
    InternalError.DescribeServiceListError Failed to query the service list
    InternalError.ModifyConfigDataError Failed to modify the configuration.
    InternalError.ModifyLogConfigError Error while modifying the LogConfig.
    InternalError.RestartApplicationError Failed to restart
    InternalError.StopApplicationError Failed to stop an application
    InternalError.TagInterfaceError Exception while calling the tag-related APIs.
    InternalError.UpdateIngressError Failed to update the ingress
    InvalidParameter.ApplicationAccessServiceReachMaximum Reached the upper limit of access policies for this application.
    InvalidParameter.LBServiceCannotSupportTcpUdpSameTime For an LB application, TCP and UDP cannot be both supported..
    InvalidParameter.MustProvidePortMappingRules The PortMapping rule is required.
    InvalidParameter.ServiceNameNotValid The application name is invalid.
    InvalidParameter.ServiceUseReserveSuffix The suffix of the application name is not allowed.
    InvalidParameter.TooManyPortMappingRules Reached the upper limit of PortMapping rules.
    InvalidParameter.UnauthorizedOrMissingRole Not authorized or role not configured
    InvalidParameter.VpcOverQuota Auto-creation failed because the VPC upper limit is reached.
    InvalidParameterValue.ApmNotBind The APM is not bound with the current environment.
    InvalidParameterValue.ApplicationAccessServiceReachMaximum Reached the upper limit of access policies for this application.
    InvalidParameterValue.ApplicationServiceAlreadyExist The access policy name already exists.
    InvalidParameterValue.ApplicationServiceNotFound The access policy does not exist.
    InvalidParameterValue.AtLeastOneScalerRuleShouldBeApplied Please enable at least one type of scaling rules.
    InvalidParameterValue.AutoScalerLargerThanOne Only one auto scaler can be specified.
    InvalidParameterValue.AutoScalerNameInvalid
    InvalidParameterValue.CannotOverWriteOtherApplicationService The access mode of other applications cannot be overwritten.
    InvalidParameterValue.CannotUpdateServiceByBothMethods Full update and single-entry update cannot be specified at the same time.
    InvalidParameterValue.ConfigDataAlreadyExist This configuration already exists.
    InvalidParameterValue.ConfigDataInvalid The configuration is incorrect.
    InvalidParameterValue.CreateNamespaceUnsupportRegionError
    InvalidParameterValue.CronHpaReplicasInvalid The specified desired capacity of the scheduled action is incorrect.
    InvalidParameterValue.DailyCreateNamespaceReachMaximum Reached the upper limit of environment created every day
    InvalidParameterValue.DisableScalerBeforeDelete There is an auto scaler in used. Please disable it first.
    InvalidParameterValue.EnvironmentNameImmutable The environment name cannot be changed.
    InvalidParameterValue.HpaMetricsInvalid The desired capacity of scaling is incorrect.
    InvalidParameterValue.HpaMinMaxInvalid The minimum or maximum number for auto scaling is invalid.
    InvalidParameterValue.HpaThresholdInvalid Invalid elastic scaling threshold
    InvalidParameterValue.IngressRewriteRequiredHttpsEnable To enable access configuration redirection, you need to enable HTTPS.
    InvalidParameterValue.InvalidCronScalerPeriod Invalid scheduled period
    InvalidParameterValue.InvalidDeployVersion The version number is invalid.
    InvalidParameterValue.InvalidEksServiceType The access type is not supported.
    InvalidParameterValue.InvalidEnvName Invalid environment parameter name. It must be a combination of [a-z], [A-Z], [0-9] and [._-]. It cannot start with a digit.
    InvalidParameterValue.InvalidEnvValue The length of environment variable cannot exceed 1,000.
    InvalidParameterValue.InvalidMountPath Invalid mounting path. It cannot be /app.
    InvalidParameterValue.InvalidServiceName Invalid application name
    InvalidParameterValue.InvalidTenantInfo Unable to identify the tenant information
    InvalidParameterValue.JdkVersionRequired The JDK version is required.
    InvalidParameterValue.LogConfigAlreadyExist The LogConfig already exists.
    InvalidParameterValue.MustProvidePortMappingRules The PortMapping rule is required.
    InvalidParameterValue.NamespaceDuplicateError The environment already exists.
    InvalidParameterValue.NamespaceNotBelongToAppid The namespace does not belong to the current account.
    InvalidParameterValue.NamespaceNotFound The environment does not exist.
    InvalidParameterValue.NamespaceReachMaximum Failed to create the environment. The upper limit of environment is reached.
    InvalidParameterValue.NamespaceResourceReachMaximum Failed to create the environment. The upper limit of environment is reached.
    InvalidParameterValue.OsNotSupport The operating system is not supported.
    InvalidParameterValue.PortDuplicateError The application port mapping already exists.
    InvalidParameterValue.PortIsReserved The application port is a reserved port.
    InvalidParameterValue.PostStartNotValid Invalid post start
    InvalidParameterValue.PreStopNotValid
    InvalidParameterValue.PublicRepoTypeParameterError Public image parameter error
    InvalidParameterValue.RegistryNotBind The registry is not associated with the current environment.
    InvalidParameterValue.ScalerNameDuplicated The auto scaler name already exists.
    InvalidParameterValue.ServiceFoundRunningVersion There are running pods in this application.
    InvalidParameterValue.ServiceLowerCase The application name must be in lowercase.
    InvalidParameterValue.ServiceNameDuplicateError This application name already exists.
    InvalidParameterValue.ServiceNotBelongToAppid You are not the owner of this application.
    InvalidParameterValue.ServicePodReachMaximum Failed to create the instance. The upper limit is reached.
    InvalidParameterValue.ServiceReachMaximum Failed to create the application. The upper limit is reached.
    InvalidParameterValue.ServiceUseReserveSuffix The suffix of the application name is not allowed.
    InvalidParameterValue.TcrEntInstanceNameNotValid The TCR Enterprise instance name is invalid.
    InvalidParameterValue.TemIdInvalid The TEM ID is incorrect.
    InvalidParameterValue.TraitsTracingNotSupported Linkage tracing is not available for non-JAVA applications.
    InvalidParameterValue.VersionLengthLimit The value of version cannot exceed 128 characters.
    InvalidParameterValue.VersionLowerCase The version must be in lower case.
    InvalidParameterValue.VersionRouteRateNotZero There is still traffic routed to this version.
    InvalidParameterValue.VpcInvalid Invalid VPC. It should be the same as the environment VPC.
    MissingParameter.AutoScalerNameNull The scaling rule name cannot be empty
    MissingParameter.DeployModeNull The deployment method is required.
    MissingParameter.DeployVersionNull The deployment version cannot be empty.
    MissingParameter.EnvironmentNameNull The environment name is required.
    MissingParameter.ImgRepoNull The image repository is required.
    MissingParameter.LogsetOrTopicNull The logset and topic are required.
    MissingParameter.MinMaxNumNull The minimum and maximum number for auto scaling are required.
    MissingParameter.NamespaceIdNull The environment ID can not be left empty.
    MissingParameter.PkgNameNull The package name cannot be left empty.
    MissingParameter.RepoServerNull
    MissingParameter.ScalerIdNull The scaling rule ID is missing.
    MissingParameter.ServiceIdNull The service ID cannot be empty.
    MissingParameter.SvcRepoNotReady The image repository is not ready.
    MissingParameter.TcrEntInstanceNameNull The TCR Enterprise instance name is required.
    MissingParameter.VpcServiceSubnetNull For intra-VPC acess, the subnet ID is required.
    OperationDenied.BalanceNotEnough Insufficient account balance.
    OperationDenied.ResourceIsolated There’re overdue payments under your account. Please make the payment first.
    ResourceInUse.EnvironmentAlreadyLocked The environment is locked.
    ResourceInUse.ResourceAlreadyLocked The specified resource is occupied by another operation. Please try again later.
    ResourceInUse.ResourceAlreadyUsed This resource is already bound.
    ResourceInUse.ServiceDeploying The application is being deployed.
    ResourceNotFound.ConfigDataNotFound Configuration does no exist
    ResourceNotFound.InterfaceNotFound This API is not available.
    ResourceNotFound.LogConfigNotFound The log configuration does not exist.
    ResourceNotFound.MicroserviceOffline The target microservice is offline.
    ResourceNotFound.NamespaceNotFound The environment does not exist.
    ResourceNotFound.ServiceNotFound The application is not found.
    ResourceNotFound.ServiceRunningVersionNotFound No running pod is found.
    ResourceNotFound.VersionNamespaceNotFound The environment corresponding to this version is not found.
    ResourceNotFound.VersionServiceNotFound The environment corresponding to this version is not found.
    ResourceUnavailable.ApplicationNotDeletable Failed to delete: The application is used by other resources.
    ResourceUnavailable.ApplicationStopped The application is stopped.
    ResourceUnavailable.WaitForKruise Waiting for the installation of addon
    UnauthorizedOperation.MissingEksLogRole TKE does not have the permission to access CLS. Please assign the permission first.
    UnauthorizedOperation.UnauthorizedOperation Not authorized
    UnsupportedOperation.UnsupportAction ACTION not supported