Phone Number Verification SDK return codes
SDK return codes
This topic describes the SDK return codes for the Phone Number Verification service.
Security authentication SDK error codes
Return code | Return code descriptions | Suggestion |
600000 | Successfully obtained the token. | None |
600001 | Successfully opened the authorization page. | None |
600002 | Failed to open the authorization page. | Switch to another logon method. |
600004 | Failed to obtain carrier configuration information. | Create a support ticket. |
600007 | No SIM card detected. | Prompt the user to check the SIM card and then retry. |
600008 | The cellular network is not enabled. | Prompt the user to enable the cellular network and then retry. |
600009 | Cannot identify the carrier. | Create a support ticket. |
600010 | Unknown exception. | Create a support ticket. |
600011 | Failed to obtain the token. | Switch to another logon method. |
600012 | Failed to prefetch the number. | Switch to another logon method. |
600013 | The carrier is undergoing maintenance or an upgrade. This feature is unavailable. | Create a support ticket. |
600014 | The maximum number of calls for this feature has been reached because the carrier is undergoing maintenance or an upgrade. | Create a support ticket. |
600015 | API call timed out. | Switch to another logon method. |
600017 | Failed to parse the AppID or AppKey. | The key is not set or is configured incorrectly. Check the key information. If the key is correct, create a support ticket. |
600021 | A carrier switch was detected when the user clicked the logon button. | Switch to another logon method. |
600025 | Terminal environment check failed. The terminal does not support authentication or the terminal check parameters are invalid. | Check if the input parameter types and value ranges are correct. |
600026 | The acceleration or prefetch API cannot be called after the authorization page has loaded. | Do not call the preLogin or accelerateAuthPage API after the authorization page is displayed. |
Authorization page click event response codes
Response code | Description |
700000 | The user clicked the back button and canceled the passwordless logon. |
700001 | The user clicked the switch button and canceled the passwordless logon. |
700002 | Logon button click event. |
700003 | Checkbox click event. |
700004 | Protocol rich text click event. |
Carrier return codes
China Mobile
Return code | Description |
103000 | Success. |
102507 | Logon timed out when the logon button was clicked on the authorization page. |
103101 | Request signature error. |
103102 | Package signature or Bundle ID error. |
103111 | Incorrect gateway IP address or invalid carrier request. |
103119 | The AppID does not exist. |
103211 | Other errors. Create a ticket to contact an engineer. |
103412 | Invalid request. This can be caused by an incorrect encryption method, a non-JSON format, or an empty request. |
103414 | Parameter verification exception. |
103511 | Server IP address whitelist verification failed. |
103811 | The token is empty. |
103902 | The script is invalid due to repeated logons in a short period. |
103911 | Token requests are too frequent. You can obtain a maximum of 30 unused tokens within 10 minutes. |
104201 | The token has expired or does not exist. This can be caused by repeated verification failures or expiration. |
105018 | Insufficient token permissions. A token for local number verification was used to obtain a phone number. |
105019 | The application is not authorized. |
105021 | The daily quota has been reached. |
105302 | The AppID is not in the whitelist. |
105313 | Illegal request. |
200005 | The user has not granted the READ_PHONE_STATE permission. |
200010 | Cannot identify the SIM card or no SIM card is present (Android). |
200020 | The user canceled the logon. |
200021 | Data parsing exception. |
200022 | No network connection. |
200023 | Request timed out. |
200024 | Failed to switch the data network. |
200025 | Location error. This is usually caused by a thread catch exception, a socket error, or the system not being granted cellular data permission. Create a ticket to contact an engineer. |
200026 | Invalid input parameters. |
200027 | The data network is not enabled or the network is unstable. |
200028 | A network request error occurred. |
200038 | Network request failed when obtaining a phone number from a different carrier. |
200039 | The gateway failed to obtain a phone number from a different carrier. |
200048 | The user has not installed a SIM card. |
200050 | EOF exception. |
200061 | Authorization page exception. |
200064 | The data returned by the server is abnormal. |
200072 | CA root certificate verification failed. |
200082 | The server is busy. |
200086 | ppLocation is empty. |
200087 | Used only to listen for the successful launch of the authorization page. |
200096 | The current network does not support obtaining phone numbers. |
China Telecom
Return code | Description |
-64 | permission-denied (No access permission). |
-65 | API-request-rates-Exceed-Limitations (API call rate limit exceeded). |
-10001 | Failed to obtain the phone number. The MDN is empty. |
-10002 | Parameter error. |
-10003 | Decryption failed. |
-10004 | IP address restricted. |
-10005 | Abnormal callback parameters when obtaining a phone number from a different carrier. |
-10006 | Failed to obtain the MDN on the China Telecom network. |
-10007 | Redirected to obtain a phone number from a different carrier. |
-10008 | The preset threshold for obtaining phone numbers has been exceeded. |
-10009 | The timestamp has expired. |
-10013 | operator_unsupported. Create a ticket to contact an engineer. |
-20005 | sign-invalid (Signature error). |
-8001 | Abnormal network request. The request failed. |
-8002 | Request parameter error. |
-8003 | Request timed out. |
-8004 | The cellular network is not enabled. |
-8010 | No network connectivity (Network error). |
-720001 | Abnormal request when switching from Wi-Fi to 4G. |
-720002 | Timed out when switching from Wi-Fi to 4G. |
80000 | Request timed out. |
80001 | Network connection failed, network link is disconnected, invalid argument, or data connection is not allowed. |
80002 | Response code error: 404. |
80003 | No network connection. |
80005 | Socket timeout exception. |
80007 | I/O exception. |
80008 | No route to host. |
80009 | nodename nor servname provided, or not known. |
80010 | Socket closed by remote peer. |
80800 | Wi-Fi switching timed out. |
80801 | Wi-Fi switching exception. |
China Unicom
Return code and message | Description |
0 | The request was successful. |
-10008 | JSON conversion failed. |
1, Request timed out | The request timed out. |
1, Failed to find the phone number using the private IP | Failed to find the phone number using the private IP address. |
1, Private IP verification error | Private IP address verification failed. |
1, Source IP authentication failed | Source IP address authentication failed. |
1, Failed to obtain authentication information | Failed to obtain authentication information. |
1, Failed to obtain the mobile authorization code | This error is usually caused by an SDK request timeout. |
1, Gateway failed to obtain the phone number | The gateway failed to obtain the phone number. |
1, Network request failed | The network request failed. |
1, Signature verification failed | Signature verification failed. |
1, The input code and AppID do not match | The input code and AppID do not match. |
1, The connection to the Internet seems to be disconnected | The connection was disconnected because of an unstable network. |
1, The certificate for this server is invalid | The SDK connected to an insecure server. Create a support ticket. |
1, PIP verification failed | Create a support ticket. |
1, The number of concurrent connections to the gateway is limited | Create a support ticket. |
1, Data connection is not currently allowed | Create a support ticket. |
1, Cannot connect to the server | Create a support ticket. |
1, Internal system error | Create a support ticket. |
1, Internal error in the number retrieval gateway | An internal error occurred in the number retrieval gateway. Create a support ticket. |
1, connect address error | A connection address error occurred. This is usually caused by a timeout. |
1, select socket error | A select socket error occurred. |
1, handshake failed | Handshake failed. |
1, decode ret_url fail | URL decoding failed. |
1, connect error | Connection error. |
1, read failed | Create a support ticket. |
1, response null | No response was received. Create a support ticket. |
1, Unknown error | Create a support ticket. |
2, Request timed out | The API request took longer than the configured timeout value. |