This section describes only module-specific error codes. For details about universal error codes, please refer to Universal Error Codes. If the error persists, submit a ticket online. Huawei will get back to you as soon as possible.
Message
System service error.
Description
System service error.
Possible causes
The system is in an insecure state, or there is a hardware failure.
Solution
Try again or submit a ticket online.
Message
The user canceled the identity verification process.
Description
The user canceled the identity verification process.
Possible causes
The user tapped the cancel button.
Solution
Initiate the verification process again.
Message
User identity authentication timed out.
Description
User identity authentication timed out.
Possible causes
The user identity authentication timed out.
Solution
Initiate the identity authentication process again.
Message
Identity authentication failed.
Description
Identity authentication failed.
Possible causes
The lock screen password is incorrect.
Solution
Prompt the user to enter the correct lock screen password.
Message
Invalid device type. The current device is not an enterprise device.
Description
Invalid device type. The current device is not an enterprise device.
Possible causes
The current device is not an enterprise device.
Solution
Check whether the device is an enterprise device. For details, please refer to the MDM Kit development guide.
Message
Invalid userId.
Description
Invalid user ID.
Possible causes
Invalid enterprise user ID.
Solution
Check whether the enterprise user ID is valid.
Message
The enterprise recovery key already exists.
Description
The enterprise recovery key already exists.
Possible causes
The enterprise recovery key has been obtained and cannot be obtained again.
Solution
Call the getAuthChallenge API to obtain a challenge and sign it. Then call the deleteEnterpriseRecoveryKey API to delete the enterprise recovery key.
Message
Invalid signature.
Description
Invalid signature.
Possible causes
The same challenge is used to initiate two requests.
The API request timed out.
An incorrect enterprise private key is used for signing.
Solution
Call the getAuthChallenge API to obtain a new challenge and sign it.
Ensure that the enterprise private key is correct.
Message
Invalid certificate.
Description
Invalid certificate.
Possible causes
Invalid certificate format.
The format of the public key in the certificate is incorrect.
Solution
Ensure that the certificate is in PEM format.
Ensure that the public key in the certificate is an ECC public key.
Ensure that the certificate carries a valid signature from the enterprise root certificate.
Message
System service error.
Description
System service error.
Possible causes
IPC failed.
Failed to obtain/set a system parameter.
Solution
Try again or submit a ticket online.
Message
Invalid userId.
Description
Invalid user ID.
Possible causes
The user has not been created.
Incorrect input.
Solution
Verify the user ID and ensure that the user exists.
Message
Invalid path.
Description
Invalid path.
Possible causes
The file for which tags need to be set does not exist.
The input path is not within the protection scope.
The user has no access permission.
Solution
Check whether the corresponding file exists in the default path range.
Message
Failed to check the tag list.
Description
Failed to check the tag list.
Possible causes
A tag in the tag list contains a semicolon (;).
The length of a single tag in the list exceeds 255 characters.
The total number of tags exceeds 5.
Solution
Ensure that no tag in the tag list contains semicolons (;).
Ensure that the length of each tag in the list does not exceed 255 characters.
Ensure that the total number of tags does not exceed 5.
Message
Invalid appId.
Description
Invalid app ID.
Possible causes
Failed to verify the app ID.
Solution
Ensure that the entered app ID is the same as that obtained from bundleManager.
Message
Invalid policy.
Description
Invalid policy information.
Possible causes
The duration exceeds the maximum value 86,400,000 ms.
The corresponding policy is not delivered.
Solution
Ensure that the duration in the policy does not exceed the upper limit.
Ensure that the configured policy has been successfully delivered.
Message
The HDC status is abnormal.
Description
The HDC status is abnormal.
Possible causes
HDC not enabled.
USB debugging not enabled.
Solution
Enable USB debugging and the HDC function.
Message
Failed to save the private key.
Description
Failed to save the private key.
Possible causes
Failed to parse the private key.
Failed to call the encryption library.
Solution
Ensure that the algorithm and format of the input private key are correct.
Restart the device and call the encryption library again.