Error Codes

Last updated: 2021-04-07 19:23:47

    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.
    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.
    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.
    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.ApiGateway Failed to create the API gateway trigger.
    FailedOperation.Apigw Failed to create the trigger.
    FailedOperation.AsyncEventStatus This operation is not supported by the current async event status. Please try again later.
    FailedOperation.CopyFailed Failed to replicate the function.
    FailedOperation.CopyFunction Replication to this region is not supported.
    FailedOperation.Cos Failed to operate on the COS resources.
    FailedOperation.CreateAlias Failed to create the alias.
    FailedOperation.CreateFunction Operation failed.
    FailedOperation.CreateNamespace Failed to create the namespace.
    FailedOperation.CreateTrigger This operation is not supported in the current function state.
    FailedOperation.DebugModeStatus This operation cannot be performed in the current debugging status.
    FailedOperation.DebugModeUpdateTimeOutFail Execution timeout period cannot be updated in debug mode.
    FailedOperation.DeleteAlias Failed to delete the alias.
    FailedOperation.DeleteFunction This operation cannot be performed in the current function status. Please try again when the function is in normal status.
    FailedOperation.DeleteLayerVersion Failed to delete the layer version.
    FailedOperation.DeleteNamespace The default namespace cannot be deleted.
    FailedOperation.FunctionNameStatusError You cannot update code in the current function state. Please try again when the state is normal.
    FailedOperation.FunctionStatusError Operation failed. The function is deploying.
    FailedOperation.FunctionVersionStatusNotActive This operation cannot be performed in the current function version status. Please try again when the version is in normal status.
    FailedOperation.GetAlias Failed to get the alias information.
    FailedOperation.GetFunctionAddress Failed to get the function code address.
    FailedOperation.InsufficientBalance The current account or namespace is in arrears. Please try again when it becomes available.
    FailedOperation.InvokeFunction Failed to invoke the function.
    FailedOperation.Namespace The namespace already exists. Please do not create it again.
    FailedOperation.OpenService Failed to activate the service.
    FailedOperation.OperationConflict Operation conflict.
    FailedOperation.ProvisionedInProgress The function version already has a provisioned concurrency setting task in progress. Please try again later.
    FailedOperation.PublishLayerVersion Failed to publish the layer version.
    FailedOperation.PublishVersion You cannot publish a version in the current function state. Please try again when the state is normal.
    FailedOperation.QcsRoleNotFound The role does not exist.
    FailedOperation.ReservedInProgress The function already has a reserved concurrency setting task in progress. Please try again later.
    FailedOperation.TotalConcurrencyMemoryInProgress The user already has a concurrency quota setting task in progress. Please try again later.
    FailedOperation.UnOpenedService The specified service has not been activated. Please submit a ticket for activation.
    FailedOperation.UpdateAlias Failed to update the alias.
    FailedOperation.UpdateFunctionCode You cannot update code in the current function state. Please try again when the state is normal.
    FailedOperation.UpdateFunctionConfiguration The UpdateFunctionConfiguration operation failed.
    InternalError.ApiGateway Internal errors occurred during the creation of the apigw trigger.
    InternalError.Ckafka ckafka API failure.
    InternalError.Cmq Failed to delete the cmq trigger.
    InternalError.Cos Failed to update the trigger.
    InternalError.ES ES error.
    InternalError.Exception Internal service error
    InternalError.GetRoleError Internal service error.
    InternalError.System Internal system error.
    InvalidParameter.FunctionName The value of FunctionName does not conform to the specification. Please fix it and try again. For more information, please visit
    InvalidParameter.Payload Invalid request parameter.
    InvalidParameter.RoutingConfig Incorrect RoutingConfig parameter.
    InvalidParameterValue.Action The value of Action does not conform to the specification. Please fix it and try again. For more information, please visit
    InvalidParameterValue.AdditionalVersionWeights Incorrect AdditionalVersionWeights parameter.
    InvalidParameterValue.ApiGateway ApiGateway parameter error.
    InvalidParameterValue.AsyncTriggerConfig The parameter for async retry configuration of the function is invalid.
    InvalidParameterValue.Cdn Cdn error.
    InvalidParameterValue.CfsStructionError The CFS parameter format does not conform to the specification.
    InvalidParameterValue.Ckafka Ckafka error.
    InvalidParameterValue.Cls Cls error.
    InvalidParameterValue.Cmq Cmq error.
    InvalidParameterValue.Code Code error.
    InvalidParameterValue.CodeSecret CodeSecret error.
    InvalidParameterValue.CodeSource CodeSource error.
    InvalidParameterValue.CompatibleRuntimes Incorrect CompatibleRuntimes parameter.
    InvalidParameterValue.Content Incorrect Content parameter.
    InvalidParameterValue.Cos Cos error.