目录

REST API Result Codes

If the error persists, go to Submit ticket online, select the relevant topic, and submit your ticket. Huawei will get back to you as soon as possible.

Value

MSG

Description

Solution

0

IAP_RESPONSE_RESULT_OK

Success.

N/A

1001880005

IAP_APP_IAP_NOT_ACTIVATED

The IAP service is not enabled.

Enable the IAP service for your app in AppGallery Connect.

1001880006

IAP_RESPONSE_RESULT_ERROR

A critical error occurs during API operations.

Fix the error based on the error information in the response.

1001880008

IAP_RESPONSE_RESULT_ITEM_NOT_OWNED

The delivery failed because the user does not own the product.

Make sure that acknowledging the delivery is performed after a successful purchase. Then, you also need to ensure that the input parameters in the API call request are correct.

1001880009

IAP_RESPONSE_RESULT_ITEM_CONSUMED_OR_ACKNED

Acknowledging the delivery is already complete for a consumable, and no more delivery acknowledgement is allowed. A non-consumable can be purchased only once and delivered only once.

Check why repeated API calls occur and further optimize the project logic. If process check and suggestions are required, contact Huawei technical support.

1001880010

IAP_RESPONSE_RESULT_HIGHTRISK

The operation is rejected because the user account has a high risk.

Use another account or register a new account if no other account is available.

1001880011

IAP_USER_ACCOUNT_INVALID

The user account is abnormal, for example, the account has been deregistered.

Use another account or register a new account if no other account is available.

1001880012

IAP_RECORD_NOT_EXIST

The order does not exist. Only the latest order of a product can be queried. The order in this query may be a historical order.

Token verification is unnecessary for a historical order under normal circumstances, and IAP Kit only allows for token verification for the latest order of a product. Check your integration process to make sure it complies with that described in the development guide.

1001880020

IAP_RESPONSE_RESULT_REPEAT_SHIP_CONFIRM

Acknowledging the delivery is already complete for a subscription, and no more delivery acknowledgement is allowed.

Check why repeated API calls occur and further optimize the project logic. If process check and suggestions are required, contact Huawei technical support.