5 Error Codes
This page describes the error code that occurs during the operation of SenseID.
error_code
Value
Description
STID_OK
0
Success
STID_E_INVALID_ARG
-1
Invalid parameter, please check whether the value of each input parameter is correct
STID_E_HANDLE
-2
Handle error, please check whether the input handle is correct
STID_E_OUTOFMEMORY
-3
Insufficient memory, system error
STID_E_FAIL
-4
Operation failure, internal error
STID_E_INVALID_PIXEL_FORMAT
-6
The image format is not supported, please refer to the interface description
STID_E_FILE_NOT_FOUND
-7
Resource file not found (such as license, model, etc.). Check whether the input path is correct
STID_E_INVALID_FILE_FORMAT
-8
Incorrect file format, mainly related to the model file
STID_E_MODEL_FILE_EXPIRE
-9
Model file expired
STID_E_INVALID_AUTH
-13
Illegal license file (for example, the product name is not consistent), or license file does not load.
STID_E_AUTH_EXPIRE
-15
license file or SDK expires
STID_E_UDID_MISMATCH
-16
UDID mismatch, and the hardware fingerprint bound to the license is inconsistent with the current device’s hardware fingerprint
STID_E_VERSION_MISMATCH
-23
Product SDK version mismatch. The current SDK version is beyond the version range specified in the license
STID_E_PLATFORM_NOTSUPPORTED
-24
The platform is not supported. The current running SDK platform is inconsistent with the platform scope specified in the license
STID_E_MODEL_UNZIP_FAILED
-25
Model decompression failed, please check whether the model file is damaged
STID_E_SUBMODULE_NOT_FOUND
-26
Submodel does not exist, please check whether the use of the model file is correct
STID_E_CAPABILITY_NOTSUPPORTED
-2067857410
Use an interface that does not support capabilities in the license
STID_E_GET_UDID_FAIL
-2146304001
Failed to get the UDID
STID_E_READ_MODEL_FILE_FAIL
-10
Failed to read the model file
STID_E_LOAD_LIBRARY_FAILED
-2065563655
Failed to load dynamic library
STID_E_ONLINE_ACTIVATE_PARENT_LICENSE_NOT_FOUND
-2145517553
The parent license can't
STID_E_ONLINE_ACTIVATE_PARENT_LICENSE_TOO_MANY
-2145517552
Too many parent certificates of the authorization file, up to 10 levels
Last updated