目录

Result Codes

Result Code

Description

Result Code Returned By

Suggestions for Development

Suggestions for User Interaction

0

Operation successful.

-

-

-

90001

The number of cards to be activated has reached the upper limit.

canAddPass

-

Prompt the user to delete unnecessary cards in HUAWEI Wallet.

90002

Failed to check whether the type of pass can be added.

canAddPass

Verify that the passType transferred has been registered in AppGallery Connect.

-

90003

HUAWEI Wallet version is outdated.

canAddPass

-

Prompt the user to update HUAWEI Wallet to the latest version.

90004

The number of this type of passes to be added has reached the upper limit registered in AppGallery Connect.

canAddPass

-

Prompt the user to delete unnecessary cards in HUAWEI Wallet.

90007

The ROM version of the device is outdated.

canAddPass

-

Prompt the user to update the device ROM.

90008

This function is not supported by the device.

canAddPass

This result code is set by Wallet Kit to control services that have not been released. You can contact the developers of Wallet Kit to cancel the control.

-

90009

Exceeded the pass package limit.

addPass

The size of the transferred pass package exceeds the upper limit 200 KB. Change the package size.

-

91001

Operation failed.

addPass

-

This problem occasionally occurs due to network exceptions. Prompt the user to try again.

91002

The pass package is empty or data fields are incomplete.

addPass

Verify that data fields in the hwpass.json file are generated according to the rules defined by the pass package.

-

91003

Failed to save the file.

addPass

  

Prompt the user to try again.

91004

Operation canceled by the user.

addPass

-

Prompt the user to add the card again.

91008

The group corresponding to the pass type is empty.

addPass

Verify that the passType in the pass package is the same as that you set in AppGallery Connect.

-

91009

Blank card claim failed.

addPass

Submit a ticket online.

Notify the user of the operation failure.

91010

Pass package verification failed.

addPass

Verify that the certificate and private key are the same as those obtained from AppGallery Connect.

-

91011

Failed to obtain the token and device ID.

addPass

Use another test phone or submit a ticket online.

-

91012

Folder creation failed.

addPass

-

Prompt the user to try again.

91013

The pass file already exists.

addPass

Check the logic for adding passes to avoid repeated passes.

Prompt the user not to add the pass file again.

90099

Unknown error.

canAddPass, addPass

If such errors, for example, API exceptions, persist for a long time, submit a ticket online.

Prompt the user to try again.

92001

Incorrect signature.

requireAccessCardSec, modifyNFCCard

Verify that the signature obtained based on the mandatory parameters is correct.

-

92002

Failed to obtain the temporary public key.

requireAccessCardSec

Verify parameters.

-

92003

Card writing failed.

modifyNFCCard

Submit a ticket online.

Prompt the user to try again.

92004

The reason must be provided if the card is not written for the first time.

modifyNFCCard

Incorrect parameters. Please specify the reason parameter.

-

92005

User authorization not obtained.

modifyNFCCard

-

Prompt the user to perform authorization again.

93005

The parameter is not specified.

-

Incorrect parameters. Please check again.

Prompt the user to try again.

93006

HUAWEI Wallet version is outdated.

-

-

Prompt the user to update to the latest version.

93007

Not signed in to HUAWEI Wallet.

-

-

Prompt the user to sign in to HUAWEI Wallet.

93008

HUAWEI Wallet service terms have not been accepted.

-

-

Prompt the user to accept the HUAWEI Wallet service terms.

-10

The server is unavailable due to a network error.

excuteTask

-

Prompt the user to check the network status.

-11

The API is not supported.

excuteTask

Submit a ticket online.

-

1

  1. The transferred model ID has not been created.
  2. The transferred PassType (service number) has not been created.
  3. The transferred issureId is incorrect.
  4. The pass instance is already added.

excuteTask

Perform troubleshooting based on the result description.

-

2

HMS Core account is abnormal.

excuteTask

-

Prompt the user to sign in to HMS Core (APK) again.

3

Failed to insert data.

excuteTask

Verify that no parameter is missing.

-

20

Failed to add the card as the user is not the device owner.

excuteTask

-

Prompt the user to verify that the value of Current user is Owner on the Users & accounts screen of the phone.

101

JWE string verification error.

excuteTask

Verify that the private key used for encryption is correct.

-

907135001

HMS Core (APK) version is outdated.

excuteTask

-

Update HMS Core (APK) to the latest version.

11

Signature verification failed.

All APIs

Submit a ticket online.

-

If the error persists, submit a ticket online. Huawei will get back to you as soon as possible.