This section describes only module-specific error codes. For details about universal error codes, please refer to Universal Error Codes.
Message
No permission to access the Wallet APIs.
Description
Identity verification failed for a third-party app.
Possible causes
The app is not authorized to call Wallet Kit APIs.
Solution
Sign up with AppGallery Connect and integrate Wallet Kit into your app.
Contact the contact person of Wallet Kit and request the permission to call Wallet Kit APIs.
If the problem persists, submit a ticket online.
Message
Wallet app not found.
Description
HUAWEI Wallet has not been installed on the device.
Possible causes
HUAWEI Wallet has not been installed on the device.
Solution
Download and install HUAWEI Wallet from AppGallery.
Message
The environment of the wallet is not ready.
Description
The environment of HUAWEI Wallet has not been prepared.
Possible causes
The user has not agreed to the user agreement.
The user has not signed in with HUAWEI ID.
Solution
Open HUAWEI Wallet, agree to the user agreement, and sign in with HUAWEI ID.
Message
The device does not support this card.
Description
The current device does not support activating this card.
Possible causes
The device model is not supported, or the HUAWEI Wallet version is out of date.
Solution
Check the device model and software version.
Message
The operation was canceled by the user.
Description
The user has canceled the operation.
Possible causes
The user taps the cancel button.
Solution
Check the logs for user cancellation details.
Message
The device's remote paired watch cannot be connected.
Description
Failed to connect to the paired watch.
Possible causes
Failed to connect to the paired watch.
Solution
Check the connection status of the watch.
Message
The OS version is too old. Please upgrade the OS version.
Description
The OS version of the device is out of date.
Possible causes
The OS version of the device is out of date.
Solution
Upgrade the device OS.
Message
The wallet version is too old. Please upgrade the wallet version.
Description
The HUAWEI Wallet version is out of date.
Possible causes
The HUAWEI Wallet version is out of date.
Solution
Upgrade HUAWEI Wallet.
Message
The chip space is full, and no more cards can be added.
Description
The chipset storage is insufficient.
Possible causes
The chipset storage is full.
Solution
Delete unnecessary cards.
If the problem persists, submit a ticket online.
Message
Network connection error.
Description
Network connection failed.
Possible causes
Network unavailable.
Solution
Enable the network and connect again.
Message
Failed to initialize the environment.
Description
Failed to initialize the environment for HUAWEI Wallet.
Possible causes
The user has not agreed to the user agreement.
The user has not signed in with HUAWEI ID.
Solution
Open HUAWEI Wallet and agree to the user agreement.
Sign in with HUAWEI ID.
Message
Duplicate request.
Description
Duplicate request.
Possible causes
A new request is initiated before the previous request is completed.
Solution
Send a new request after the previous request is completed.
Message
Operation failed because of an internal error.
Description
An internal error occurred in HUAWEI Wallet.
Possible causes
An internal error occurred in HUAWEI Wallet.
Solution
Message
The Wallet APIs can be called by the device owner only.
Description
HUAWEI Wallet is used by a user who is not the owner.
Possible causes
The user has switched to guest mode or private space.
Solution
Switch to the owner account.
Message
This card is not available for a child account.
Description
Child accounts do not support this card.
Possible causes
The user has switched to a child account.
Solution
Switch to a non-child account.
Message
This card is not available for the current country or region.
Description
This card does not support the current country or region.
Possible causes
No transportation card is available in the current country or region.
Solution
Switch the service area to the Chinese mainland.
Message
The Wallet app was closed by the user.
Description
The user has closed HUAWEI Wallet.
Possible causes
The user has closed HUAWEI Wallet.
Solution
Tap and open HUAWEI Wallet.
Message
Failed to verify the caller token.
Description
Failed to verify the caller token.
Possible causes
The token passed is incorrect.
Solution
Verify that the token is correct.
Message
The card already exists in the specified device.
Description
The card already exists.
Possible causes
The card has already been activated on the device.
Solution
Delete this card.
Message
The card does not exist in the specified device.
Description
The card does not exist on the current device.
Possible causes
The card has been deleted or has not been activated.
Solution
Activate the card first.
Message
The number of cards has reached the upper limit.
Description
The number of cards activated has reached the upper limit.
Possible causes
The number of cards activated has reached the upper limit.
Solution
Delete unnecessary cards.
Message
Bluetooth permission is not granted.
Description
The user has not granted the Bluetooth permission to HUAWEI Wallet.
Possible causes
The Bluetooth permission has not been granted.
Solution
Grant the Bluetooth permission.
Message
Failed to add the card because the signature verification failed.
Description
Failed to verify the signature during card activation.
Possible causes
The signature algorithms of the input parameters are inconsistent or the signature content is incorrect.
Solution
Verify the input parameters.
Message
Failed to add the card because the data decryption failed.
Description
Failed to parse data during card activation.
Possible causes
The input parameters are encrypted abnormally.
Solution
Verify the input parameters.
Message
Failed to add the card because the instance ID does not exist.
Description
The instance does not exist during card activation.
Possible causes
The input parameter instance does not exist.
Solution
Check the input parameter instance.
Message
Failed to add the card because the instance ID has been used.
Description
The instance already exists during card activation.
Possible causes
The input parameter instance already exists.
Solution
Check the input parameter instance.
Message
No card that meets the search criteria is found.
Description
No card was found.
Possible causes
No card was found.
Solution
Check the service ID in input parameters and the activation process in code.
Message
Failed to update the card because no update is detected.
Description
No update was found for the card.
Possible causes
No update was found for the card.
Solution
Check the card update process.
Message
Failed to delete the card because the signature verification failed.
Description
Failed to delete the card due to a certification verification error.
Possible causes
The certificate does not match the card to be deleted.
Solution
Check the card deletion process.
Message
Connection failed because the pairing code is not obtained.
Description
Failed to obtain the pairing code during Bluetooth connection.
Possible causes
The Bluetooth link or protocol is abnormal.
Solution
Verify that the interface for obtaining the pairing code can respond normally.
Message
Registration failed because of duplicate register name.
Description
The listener has already been registered.
Possible causes
A listener with the same name has already been registered.
Solution
Check the listener registration process.
Message
The registration may have been unregistered before.
Description
The listener has already been unregistered.
Possible causes
The listener with the same name has already been unregistered.
Solution
Check the listener unregistration process.
Message
Failed to send the RKE message because of a connection failure.
Description
Failed to send a car control message due to Bluetooth disconnection.
Possible causes
Bluetooth is disconnected.
Solution
Check the Bluetooth connection process.
Message
Failed to send the RKE message because of an authentication failure.
Description
Failed to send a car control message due to Bluetooth authentication failure.
Possible causes
Bluetooth authentication failed.
Solution
Obtain Bluetooth air interface information and check whether the authentication process is normal.
If the problem persists, submit a ticket online.
Message
The card status is not correct.
Description
Failed to obtain card information due to invalid card status.
Possible causes
The card is not activated properly.
Solution
Call the getCardMetadataInDevice API to check whether the card exists and has been activated.
Message
Failed to read the card data.
Description
Failed to read card data.
Possible causes
No card was found based on the input parameter.
Solution
Call the getCardMetadataInDevice API to check whether the card exists and has been activated.
Message
The device does not support adding the card specified by issuerId.
Description
Failed to add the card specified by issuerId for the specified device.
Possible causes
Failed to add the card specified by issuerId for the specified device.
Solution
Verify that issuerId is set for the device on the management console.
Message
A card conflicting with the specified card already exists in the device.
Description
The card specified by issuerId has already been activated on the specified device.
Possible causes
The card specified by issuerId has already been activated on the specified device.
Solution
Check whether the card has already been activated.
Message
The specified card already exists.
Description
The card specified by issuerId already exists.
Possible causes
The card specified by issuerId already exists.
Solution
Check whether the card has already been activated.
Message
The card adding conditions are not met. The order can be refunded to end the card addition process.
Description
The addCardToken has expired.
Possible causes
The addCardToken has expired.
Solution
The token has expired. Call the API to apply for a new token.
Message
Failed to confirm the order. The order can be refunded to end the card addition process.
Description
Failed to confirm the order. The order can be refunded.
Possible causes
The serverOrderId passed is incorrect or in incorrect state, or the service provider server does not return correct data to the HUAWEI Wallet server.
Solution
Verify that the serverOrderId and its status are correct, and the service provider server has returned data as expected.
Message
Failed to add the card.
Description
Failed to activate the card.
Possible causes
The chipset storage is insufficient, or card writing failed.
Solution
Verify that the card activation conditions are met.
Message
The specified card does not exist.
Description
The specified card does not exist.
Possible causes
The specified card does not exist.
Solution
Check whether the card to be topped up has been deleted.
Message
The status of the specified card is incorrect.
Description
The status of the card specified by cardNumber is abnormal.
Possible causes
The status of the card specified by cardNumber is abnormal.
Solution
Verify that the status of the card is normal.
Message
Failed to confirm the order. The order can be refunded to end the recharging process.
Description
Failed to confirm the order. The order can be refunded.
Possible causes
The serverOrderId passed is incorrect or in incorrect state, or the service provider server does not return correct data to the HUAWEI Wallet server.
Solution
Verify that the serverOrderId and its status are correct, and the service provider server has returned data as expected.
Message
Failed to recharge the card.
Description
Top-up failed.
Possible causes
Top-up failed.
Solution
Check parameter settings.
Message
The specified card does not exist.
Description
The specified card does not exist.
Possible causes
The card specified by cardNumber does not exist.
Solution
Verify that cardNumber is correct.
Message
The status of the specified card is incorrect.
Description
The status of the card specified by cardNumber is abnormal.
Possible causes
The status of the card specified by cardNumber is abnormal.
Solution
Call the updateTransitCard API again.
Message
Failed to confirm the order.
Description
Failed to confirm the order.
Possible causes
The serverOrderId passed is incorrect or in incorrect state, or the service provider server does not return correct data to the HUAWEI Wallet server.
Solution
Verify that the serverOrderId and its status are correct, and the service provider server has returned data as expected.
Message
Failed to update the card data.
Description
Failed to update the card.
Possible causes
Failed to update the card.
Solution
Call the updateTransitCard API again.
Message
Failed to confirm the order.
Description
Failed to confirm the order.
Possible causes
The serverOrderId passed is incorrect or in incorrect state, or the service provider server does not return correct data to the HUAWEI Wallet server.
Solution
Verify that the serverOrderId and its status are correct, and the service provider server has returned data as expected.
Message
The card deleting failed.
Description
Failed to delete the card.
Possible causes
Failed to delete the card.
Solution
Call the getCardMetadataInDevice API to check whether the card exists and has been activated.