3.3 ResultCode

Status code and description:

Status code

Description

OK

Normal operation

STID_E_CALL_API_IN_WRONG_STATE

Incorrect method status call

STID_E_LICENSE_INVALID

Authorization verification failed (license file verification failed)

STID_E_MODEL_INVALID

Model file error

STID_E_LICENSE_FILE_NOT_FOUND

License file does not exist

STID_E_LICENSE_BUNDLE_ID_INVALID

Wrong package name

STID_E_LICENSE_EXPIRE

Authorization document expired

STID_E_LICENSE_VERSION_MISMATCH

Failed to pass authorization verification (license file does not match the version of the SDK)

STID_E_LICENSE_PLATFORM_NOT_SUPPORTED

Failed to pass the authorization verification (license authorization file does not support the corresponding system platform)

STID_E_MODEL_FILE_NOT_FOUND

Model file does not exist

STID_E_DETECTION_MODEL_FILE_NOT_FOUND

Face detection model file does not exist

STID_E_ALIGNMENT_MODEL_FILE_NOT_FOUND

The alignment model file does not exist

STID_E_FRAME_SELECTOR_MODEL_FILE_NOT_FOUND

Frame selector model file does not exist

STID_E_ANTI_SPOOFING_MODEL_FILE_NOT_FOUND

The anti-spoofing model file does not exist

STID_E_API_KEY_INVALID

API_KEY or API_SECRET error

STID_E_MODEL_EXPIRE

Model file expired

STID_E_SERVER_ACCESS

Server access error (commonly caused by poor network conditions)

STID_E_CHECK_CONFIG_FAIL

Failed to pass liveness detection (liveness detection failed due to the detection configuration error)

STID_E_DETECT_FAIL

Failed to pass liveness detection (liveness detection failed)

STID_E_HACK

Failed to pass liveness detection (spoofing is detected)

STID_E_SERVER_TIMEOUT

Network request timeout

STID_E_INVALID_ARGUMENTS

Parameter setting is invalid

Last updated