目录

DID Service

This section describes only module-specific error codes. For details about universal error codes, please refer to Universal Error Codes.

1024600001 Incorrect parameter

Message

Invalid parameters.

Description

This error code is generated when a parameter is incorrect.

Possible causes

  1. The input parameter is empty or in an incorrect format.

  2. The parameter type does not match.

  3. Mandatory parameters are left unspecified.

Solution

  1. Check whether the input parameters are correct.

  2. Check whether the parameter type meets the API requirements.

  3. Ensure that all mandatory parameters are correctly set.

1024600002 Biometric feature not enrolled or authentication module error

Message

The user does not record biometric features or the authentication module is abnormal.

Description

This error code is generated when the user has not enrolled any biometric feature or the authentication module is abnormal.

Possible causes

  1. The user has not enrolled biometric features such as fingerprint or face.

  2. The BioAuthn module is abnormal.

  3. The biometric authentication service is unavailable.

Solution

  1. Instruct the user to enroll biometric features.

  2. Restart the device and try again.

1024600003 Operation canceled by user

Message

The user canceled the operation.

Description

This error code is generated when the user cancels the operation.

Possible causes

  1. The user taps the cancel button during the authentication.

  2. The user cancels the operation during biometric authentication.

  3. The operation is automatically canceled due to timeout.

Solution

  1. No special handling is required. This is an intentional user action.

  2. If the user wants to retry, prompt the user to perform the operation again.

1024600004 Key alias already in use

Message

The key alias has been used.

Description

This error code is returned when the key alias has been used.

Possible causes

  1. The key alias has been used by another key.

  2. The same key alias is used repeatedly.

Solution

  1. Use a different key alias.

  2. Delete the existing key and then use the alias.

1024600005 Invalid key

Message

The key is invalid.

Description

This error code is returned when the key is invalid.

Possible causes

  1. The key has expired.

  2. The key format is incorrect.

  3. The key has been damaged or tampered with.

Solution

  1. Check whether the key is valid.

  2. Generate or import a valid key.

  3. Check whether the key format meets the requirements.

1024600006 Insufficient authenticator security level

Message

The security level of the authenticator on the device is lower than ATL4.

Description

This error code is returned when the security level of the authenticator on the device is lower than ATL4.

Possible causes

  1. The security level of the BioAuthn on the device is insufficient.

  2. The device hardware does not support advanced security authentication.

Solution

  1. Use a device that supports advanced security authentication.

  2. Use another authentication method that meets the security level requirements.

1024600007 Unknown error

Message

Unknown error.

Description

This error code is reported when an unknown error occurs.

Possible causes

  1. Internal system error.

  2. An unexpected exception occurs.

Solution

  1. Restart the device and try again.

1024600008 DID not found

Message

The DID does not exist.

Description

This error code is returned when the DID does not exist.

Possible causes

  1. The specified DID is not created or has been deleted.

  2. The DID identifier is incorrect.

Solution

  1. Check whether the DID exists.

  2. Check whether the DID identifier is correct.

  3. If you need to use the DID, create or import a DID first. For details, please refer to [Enabling the Digital Identity].

1024600009 Failed to decrypt the credential

Message

Failed to decrypt the credential.

Description

This error code is returned when a credential fails to be decrypted.

Possible causes

  1. The decryption key is incorrect.

  2. The credential data is damaged.

  3. The encryption algorithm does not match.

Solution

  1. Check whether the decryption key is correct.

  2. Check the integrity of the credential data.

  3. Use the correct encryption algorithm.

1024600010 The credential does not exist.

Message

The credential does not exist.

Description

This error code is returned when the credential does not exist.

Possible causes

  1. The specified credential has not been imported or has been deleted.

  2. The credential ID is incorrect.

Solution

  1. Check whether the credential exists.

  2. Check whether the credential ID is correct.

  3. If you need to use it, create or import a DID first. For details, see [Enabling the Digital Identity].

1024600011 No permission to perform the operation.

Message

The application does not have permission to perform this operation.

Description

This error code is returned when an application that is not the DID or credential owner attempts to perform an operation without permission.

Possible causes

  1. The application attempts to access a DID or credential that does not belong to the application.

Solution

  1. Ensure that the application is the owner of the specified DID or credential.

1024600012 The number of DID keys reaches the upper limit.

Message

The number of did keys has reached the maximum limit.

Description

This error code is returned when the number of DID keys reaches the upper limit (500).

Possible causes

  1. The number of DID keys stored on the device exceeds the upper limit.

  2. The number of DID keys reaches the upper limit when you attempt to create a new DID key.

Solution

  1. Delete unnecessary DID keys.

  2. Use existing DID keys.

1024600013 The number of DIDs reaches the upper limit.

Message

The number of DIDs has reached the maximum limit.

Description

This error code is returned when the number of DIDs reaches the upper limit (50).

Possible causes

  1. The number of DIDs stored on the device exceeds the upper limit.

  2. The number of DIDs reaches the upper limit when you attempt to create a new DID.

Solution

  1. Delete unnecessary DIDs.

  2. Use existing DIDs.

1024600014 The number of credentials reaches the upper limit.

Message

The number of credentials has reached the maximum limit.

Description

This error code is generated when the number of credentials reaches the upper limit (1000).

Possible causes

  1. The number of credentials stored on the device exceeds the upper limit.

  2. The number of credentials to be imported has reached the upper limit.

Solution

  1. Delete unnecessary credentials.

  2. Use existing credentials.