目录

ArkTS API Error Codes

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.

1006500001 Failed to Call the BMS

Message

Failed to invoke the BMS.

Description

Failed to call the API of the Bundle Manager Service (BMS).

Possible causes

An error occurs when the BMS API is called.

Solution

Try again or submit a ticket online. Huawei will get back to you as soon as possible.

1006500002 The API Is Called Repeatedly with the Same Input

Message

The interface is called repeatedly with the same input.

Description

The API is called repeatedly with the same input.

Possible causes

The same API has already been called.

Solution

Check whether the API has already been called or submit a ticket online. Huawei will get back to you as soon as possible.

1006500004 Service Exception

Message

SA connection failed.

Description

Service exception.

Solution

Try again or submit a ticket online. Huawei will get back to you as soon as possible.

1006500006 The off API Is Not Used Together with the on API

Message

The interface is not used together with "on".

Description

The off API is not used together with the on API.

Possible causes

The off API is not used together with the on API.

Solution

Check whether an on event has been registered or submit a ticket online. Huawei will get back to you as soon as possible.

1006500007 Failed to Connect to the Service

Message

The specified service extension connect failed.

Description

Failed to connect to the service.

Possible causes

Failed to connect to AppGallery.

Solution

Try again or contact technical support.

1006500008 Failed to Write Parameters

Message

Write param into container failed.

Description

Failed to write parameters.

Possible causes

Failed to write parameters to the memory.

Solution

Submit a ticket online. Huawei will get back to you as soon as possible.

1006500009 Failed to Request the Service

Message

Request to service error.

Description

Failed to request the service.

Possible causes

Network error.

Solution

Check the network or submit a ticket online. Huawei will get back to you as soon as possible.

1006500010 Response Parameters Cannot Be Parsed

Message

Response from service cannot be recognized.

Description

Response parameters cannot be parsed.

Possible causes

The response data format is invalid.

Solution

Check the data format or submit a ticket online. Huawei will get back to you as soon as possible.

1009400001 Service Exception

Message

SA connect error.

Description

Service exception.

Solution

Try again or submit a ticket online. Huawei will get back to you as soon as possible.

1009400002 Failed to Send a Request to the Server

Message

Request to service error.

Description

Failed to send a request to the server.

Solution

Try again or submit a ticket online. Huawei will get back to you as soon as possible.

1009400003 Network Error

Message

Network error.

Description

Network error.

Solution

Check the network or try again.

1009400004 The App Is Not in the Foreground

Message

The application is not in the foreground.

Description

The app is not in the foreground.

Solution

Call the API when the app is in the foreground.

1009400005 Users Have Not Agreed to the Privacy Policy

Message

Not agreeing to the privacy agreement.

Description

Users have not agreed to the privacy policy.

Solution

Ask users to agree to the privacy policy on AppGallery.

1009400006 The Number of API Calls Exceeds the Maximum

Message

Time limited.

Description

The number of API calls exceeds the maximum.

Solution

Try again or submit a ticket online. Huawei will get back to you as soon as possible.

1009400007 Other Errors

Message

Other error.

Description

Other errors.

Solution

Try again or submit a ticket online. Huawei will get back to you as soon as possible.

1009300001 Failed to Connect to AppGallery

Message

The specified service extension connect failed.

Description

Failed to connect to AppGallery.

Possible causes

AppGallery has not been installed.

Solution

Ask users to install AppGallery.

1009300002 System Internal Error

Message

System internal error.

Description

System internal error.

Possible causes

An error occurs in the system.

Solution

Submit a ticket online. Huawei will get back to you as soon as possible.

1009300003 Identity Verification Error

Message

The identity check error.

Description

An error occurs during identity verification.

Possible causes

1. The value of sourceId cannot be obtained during the registration of an attribution source.

2. The value of destinationId cannot be obtained during the registration of a conversion event.

3. The information about the ad ecosystem partner has not been registered on the cloud platform of the app attribution service, or the information has been deleted.

4. No app ID list has been configured for the advertiser.

Solution

1. Release relevant apps on AppGallery.

2. Register information about the ad ecosystem partner on the cloud platform of the app attribution service.

3. Configure an app ID list when the attribution role is an advertiser.

1009300004 Failed to Verify the Signature

Message

The sign check error.

Description

Failed to verify the signature.

Possible causes

1. The character string used for generating a signature does not comply with the rule.

2. The public key does not match the private key.

3. The value of signature contains more than 800 characters.

Solution

1. Check whether the character string used for generating a signature complies with the rule.

2. Check whether the public and private keys match.

3. Check the value length of the signature parameter.

1009300101 The adTechId Field Is Missing in the Request

Message

AdTechId is missing in the request.

Description

The adTechId field is missing in the request.

Possible causes

The adTechId field is missing in the input parameters for calling the API.

Solution

Check whether the input parameters for calling the API meet the requirements.

1009300102 The campaignId Field Is Missing in the Request

Message

CampaignId is missing in the request.

Description

The campaignId field is missing in the request.

Possible causes

The campaignId field is missing in the input parameters for calling the API.

Solution

Check whether the input parameters for calling the API meet the requirements.

1009300104 The destinationId Field Is Missing in the Request

Message

DestinationId is missing in the request.

Description

The destinationId field is missing in the request.

Possible causes

The destinationId field is missing in the input parameters for calling the API.

Solution

Check whether the input parameters for calling the API meet the requirements.

1009300105 The sourceType Field Is Missing in the Request

Message

SourceType is missing in the request.

Description

The sourceType field is missing in the request.

Possible causes

The sourceType field is missing in the input parameters for calling the API.

Solution

Check whether the input parameters of the API for verifying attribution sources meet the requirements.

1009300106 The nonce Field Is Missing in the Request

Message

Nonce is missing in the request.

Description

The nonce field is missing in the request.

Possible causes

The nonce field is missing in adSourceInfo.

Solution

Check whether the value of adSourceInfo meets the input parameter requirements.

1009300107 The timestamp Field Is Missing in the Request

Message

Timestamp is missing in the request.

Description

The timestamp field is missing in the request.

Possible causes

The timestamp field is missing in adSourceInfo.

Solution

Check whether the value of adSourceInfo meets the input parameter requirements.

1009300108 The signature Field Is Missing in the Request

Message

Signature is missing in the request.

Description

The signature field is missing in the request.

Possible causes

The signature field is missing in adSourceInfo.

Solution

Check whether the value of adSourceInfo meets the input parameter requirements.

1009300109 The triggerData Field Is Missing in the Request

Message

TriggerData is missing in the request.

Description

The triggerData field is missing in the request.

Possible causes

The triggerData field is missing in PostbackInfo.

Solution

Check whether the PostbackInfo parameter of the API for setting attribution postback meets the input parameter requirements.

1009300111 The adSourceInfo Field Is Missing in the Request

Message

AdSourceInfo is missing in the request.

Description

The adSourceInfo field is missing in the request.

Possible causes

Check whether the adSourceInfo parameter of the API for verifying attribution sources meets the input parameter requirements.

Solution

Check whether the parameters for calling the API meet the requirements.

1009300112 The publickey Field Is Missing in the Request

Message

PublicKey is missing in the request.

Description

The publickey field is missing in the request.

Possible causes

Check whether the publickey parameter of the API for verifying attribution sources meets the input parameter requirements.

Solution

Check whether the parameters for calling the API meet the requirements.

1009300113 The postbackInfo Field Is Missing in the Request

Message

PostbackInfo is missing in the request.

Description

The postbackInfo field is missing in the request.

Possible causes

The postbackInfo parameter is missing when the attribution postback setting API is called.

Solution

Check whether the parameters for calling the API meet the requirements.

1009300114 Failed to Verify the Signature

Message

The signature verification failed in the testing environment.

Description

Signature verification failed when the API for verifying attribution sources was called.

Possible causes

1. The character string used for generating a signature does not comply with the rule.

2. The public key does not match the private key.

3. The value of signature contains more than 800 characters.

Solution

1. Check whether the character string used for generating a signature complies with the rule.

2. Check whether the public and private keys match.

3. Check the value length of the signature parameter.

1009300115 Too Much Data Set for Postback in adTechId

Message

Too many postbacks setting to the testing environment.

Description

Too much data is set in adTechId for postback.

Possible causes

1. The overload protection check is activated when the API for setting attribution postback is called, and the number of data records that need to be posted back for debugging purposes in a single adTechId exceeds 5.

2. The number of records to be posted back exceeds 100.

Solution

1. For a single adTechId, the number of postbackInfo records to be posted back for debugging purposes should not exceed 5.

2. Limit the number of records for postback to a maximum of 100.

1009300116 No Data for Postback Exists Under the Current adTechId

Message

There is no postback to be sent of this adTechId.

Description

No data for postback exists under the current adTechId.

Possible causes

There is no data to be posted back under adTechId.

Solution

Call the API for setting attribution postback to set an attribution record to be posted back.

1009300117 Failed to Post Back the Attribution Result

Message

Failed to send postbacks to the postbackUrl.

Description

Failed to send a postback request to the URL for receiving the attribution result.

Possible causes

The URL for receiving the attribution result is incorrect.

Solution

Ensure that the URL for receiving the attribution result is correct.

1009300119 Network Error

Message

Network error.

Description

Network error.

Possible causes

Network error.

Solution

Check the network or try again.

1009300120 Requests Are Too Frequent

Message

Request too frequent.

Description

The API for posting back the attribution result is called too frequently.

Possible causes

The API for posting back the attribution result is called more than once within 5 seconds.

Solution

Ensure that the API for posting back the attribution result is called at most once within 5 seconds for each device.

1006700001 System Internal Error

Message

System internal error.

Description

System internal error.

Possible causes

An error occurs in the system.

Solution

Submit a ticket online. Huawei will get back to you as soon as possible.

1006700002 Failed to Connect to AppGallery

Message

The specified service extension connect failed.

Description

Failed to connect to AppGallery.

Possible causes

AppGallery has not been installed.

Solution

Ask users to install AppGallery.