Error Code
General error codes that can be returned by any interface
Error Message
Error Code
Error Description
STID_OK
0
The interface is running correctly
STID_E_INVALID_ARG
-1
Invalid parameters, please check the value of each input parameter (including whether the internal elements of stid_image are valid)
STID_E_HANDLE
-2
Wrong handle, please check whether the handle input is correct
STID_E_OUTOFMEMORY
-3
Out of memory, system error
STID_E_FAIL
-4
Run failed, internal error
STID_E_INVALID_PIXEL_FORMAT
-6
Image format is not supported, please refer to the interface description, input a format supported by the interface
STID_E_FILE_NOT_FOUND
-7
Resource does not exist (such as license, model, etc.), please check whether the directory path is correct
STID_E_INVALID_FILE_FORMAT
-8
File format is not correct, common in model files
STID_E_MODEL_FILE_EXPIRE
-9
Model file has expired
STID_E_MODEL_UNZIP_FAILED
-25
Model decompression failed, please check whether the model file is damaged
STID_E_SUBMODULE_NOT_FOUND
-26
Sub-model does not exist, please check whether the correct model file is used
STID_E_IMAGE_UNRECOGNIZED
-31
Image not recognized
STID_E_LOAD_LIBRARY_FAILED
-2065563655
Failed to load dynamic library
STID_E_ILLEGAL_CALL
-1000
Unsupported function calling method, please refer to samples or interface documentation
STID_E_CPU_CORE_OUTOF_LIMIT
-994
The number of machine CPU cores is greater than the number of authorized cores
STID_E_OUT_OF_MAX_SEARCH_NUMBER
-1007
Exceeded maximum supported searches
STID_E_IO_ERROR
-2067791875
System I/O error
STID_E_DEFINITION_NOT_FOUND
-5
Missing definition
STID_E_READ_MODEL_FILE_FAIL
-10
Failed to read model file
STID_E_NORMAL_CONNECTION_FAIL
-196608
Network connection error
Error codes related to authorization, returned by authorization interface
Error Message
Error Code
Error Explanation
STID_E_INVALID_AUTH
-13
License file is invalid (e.g. product name mismatch), or license file is not loaded
STID_E_INVALID_APPID
-14
Wrong package name, please check whether the APP package name is the same as the one stated in the license
STID_E_AUTH_EXPIRE
-15
Expired license or SDK
STID_E_UDID_MISMATCH
-16
UDID mismatch, the hardware fingerprint linked to the license is inconsistent with the hardware fingerprint of the current device
STID_E_VERSION_MISMATCH
-23
Product SDK version is inconsistent, the current SDK version is not within the range defined in the license
STID_E_PLATFORM_NOTSUPPORTED
-24
Unsupported platforms, the current SDK platform does not match the platform scope defined in the license
STID_E_ONLINE_ACTIVATE_FAIL
-28
Online activation failed, please check whether the unactivated license file is valid
STID_E_INVALID_ONLINE_ACTIVATION_CODE
-29
Online activation code incorrect. Activation file may be damaged or the device hardware information is changed, please check whether the hardware information has been changed recently
STID_E_ONLINE_ACTIVATE_CONNECT_FAIL
-30
Online activation connection failed, please check whether the device is connected to the network.
STID_E_ONLINE_AUTH_REG_FAIL
-11
Online verification registration failed
STID_E_ONLINE_AUTH_CONNECT_FAIL
-17
Online verification connection failed
STID_E_ONLINE_AUTH_TIMEOUT
-18
Online verification timeout
STID_E_ONLINE_AUTH_FAIL
-19
Online verification failed
STID_E_OFFLINE_NOT_ACTIVABLE
-20
License cannot be activated offline
STID_E_OFFLINE_ACTIVATE_FAIL
-21
Activate license offline failed
STID_E_INVALID_OFFLINE_ACTIVATION_CODE
-22
Invalid offline activation code
STID_E_HW_AUTH_INIT_FAIL
-32
Encrypted chip verification initialization failed
STID_E_HW_AUTH_FAIL
-33
Encrypted chip verification failed
STID_E_ONLINE_AUTH_FAIL_V2
-34
Online authentication v2 failed
STID_E_ONLINE_AUTH_EXPIRE_V2
-35
Online authentication v2 expired
STID_E_ONLINE_AUTH_NO_LICENSE
-36
Authentication license not available
STID_E_HW_AUTH_REG_FAIL
-37
Encrypted chip verification registration failed
STID_E_PRODUCT_VERSION_FAILED
-38
Call product_version function failed
STID_E_PRODUCT_LICENSE_LOADED
-2067857409
License for this product has already been successfully loaded before and cannot be reloaded. License for the same product can only be loaded once in the application life cycle and cannot be replaced
STID_E_CAPABILITY_NOTSUPPORTED
-2067857410
Interface capability is not supported by the license
STID_E_DOMAIN_MISMATCH
-2067857411
Domain name mismatch, the actual domain name does not match the one that is linked to the license
STID_E_CAMERA_MISMATCH
-2067857412
Camera mismatch, the camera used does not match the one that is linked to the license
STID_E_GET_UDID_FAIL
-2146304001
Failed to get udid
STID_E_LICENSE_AUTHTYPE_NOTSUPPORTED
-2067857513
Unsupported license file authentication type
STID_E_LICENSE_NEED_ACTIVATED
-2067857514
License needs to be activated
STID_E_CUSTOM_HW_AUTH_FAIL
-2067857612
Customize license chip authorization failed
STID_E_CONNECTION_FALI
-131073
Network connection error
STID_E_ONLINE_ACTIVATE_LICENSE_NOT_FOUND
-2145517558
Online activation, license not found in system
STID_E_ONLINE_ACTIVATE_COUNT_EXHAUSTED
-2145517557
Online activation, the number of license activations has run out
STID_E_ONLINE_ACTIVATE_LICENSE_EXPIRE
-2145517554
Online activation, license expired, certificate expired or manually disabled
STID_E_ONLINE_NOT_ACTIVABLE
-27
license cannot be activated online
STID_E_ONLINE_ACTIVATE_INVALID_BODY
-2145517567
No system_info in the query body or the system_info format is incorrect
STID_E_ONLINE_ACTIVATE_INVALID_JWT_TOKEN
-2145517566
jwt token format incorrect
STID_E_ONLINE_ACTIVATE_BODY_NO_UDID
-2145517565
system_info in the body does not include udid or empty
STID_E_ONLINE_ACTIVATE_JWT_ALGORITHM_NOTSUPPORTED
-2145517564
The algorithm of jwt signature is not HS256
STID_E_ONLINE_ACTIVATE_INVALID_JWT_SIGNATURE
-2145517563
jwt signature verification failed
STID_E_ONLINE_ACTIVATE_JWT_TOKEN_UDID_MISMATCH
-2145517562
udid in jwt token is not consistent with the one in system_info in the body
STID_E_ONLINE_ACTIVATE_JWT_TOKEN_KID_MISMATCH
-2145517561
kid in jwt token is empty or does not match the license in the body
STID_E_ONLINE_ACTIVATE_AUTH_FAIL
-2145517560
Authentication failed
STID_E_ONLINE_ACTIVATE_INTERNAL_ERROR
-2145517559
Internal error
STID_E_ONLINE_ACTIVATE_VERIFY_FAIL
-2145517556
Authentication failed
STID_E_ONLINE_ACTIVATE_INVALID_ACT
-2145517555
license _act field is not online_activation
STID_E_ONLINE_ACTIVATE_PARENT_LICENSE_NOT_FOUND
-2145517553
Cannot find parent license
STID_E_ONLINE_ACTIVATE_PARENT_LICENSE_TOO_MANY
-2145517552
Too many parent license, maximum number of levels is 10
STID_E_ONLINE_ACTIVATE_GENERATE_REQUEST
-2146304002
Failed to generate request message
STID_E_ONLINE_ACTIVATE_INVALID_URL
-2146304003
url error
STID_E_HEARTBEAT_CONNECT_FAIL
-2145386497
Failed to connect to heartbeat server
STID_E_HEARTBEAT_INVALID_RESPONSE
-2145386498
Heartbeat server response message format error
STID_E_SENTINEL_PARSE_XM_FAILL
-2014281728
Failed to parse xml
STID_E_SENTINEL_CONNECT_FAIL
-2014281727
Connect to activation server failed
STID_E_SENTINEL_V2C_MISSING
-2014281726
v2c file is missing from server response
STID_E_SENTINEL_INVALID_RESPONSE
-2014281725
Server response format error
STID_E_SENTINEL_FINGERPRINT_MISMATCH
-2014281724
Machine fingerprints mismatch
Last updated