Account Management Error Codes
NOTE
This topic describes only module-specific error codes. For details about universal error codes, see Universal Error Codes.
The following includes the error codes for system accounts, distributed accounts, and application accounts.
12300001 System Service Abnormal
Error Message
The system service works abnormally.
Possible Causes
- The account management service cannot start properly.
- The IPC object for account management cannot be obtained.
- The services on which the account management depends cannot start properly, or the IPC object on which the account management depends cannot be obtained.
- The service is not initialized.
- The disk space is insufficient.
- The file read or write fails.
- Directories cannot be created.
- Files cannot be created or deleted.
- The database cannot be read or written.
Solution
Try again later or restart the device.
12300002 Invalid Parameter
Error Message
Invalid parameter.
Possible Causes
- The user name is empty.
- The user name of the system account exceeds 1024 characters.
- The user name of the distributed account exceeds 256 characters.
- The system account ID is less than 0 or 100, or greater than 1099.
- The distributed account ID exceeds 512 characters.
- The event type passed in for the distributed account is not supported.
- The domain name is empty.
- The domain name exceeds 128 characters.
- The domain account is empty.
- The domain account name exceeds 512 characters.
- The constraint is empty.
- The constraint exceeds 128 characters.
- Invalid authentication or query parameters are passed in.
- The profile photo string of the system account exceeds 4 KB.
- The profile photo string of the distributed account exceeds 2 MB.
- The images are not in .jpg or .png format.
- The application account name exceeds 512 characters.
- The authentication type exceeds 1024 characters.
- The token exceeds 1024 characters.
- The key exceeds 1024 characters.
- The custom data exceeds 1024 characters.
- The token is invalid.
- The context ID is invalid.
- The credential ID is invalid.
Solution
Set parameters correctly.
12300003 Account Not Exist
Error Message
The account does not exist.
Possible Causes
- The account to query, activate, or delete is not created.
- The account to query, activate, or delete has been deleted.
- The constraint, user name, or profile photo is set for an account that has been deleted.
- The account to update is not created.
- The access permission is to be set for an account that does not exist.
- The password is to be set, deleted, or queried for an account that does not exist.
- The token is to be set or deleted for an account that does not exist.
- Additional information is to be set for an account that does not exist.
- Credentials are to be set or deleted for an account that does not exist.
- Custom data is to be set for an account that does not exist.
- Distributed synchronization is to be enabled for an account that does not exist.
Solution
Check whether the account exists.
12300004 Account Already Exists
Error Message
The account already exists.
Possible Causes
The account to create already exists.
Solution
Rename the account.
12300005 Multiple Users Not Supported
Error Message
Multi-user is not supported.
Possible Causes
The device does not support multiple users.
Solution
Cancel the operation.
12300006 Unsupported Account Type
Error Message
The account type is not supported.
Possible Causes
The device does not support the account type.
Solution
Create an account of the type supported by the device.
12300007 Account Count Reached the Limit
Error Message
The number of accounts has reached the upper limit.
Possible Causes
The number of system accounts or application accounts has reached 1000.
Solution
Delete the accounts that are no longer used, and try again.
12300008 Restricted Account
Error Message
The specified account is restricted.
Possible Causes
- The account to delete is a reserved account of the system.
- The constraint source type to query belongs to a reserved account.
- The ID of the account to create is 0 to 100.
Solution
Operations cannot be performed on the reserved account of the system.
12300009 Account Already Activated
Error Message
The account has been activated.
Possible Causes
The account to activate is already activated.
Solution
No further action is required.
12300010 Account Service Not Respond
Error Message
The account service is busy.
Possible Causes
- Repeated requests, such as the requests for activating an account or applying the same settings, are submitted in a short period of time.
- When the number of authentication sessions for application accounts reaches 256, new authentication requests cannot be processed.
Solution
Wait for a while and try again.
12300011 Event Listener Already Registered
Error Message
The event listener has been registered.
Possible Causes
The listener to register has been registered with the system already.
Solution
Cancel the operation or register an unregistered listener.
12300012 Event Listener Not Registered
Error Message
The event listener has not been registered.
Possible Causes
The event listener to unregister has not been registered.
Solution
Only registered event listeners can be unregistered.
12300013 Network Exception
Error Message
Network exception.
Possible Causes
- Not connected to the Internet.
- The network connection is abnormal.
- The application does not have the network access permission.
- Unidentified network error.
Solution
- Connects to a network.
- Check that the network connection is normal.
- Check that the application has the network access permission.
- Perform related operations again.
12300014 Domain Account Not Authenticated
Error Message
The domain account is not authenticated.
Possible Causes
The domain account has not logged in.
Solution
Log in using the domain account.
12300015 Duplicate Short Name
Error Message
The short name already exists.
Possible Causes
The short name used to create the account already exists.
Solution
Change the short name that does not exist.
12300016 Login Accounts Reached the Limit
Error Message
The number of logged in accounts reaches the upper limit.
Possible Causes
The number of login accounts has reached the upper limit. No more accounts can be used to log in.
Solution
Log out of the system and log in to the system using a new account.
12300017 Foreground System Account Not Found
Error Message
The foreground OS account is not found.
Possible Causes
- The foreground system account does not exist on the specified logical display (either it is not activated or it is not switched to the foreground).
- The specified displayId is invalid or the corresponding logical display does not exist.
- The specified localId is invalid or the corresponding system account does not exist.
Solution
Ensure that the input displayId/localId is correct and exists. Try again if the specified foreground account exists on the logical display.
12300018 Logical Display Not Found
Error Message
Display not found.
Possible Causes
- The specified displayId is invalid or the corresponding logical display does not exist.
- The target logical display is not connected or has been disconnected.
Solution
Ensure that the displayId is correct and the logical screen device is connected and available. Try again with a valid logical display ID.
12300019 Cross-Display Activation Not Supported
Error Message
Cross-display activation not supported.
Possible Causes
The current system strategy or configuration does not allow cross-display activation.
Solution
Activate the account on the same logical display, or log out of the account on the specified logical display and then activate the account.
12300021 System Account Already Bound
Error Message
The OS account is already bound.
Description
This error code is reported if the input system account has been bound to a domain account.
Possible Causes
The input system account has been bound to a domain account.
Solution
Multiple system accounts cannot be bound to one domain account. Bind the system account to another domain account.
12300022 Domain Account Already Bound
Error Message
The domain account is already bound.
Description
This error code is reported if the input domain account has been bound to a system account.
Possible Causes
The input domain account has been bound to a system account.
Solution
A domain account cannot be bound to multiple system accounts. Bind the domain account to another system account or delete the bound system account before binding to a new one.
12300023 Accounts of a Specified Type Reached the Limit
Error Message
The number of accounts of the specified type has reached the upper limit.
Possible Causes
The number of system accounts of the specified type has reached the upper limit.
Solution
Delete unnecessary accounts and try again.
12300101 Incorrect Credential
Error Message
The credential is incorrect.
Possible Causes
- An incorrect password is entered.
- The biological feature does not match the feature enrolled.
- The token is invalid.
Solution
Enter a correct credential and try again.
12300102 Credential Not Exist
Error Message
The credential does not exist.
Possible Causes
- The credential to authenticate has not been enrolled.
- The credential to query has not been enrolled.
- The credential to delete has not been enrolled.
Solution
Check whether the credential has been enrolled.
12300103 Credential Inputer Already Exists
Error Message
The credential inputer already exists.
Possible Causes
The PIN inputer has been registered and cannot be registered again before deregistration.
Solution
No further action is required.
12300104 Credential Inputer Not Exist
Error Message
The credential inputer is not found.
Possible Causes
No credential inputer is registered when a credential is authenticated, added or modified.
Solution
Register a credential inputer.
12300105 Trust Level Not Supported
Error Message
The trust level is not supported.
Possible Causes
The trust level passed in is not supported.
Solution
Use a trust level supported by the system.
12300106 Authentication Type Not Supported
Error Message
The authentication type is not supported.
Possible Causes
The authentication type passed in is not supported.
Solution
Use an authentication type supported by the system.
12300107 Authentication Type Not Exist
Error Message
The authentication type does not exist.
Possible Causes
The specified authentication type does not exist when a token is queried or deleted.
Solution
Use an existing authentication type.
12300108 Authentication Session Not Exist
Error Message
The authentication session does not exist.
Possible Causes
The session callback to query does not exist.
Solution
Use an opened session to query session callbacks.
12300109 Authentication, Credential Enrollment, or Update Canceled
Error Message
The authentication, enrollment, or update operation is canceled.
Possible Causes
- The user cancels the authentication.
- The user canceled the credential enrollment.
- The user canceled the update during the credential enrollment process.
Solution
No further action is required.
12300110 Authentication Locked
Error Message
The authentication is locked.
Possible Causes
The number of authentication type errors exceeds the limit.
Solution
Try again after the freezing time.
12300111 Authentication Timed Out
Error Message
The authentication time out.
Possible Causes
- The authentication or credential enrollment of a system account takes more than three minutes.
- The authentication service does not respond in time due to network problems.
Solution
- Try again if the authentication or credential enrollment times out.
- Check and rectify network problems, and try again.
12300112 Authentication Service Not Respond
Error Message
The authentication service is busy.
Possible Causes
- The total number of system accounts being authenticated exceeds 5.
- The authentication service of the third-party application does not respond.
Solution
Try again later.
12300113 Authentication Service Not Exist
Error Message
The account authentication service does not exist.
Possible Causes
For application accounts:
- When an authentication is requested, the application does not support the authentication service.
- When an account is added implicitly, the application does not support the authentication service.
- When the credential of a specified account is verified, the application does not support the authentication service.
- When the authenticator attributes are set for an application, the application does not support the authentication service.
- When the account tags are checked, the specified application does not support the authentication service.
Solution
Cancel the operation or authenticate an application that supports the authentication service.
12300114 Authentication Service Abnormal
Error Message
The account authentication service works abnormally.
Possible Causes
- An unknown error occurs in the identity authentication service.
- The application authenticator does not comply with specifications.
Solution
- Try again or restart the system.
- Use the application authenticator that complies with specifications.
12300115 User Authentication Passwords Reached the Limit
Error Message
The number of credentials reaches the upper limit.
Possible Causes
- An unknown error occurs in the identity authentication service.
- The user already has a password of the corresponding type and cannot add a password.
Solution
- Try again or restart the system.
- Change the password or delete the existing password.
12300116 Failed to Verify the Credential Complexity
Error Message
Credential complexity verification failed.
Possible Causes
The credential is too simple.
Solution
Enroll a credential that contains specific characters as required.
12300117 PIN Expired
Error Message
PIN is expired.
Possible Causes
The PIN for user authentication has expired.
Solution
Reset the PIN.
12300120 Credential Expired
Error Message
The credentials are no longer valid.
Possible Causes
In the companion device authentication scenario, the companion device has expired.
Solution
Delete the companion device and bind it again.
12400001 Application Not Exist
Error Message
The application does not exist.
Possible Causes
- The target application does not exist when the application permission is set.
- The target application does not exist when the application permission is authorized.
Solution
Check that the target application has been installed, and use the bundle of the application.
12400002 Custom Data Not Exist
Error Message
The custom data does not exist.
Possible Causes
The key does not exist when you query the custom data of the account.
Solution
Query the custom data with a key that is already defined.
12400003 Custom Data Records Reached the Limit
Error Message
The number of custom data records reaches the upper limit.
Possible Causes
The number of custom data records of the target account has reached 512.
Solution
Delete the custom data records that are no longer used.
12400004 Token Count Reached the Limit
Error Message
The number of tokens reaches the upper limit.
Possible Causes
The number of tokens of the target account has reached 1024.
Solution
Delete the tokens that are no longer used, and try again.
12400005 Bundles in the OAuth List Reached the Limit
Error Message
The size of the authorization list reaches the upper limit.
Possible Causes
The number of bundles in the authorization list has reached 1024.
Solution
Revoke authorization from the applications that do not require the authorization and try again.