This topic describes the result codes and sub-codes returned by the Native SDK client.
Android
Result code | Billable | Result sub-code (subCode) | Description |
1000 | Yes | A1000_1 | The user completed the face liveness process. The recommended authentication result is pass. This result is for reference only. You can call the server-side CheckResult operation to obtain the final authentication result and proceed to the next step. |
1001 | Yes | A1001_1 | The user completed the face liveness process. The recommended authentication result is fail. This result is for reference only. You can call the server-side CheckResult operation to obtain the final authentication result and the detailed reasons for the failure, and proceed to the next step. |
1002 | No | A1002_1 | Model loading failed / model not ready |
A1002_2 | The app moved to the background (Home button pressed) and returned to the foreground, and the SDK exited proactively. | ||
A1002_3 | SO library loading failed. | ||
A1002_4 | SDK busy (previous session not ended). | ||
1003 | No | A1003_1 | Initialize operation content is empty. |
A1003_2 | Initialize operation content format error. | ||
A1003_3 | Initialization protocol (ExtProtocol) parsing failed | ||
A1003_4 | Initialize operation content decryption failed. | ||
A1003_5 | Initialize operation failed (Code is not 200, or BizCode is not CODE_INIT_SUCCESS) | ||
A1003_6 | Initialize operation OSS is empty. | ||
A1003_7 | Empty Context passed. | ||
A1003_8 | Empty Protocol passed exception. | ||
1004 | No | A1004_1 | Front camera exception. |
A1004_2 | Camera open exception. | ||
A1004_3 | Rear camera exception. | ||
1005 | No | A1005_1 | Initialize operation network exception. |
A1005_2 | Authentication operation network exception | ||
A1005_3 | Authentication operation returned content exception | ||
1006 | No | A1006_1 | User exited. |
A1006_2 | User idle timeout exit after 15 minutes. | ||
1007 | No | A1007_1 | Invalid TransactionId. |
1008 | No | A1008_1 | NFC module missing |
A1008_2 | OCR module missing | ||
A1008_3 | Face module missing | ||
1009 | No | Client system time exception | |
1010 | No | A1010_1 | The install method was not called before calling verify. |
1011 | No | Submitted document type error. | |
1012 | No | A1012_1 | Recognized document key information missing or format validation failed. |
1013 | No | Poor image quality. | |
1014 | No | A1014_1 | Error count exceeded limit. |
1015 | No | A1015_1 | Android system version too low. |
1016 | No | A1016_1 | Camera permission not obtained. |
1017 | No | A1017_1 | Parameter exception: productCode is empty |
2000 | No | A2000_1 | NFC configuration failed |
A2000_2 | NFC permission not enabled | ||
2002 | No | A2002_1 | Device does not support NFC |
iOS
Result code | Billable | Result sub-code (subCode) | Description |
1000 | Yes | A1000_1 | The user completed the face liveness process. The recommended authentication result is pass. This result is for reference only. You can call the server-side CheckResult operation to obtain the final authentication result and proceed to the next step. |
1001 | Yes | A1001_1 | The user completed the face liveness process. The recommended authentication result is fail. This result is for reference only. You can call the server-side CheckResult operation to obtain the final authentication result and the detailed reasons for the failure, and proceed to the next step. |
1002 | No | A1002_1 | Model loading failed / model not ready |
A1002_3 | Module loading exception (OCR or face module missing) | ||
A1002_4 | iOS system version lower than 9.0. | ||
A1002_5 | Network interface exception. | ||
A1002_6 | SDK busy: previous authentication session has not ended. | ||
1003 | No | A1003_1 | Initialize operation content is empty. |
A1003_2 | Initialize operation content format error. | ||
A1003_3 | Client initialization protocol parsing failed. | ||
A1003_4 | Initialize operation content decryption failed. | ||
A1003_5 | Initialize operation failed. | ||
A1003_6 | Initialize operation OSS is empty. | ||
A1003_7 | context is empty. | ||
A1003_8 | Passed Protocol exception (decryption succeeded but content unavailable). | ||
1004 | No | A1004_1 | Front camera exception. |
A1004_2 | Camera open exception. | ||
A1004_3 | Camera permission denied. | ||
1005 | No | A1005_1 | Initialize operation network exception. |
A1005_2 | Authentication operation network exception. | ||
1006 | No | A1006_1 | User exited. |
A1006_2 | User idle timeout exit after 15 minutes. | ||
1007 | No | A1007_1 | Invalid authentication ID. |
1009 | No | A1003_2 | Client system time exception |
1010 | No | A1010_1 | The install method was not called before calling verify. |
1014 | No | A1014_1 | Error count exceeded limit |
1017 | No | A1017_1 | Parameter exception: productCode is empty |
2000 | No | A2000_1 | NFC configuration failed |
A2000_2 | NFC permission not enabled | ||
2002 | No | A2002_1 | Device does not support NFC |