Error Codes

Last updated: 2020-06-24 11:06:59

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.ActionCloseEye No motions of eye closing are detected.
FailedOperation.ActionFaceClose The face is too close to the screen.
FailedOperation.ActionFaceFar The face is too far from the screen.
FailedOperation.ActionFaceLeft The face is too far left from the screen.
FailedOperation.ActionFaceRight The face is too far right from the screen.
FailedOperation.ActionFirstAction The first motion is not detected.
FailedOperation.ActionLightDark The lighting is too dim.
FailedOperation.ActionLightStrong The lighting is too strong.
FailedOperation.ActionNodetectFace Failed to detect a full face.
FailedOperation.ActionOpenMouth No motions of mouth opening are detected.
FailedOperation.CompareFail Comparison failed.
FailedOperation.CompareLowSimilarity The comparison similarity did not reach the passing standard.
FailedOperation.CompareSystemError Error calling the comparison engine API.
FailedOperation.FileSaveError Failed to store the file. Please try again later.
FailedOperation.IdFormatError The ID number entered is incorrect.
FailedOperation.IdNameMisMatch The name and ID number do not match. Please check and try again.
FailedOperation.IdNoExistSystem The number is not in the library. Please go to the applicable household registrar for check.
FailedOperation.IdPhotoNoExist The photo is not in the library. Please go to the applicable household registrar for check.
FailedOperation.IdPhotoPoorQuality The ID photo resolution is too low. Please upload a new one.
FailedOperation.IdPhotoSystemNoanswer Failed to return a photo from the customer library or authentication center. Please try again later.
FailedOperation.LifePhotoDetectFaces Multiple faces are detected.
FailedOperation.LifePhotoDetectFake Real person comparison failed.
FailedOperation.LifePhotoDetectNoFaces Failed to detect a full face.
FailedOperation.LifePhotoPoorQuality The resolution of the image passed in is too low. Please upload a new one.
FailedOperation.LifePhotoSizeError The image passed in is too large or too small.
FailedOperation.LipFaceIncomplete The face is not fully exposed.
FailedOperation.LipMoveSmall The lip movement range is too small.
FailedOperation.LipNetFailed Failed to pull the video. Please try again.
FailedOperation.LipSizeError The video is empty or its size is inappropriate. The recording duration should be about 6 seconds.
FailedOperation.LipVideoInvalid The video format is incorrect.
FailedOperation.LipVideoQuaility The video definition is too low.
FailedOperation.LipVoiceDetect No sound is detected.
FailedOperation.LipVoiceLow The volume of the video is too low.
FailedOperation.LipVoiceRecognize Speech recognition failed.
FailedOperation.LivessBestFrameError Face detection failed. Unable to extract the photo for comparison.
FailedOperation.LivessDetectFail Liveness detection failed.
FailedOperation.LivessDetectFake Suspected spoofed recording.
FailedOperation.LivessSystemError Error calling the liveness engine API.
FailedOperation.LivessUnknownError Video-based real person detection failed.
FailedOperation.NameFormatError The name entered is incorrect.
FailedOperation.SilentDetectFail Real person detection failed.
FailedOperation.SilentThreshold Real person detection did not reach the passing standard.
FailedOperation.SilentTooShort The video is too short. Please capture a video longer than 2 seconds.
FailedOperation.UnKnown Unknown internal error.
UnauthorizedOperation.Arrears The account is in arrears.
UnauthorizedOperation.NonAuthorize Identity verification has not been completed for the account.
UnauthorizedOperation.Nonactivated The service has not been activated.

Was this page helpful?

Was this page helpful?

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