Error Codes

Last updated: 2020-02-19 09:20:39

    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
    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.
    LimitExceeded Quota limit exceeded.
    MissingParameter A parameter is missing.
    NoSuchVersion The API version does not exist.
    RequestLimitExceeded The number of requests exceeds the frequency limit.
    ResourceInUse Resource is in use.
    ResourceInsufficient Insufficient resource.
    ResourceNotFound The resource does not exist.
    ResourceUnavailable Resource is unavailable.
    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
    AuthFailure.UnauthorizedOperation Unauthorized operation by CAM.
    FailedOperation Operation failed.
    FailedOperation.MountTargetExists There are mount targets on the file system.
    FailedOperation.PgroupInUse The permission group has been bound to a file system.
    FailedOperation.PgroupIsUpdating The permission group is being updated.
    InternalError Internal error.
    InternalError.CreateFsFailed Failed to create the file system.
    InternalError.GetAccountStatusFailed Failed to get the payment status of the user.
    InvalidParameter Invalid parameter.
    InvalidParameterValue.DuplicatedPgroupName The permission group name already exists.
    InvalidParameterValue.DuplicatedRuleAuthClientIp The rule IP already exists.
    InvalidParameterValue.FsNameLimitExceeded The length of the custom file system name exceeds the limit (64 bytes).
    InvalidParameterValue.FsSizeLimitExceeded The file system quota exceeds the upper limit.
    InvalidParameterValue.InvalidAuthClientIp Incorrect rule IP.
    InvalidParameterValue.InvalidEncrypted Invalid encryption parameter.
    InvalidParameterValue.InvalidFileSystemId FileSystemId is invalid.
    InvalidParameterValue.InvalidFsName Invalid custom name.
    InvalidParameterValue.InvalidFsSizeLimit Invalid file system quota.
    InvalidParameterValue.InvalidFsStatus Invalid file system status.
    InvalidParameterValue.InvalidMountTargetIp Incorrect mount target IP.
    InvalidParameterValue.InvalidNetInterface Invalid network type.
    InvalidParameterValue.InvalidPgroup The permission group is not under this user.
    InvalidParameterValue.InvalidPgroupId Invalid permission group ID.
    InvalidParameterValue.InvalidPgroupName Invalid permission group name.
    InvalidParameterValue.InvalidPriority Incorrect priority settings.
    InvalidParameterValue.InvalidProtocol Invalid protocol parameter.
    InvalidParameterValue.InvalidRegionZoneInfo Either ZoneName or ZoneId, Region must be selected.
    InvalidParameterValue.InvalidRwPermission Incorrect read/write permission settings.
    InvalidParameterValue.InvalidStorageType Invalid storage class parameter.
    InvalidParameterValue.InvalidSubnetId Invalid subnet ID.
    InvalidParameterValue.InvalidUserPermission Incorrect user permission settings.
    InvalidParameterValue.InvalidVip The specified VIP is unavailable.
    InvalidParameterValue.InvalidVpcId Invalid VPCID.
    InvalidParameterValue.InvalidVpcParameter Invalid VPC parameter.
    InvalidParameterValue.InvalidZoneId Invalid AZ.
    InvalidParameterValue.InvalidZoneOrZoneId Invalid AZ or AZ ID.
    InvalidParameterValue.MissingFileSystemId FileSystemId is missing.
    InvalidParameterValue.MissingFileSystemIdOrRegion Either FileSystemId or Region must be selected.
    InvalidParameterValue.MissingFsParameter FileSystem is missing.
    InvalidParameterValue.MissingKmsKeyId Key ID or ARN is missing.
    InvalidParameterValue.MissingNameOrDescinfo The permission group name and description cannot both be empty.
    InvalidParameterValue.MissingPgroupName The permission group name cannot be empty.
    InvalidParameterValue.MissingStorageResourcePkg No storage pack is bound to.
    InvalidParameterValue.MissingSubnetidOrUnsubnetid SUBNETID and UNSUBNETID cannot both be empty.
    InvalidParameterValue.MissingVpcParameter A VPC parameter is missing.
    InvalidParameterValue.MissingVpcidOrUnvpcid VPCID and UNVPCID cannot both be empty.
    InvalidParameterValue.MissingZoneId ZoneID is missing.
    InvalidParameterValue.MissingZoneOrZoneId Either Zone or Zone_id must be selected.
    InvalidParameterValue.PgroupDescinfoLimitExceeded The length of the permission group description exceeds the limit (255 bytes).
    InvalidParameterValue.PgroupNameLimitExceeded The length of the permission group name exceeds the limit (64 bytes).
    InvalidParameterValue.RuleNotMatchPgroup The permission group rule and permission group do not match.
    InvalidParameterValue.UnavailableRegion Services are unavailable in this AZ.
    InvalidParameterValue.UnavailableZone Services are unavailable in this region.
    InvalidParameterValue.ZoneIdRegionNotMatch ZoneId and Region do not match.
    ResourceInsufficient.FileSystemLimitExceeded The number of file systems has reached the upper limit.
    ResourceInsufficient.PgroupNumberLimitExceeded The number of permission groups has reached the upper limit.
    ResourceInsufficient.RegionSoldOut Resources in the region have been sold out.
    ResourceInsufficient.RuleLimitExceeded The number of rules exceeds the upper limit.
    ResourceInsufficient.SubnetIpAllOccupied There is no IP available in this subnet.
    ResourceNotFound The resource does not exist.
    ResourceNotFound.FileSystemNotFound The file system does not exist.
    ResourceNotFound.MountTargetNotFound The mount target does not exist.
    ResourceNotFound.PgroupNotFound The permission group does not exist.
    ResourceNotFound.RuleNotFound The permission rule does not exist.
    UnsupportedOperation Unsupported operation.
    UnsupportedOperation.BasicNetInterfaceNotSupported This AZ does not support the basic network.
    UnsupportedOperation.OutOfService Your account is in arrears. Please top up and try again.
    UnsupportedOperation.UnverifiedUser Unverified user.

    Was this page helpful?

    Was this page helpful?

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