Error Codes

Last updated: 2021-04-06 14:12:07

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
AuthFailure CAM signature/authentication error
FailedOperation.FrequencySamePlayerLimited Frequency limit. The interval between the player's repeated request for matchmaking shall not be less than 100 ms.
FailedOperation.LimitMatchCount The number of the created matches exceeds the limit.
FailedOperation.LimitRuleCount The number of the created rules exceeds the limit.
FailedOperation.ServiceUnavailable System error. If you cannot solve the problem, please submit a ticket.
FailedOperation.TagsOpeartionFailed The tagging operation failed
InvalidParameterValue.InvalidRuleScript Incorrect rule script
InvalidParameterValue.MatchCodeNotFound MatchCode does not exist.
InvalidParameterValue.MatchFeildValueLimit The length of field value exceeds the limit.
InvalidParameterValue.MatchInvalidCharacters Field contains invalid characters.
InvalidParameterValue.MatchNotFound The matchmaking does not exist.
InvalidParameterValue.MatchPlayersLimit The number of players exceeds the limit.
InvalidParameterValue.MatchPlayersRepeated The player ID already exists.
InvalidParameterValue.MatchStatusNotPermitCancel The matchmaking cannot be canceled under the current status.
InvalidParameterValue.MatchTicketIdNotFound The MatchTicket ID does not exist.
InvalidParameterValue.MatchTicketIdRepeated The MatchTicket ID already exists.
InvalidParameterValue.MatchTicketLimit The length of MatchTicket list exceeds the limit.
InvalidParameterValue.RuleMatchExistent There is a match associated with the rule.
InvalidParameterValue.RuleNameDuplicated The rule name already exists.
InvalidParameterValue.RuleNotFound The rule does not exist.
InvalidParameterValue.TagsLimitPermission No permission for this tag
InvalidParameterValue.TokenCompatibleSpanInvalid The CompatibleSpan of the token exceeds the limit.
InvalidParameterValue.TokenLimit The token length exceeds the limit.
InvalidParameterValue.ValueRangeLimit The value exceeds the range.
LimitExceeded.TokenUpdateExceed The token update frequency exceeds the limit.
OperationDenied Operation denied
ResourceUnavailable.CLSServiceNotActivated The CLS service has not been activated.
ResourcesSoldOut The resources have been sold out.
UnauthorizedOperation.CAMUnauthorizedOperation It is required to grant the GPM role permissions.
UnauthorizedOperation.UnauthorizedAction API permission authorization is needed.
UnauthorizedOperation.UserUnAuth The current account has not verified its identity. Please complete identity verification before using the service.

Was this page helpful?

Was this page helpful?

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