目录

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 issue 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

Failed to call the API of the BMS.

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.

Possible causes

  1. The device network is unstable or unavailable.

  2. An internal system error occurs.

Solution

  1. Ensure that the device can access the Internet.

  2. 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.

Possible causes

  1. The device network is unstable or unavailable.

  2. An internal system error occurs.

Solution

  1. Ensure that the device can access the Internet.

  2. 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.

Possible causes

Network error.

Solution

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

1009400003 Network Error

Message

Network error.

Description

Network error.

Possible causes

  1. The device network is unstable or unavailable. As a result, the request cannot reach the server.

  2. The AppGallery server is temporarily faulty and cannot respond to the request.

Solution

  1. Ensure that the device is properly connected to the Internet. You can switch to another network and try again.

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

1009400004 The App Is Not in the Foreground

Message

The application is not in the foreground.

Description

The app is not in the foreground.

Possible causes

When the checkAppUpdate or showUpdateDialog API is called, the app is not in the foreground and may be running in the background or minimized.

Solution

Ensure that the checkAppUpdate or showUpdateDialog API is called when the app is in the foreground.

1009400005 The User Has Not Agreed to the Privacy Policy

Message

Not agreeing to the privacy agreement.

Description

The user has not agreed to the AppGallery privacy agreement.

Possible causes

The user has not agreed to the privacy agreement when using the app for the first time.

Solution

Prompt the user to open the AppGallery client and agree to the privacy agreement.

1009400006 The Number of API Calls Exceeds the Maximum

Message

Time limited.

Description

The number of API calls exceeds the maximum.

Possible causes

Rate limiting is triggered by multiple calls to the checkAppUpdate API within a short period of time.

Solution

Avoid frequently calling the checkAppUpdate API during app launch or page loading. It is recommended that the API be called only once when the user taps the button for checking for updates, or set a proper interval (for example, at least 30 minutes).

1009400007 Other Errors

Message

Other error.

Description

Other errors.

Possible causes

  1. The device network is unstable, causing the request to be interrupted.

  2. An internal program error occurs.

Solution

  1. Ensure that the device is properly connected to the Internet. You can switch to another network and try again.

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

1009400008 Incorrect Number of Parameters for the on API

Message

The number of parameters for the on API is incorrect.

Description

The number of parameters for the on API is incorrect.

Possible causes

The number of parameters passed to the on API does not meet the API requirements.

Solution

Check the number of parameters for the on API.

1009400009 Invalid type Parameter for the on API

Message

The type parameter for the on API is invalid.

Description

The type parameter for the on API is invalid.

Possible causes

The type parameter passed to the on API is invalid.

Solution

Ensure that the input parameter type complies with the on API requirements.

1009400010 Invalid callback Parameter for the on API

Message

The callback parameter for the on API is invalid.

Description

The callback parameter for the on API is invalid.

Possible causes

The callback parameter passed to the on API is invalid.

Solution

Ensure that the input parameter callback complies with the on API requirements.

1009400011 Invalid timeout Parameter for the on API

Message

The timeout parameter for the on API is invalid.

Description

The timeout parameter for the on API is invalid.

Possible causes

The value of timeout passed to the on API does not meet the requirements. For example, the value is 0, a negative number, a decimal, a non-number value, or a number greater than 20.

Solution

Ensure that the input parameter timeout complies with the on API requirements.

1009400012 Incorrect Number of Parameters for the off API

Message

The number of parameters for the off API is incorrect.

Description

The number of parameters for the off API is incorrect.

Possible causes

The number of parameters passed to the off API does not meet the API requirements.

Solution

Check the number of parameters for the off API.

1009400013 Invalid type Parameter for the off API

Message

The type parameter for the off API is invalid.

Description

The type parameter for the off API is invalid.

Possible causes

The type parameter passed to the off API is invalid.

Solution

Ensure that the input parameter type complies with the off API requirements.

1009400014 Invalid callback Parameter for the off API

Message

The callback parameter for the off API is invalid.

Description

The callback parameter for the off API is invalid.

Possible causes

The callback parameter for the off API is invalid.

Solution

Ensure that the input parameter callback complies with the off API requirements.

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 the user to install AppGallery.

1009300002 Internal System Error

Message

System internal error.

Description

Internal system 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.

Solution

  1. Release relevant apps on AppGallery.

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

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.

1009300103 The sourceId Field Is Missing in the Request

Message

SourceId is missing in the request.

Description

The sourceId field is missing in the request.

Possible causes

The sourceId 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.

1009300110 The postbackUrl Field Is Missing in the Request

Message

PostbackUrl is missing in the request.

Description

The postbackUrl field is missing in the request.

Possible causes

The postbackUrl 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

The adSourceInfo field is missing in the API for verifying attribution sources.

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

The publickey field is missing in the API for verifying attribution sources.

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 field is missing when the API for setting attribution postback 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 Many Data Records Set for Postback in adTechId

Message

Too many postbacks setting to the testing environment.

Description

Too many data records are set for postback in the current adTechId.

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 five.

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

Solution

  1. Do not exceed five postbackInfo records for a single adTechId during postback for debugging purposes.

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

1009300116 There Is No Postback Data for the Current adTechId

Message

There is no postback to be sent of this adTechId.

Description

There is no postback data for 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 Internal System Error

Message

System internal error.

Description

Internal system 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 the user to install AppGallery.

1006700003 The App or Atomic Service Has Not Integrated the Privacy Agreement Management Service

Message

The application does not use privacy manager service.

Description

The app or atomic service has not integrated the standardized privacy statement hosting service.

Possible causes

The app or atomic service has not integrated the standardized privacy statement hosting service.

Solution

Integrate the standardized privacy statement hosting service first.

1006620001 Internal System Error

[h2]Return value parsing error

Message

System internal error. Possible cause: Return value parsing error.

Description

Failed to parse the return value.

Possible causes

  1. The checkPinShortcutPermitted API is not supported by TVs.

  2. Failed to parse the data format, type, or content of the parameters returned by the checkPinShortcutPermitted API.

Solution

  1. Do not call the checkPinShortcutPermitted API on TVs.

  2. Check whether the parameters returned by the checkPinShortcutPermitted API comply with the API specifications, including the data type, length limit, and format rules.

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

[h2]Service connect error

Message

System internal error. Possible cause: Service connect error.

Description

Service connection error.

Possible causes

  1. The network is abnormal or unavailable.

  2. Service startup failure, IPC connection failure, or other issues.

Solution

  1. Display a message to users, asking them to check the network.

  2. Prompt the user to restart the device and try again.

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

[h2]Read or write param error

Message

System internal error. Possible cause: Read or write param error.

Description

An exception occurs during the parameter read or write operation.

Possible causes

An internal error occurs during the parameter read or write operation.

Solution

  1. Prompt the user to restart the device and try again.

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

[h2]UnKnow error

Message

System internal error. Possible cause: UnKnow error.

Description

Unknown system error.

Possible causes

An unknown internal system exception has occurred, which may be caused by hardware failures, driver issues, I/O errors, or interruptions in system services.

Solution

  1. Prompt the user to restart the device and try again.

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

[h2]Failed to invoke the desktop

Message

System internal error. Possible cause: Failed to invoke the desktop.

Description

Failed to connect to the desktop service.

Possible causes

  1. The input parameters for calling the requestNewPinShortcut API do not meet the requirements.

  2. The service is not started, a network exception occurs, or an internal system error occurs.

Solution

  1. Check whether the type, format, and value range of the input parameters of the requestNewPinShortcut API are correct.

  2. Check the network and try again.

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

[h2]Request to service error

Message

System internal error. Possible cause: Request to service error.

Description

Service request error.

Possible causes

  1. The service connection fails, a network exception occurs, or an internal system error occurs.

Solution

  1. Check the network and try again.

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

1006620002 Failed to Request the Service

[h2]The phone time or network is abnormal

Message

Request to service error. Possible cause: The phone time or network is abnormal.

Description

Abnormal phone time or network exception.

Possible causes

The system time of the device is incorrectly set (for example, manually adjusted or the time zone is incorrect), or network time synchronization fails.

Solution

  1. Guide the user to check and calibrate the system time of the device and ensure that the automatic time synchronization function is enabled.

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

1006620003 The Shortcut ID Already Exists

Message

Shortcut id already exists.

Description

The shortcut ID already exists.

Possible causes

The shortcut ID passed by the app has been used to create a shortcut.

Solution

Pass a new shortcut ID.

1006620004 The Number of Shortcuts Has Reached the Maximum

Message

The number of shortcuts has reached the maximum.

Description

The number of shortcuts has reached the maximum.

Possible causes

The number of shortcuts created for the current app has reached the maximum. As a result, no more shortcuts can be created.

Solution

Prompt the user to delete existing shortcuts before creating a new one.

1006620005 Failed to Verify the Shortcut

Message

Shortcut verification failed.

Description

Failed to verify the shortcut.

Possible causes

  1. Resources associated with the shortcut failed the risk control verification.

  2. This app does not support adding shortcuts.

Solution

Check whether the shortcut resources meet the requirements and submit again after making modifications.

1006620006 The Shortcut Is Not Verified or Has Expired

Message

The shortcut is not verified or has expired.

Description

The shortcut is not verified or has expired.

Possible causes

tid, which indicates the shortcut verification result, does not exist or has expired.

Solution

Verify the shortcut again to obtain a new tid.

1006620007 The User Refused to Add a Shortcut

Message

User refused to add shortcut.

Description

The user refused to add a shortcut.

Possible causes

The user taps the Cancel button in the shortcut adding confirmation pop-up.

Solution

Create a shortcut again and wait for the user to agree to add it to the home screen.

1006620010 The Shortcut ID Does Not Exist

Message

The shortcut ID does not exist.

Description

The shortcut ID does not exist.

Possible causes

The user does not have a home screen shortcut for this app.

Solution

Check whether the home screen shortcut of this app exists.

1006620011 Invalid Context

Message

Invalid context.

Description

Invalid context.

Possible causes

An invalid context is passed when the shortcut deletion API is called.

Solution

Check the context passed to the shortcut deletion API.

1006620012 Invalid Shortcut ID

Message

Invalid shortcutId.

Description

Invalid shortcut ID.

Possible causes

An invalid shortcut ID is passed when the user deletes a shortcut.

Solution

Check whether the shortcut ID passed to the shortcut deletion API is correct.

1006620013 The User Cancels Shortcut Deletion

Message

The user refused to delete the shortcut.

Description

The user cancels shortcut deletion.

Possible causes

The user taps the Cancel button in the shortcut deletion confirmation pop-up.

Solution

Call the shortcut deletion API again and wait for the user to agree to delete the shortcut.

1006620014 Invalid Number of Parameters

Message

Invalid number of parameters.

Description

Invalid number of parameters.

Possible causes

The number of parameters passed to the shortcut deletion API does not meet the requirement.

Solution

Check whether the number of parameters passed to the shortcut deletion API is correct.

1006800001 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 the user to install AppGallery.

1006800009 Internal System Error

[h2]Service connect error

Message

System internal error. Possible cause: Service connect error.

Description

Service connection error.

Possible causes

  1. The network is abnormal or unavailable.

  2. Service startup failure, IPC connection failure, or other issues.

Solution

  1. Display a message to users, asking them to check the network.

  2. Prompt the user to restart the device and try again.

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

[h2]Read or write param error

Message

System internal error. Possible cause: Read or write param error.

Description

An exception occurs during the parameter read or write operation.

Possible causes

An internal error occurs during the parameter read or write operation.

Solution

  1. Prompt the user to restart the device and try again.

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

[h2]Request to service error

Message

System internal error. Possible cause: Request to service error.

Description

Failed to request the service.

Possible causes

  1. The service connection fails, a network exception occurs, or an internal system error occurs.

Solution

  1. Check the network and try again.

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

[h2]Return value parsing error

Message

System internal error. Possible cause: Return value parsing error.

Description

Failed to parse the return value.

Possible causes

Failed to parse the data format, type, or content of the parameters returned by the checkPinShortcutPermitted API.

Solution

  1. Check whether the parameters returned by the checkPinShortcutPermitted API comply with the API specifications, including the data type, length limit, and format rules.

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

[h2]Failed to obtain the package name of the calling party

Message

System internal error. Possible cause: Failed to obtain the package name of the calling party.

Description

Failed to obtain the package name of the calling app.

Possible causes

  1. The calling app is not successfully installed.

  2. A server-side exception or data serialization failure occurs during service connection or data transmission, indirectly causing the package name retrieval to fail.

  3. Internal system error.

Solution

  1. Run the hdc shell bm dump -a command to query the list of installed apps on the device and ensure that the bundleName of the calling app is in the list.

  2. Check the network and try again.

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

[h2]Get database module error

Message

System internal error. Possible cause: Get database module error.

Description

Failed to obtain the database module.

Possible causes

Internal error, possibly caused by an SQL execution exception, an internal state exception, or a system error such as insufficient memory or an I/O error.

Solution

Try again. If the error persists, prompt the user to restart the app or submit a ticket online. Huawei will get back to you as soon as possible.

[h2]Query dynamic icon data error

Message

System internal error. Possible cause: Query dynamic icon data error.

Description

Failed to query data of custom icons.

Possible causes

  1. The connection between the app and the icon management service is abnormal. As a result, data of custom icons cannot be obtained.

  2. The network is unstable or the server encounters an exception during the request process.

Solution

  1. Ensure that you have applied for enabling the icon management service.

  2. Check the device network and ensure that AppGallery is running properly. Then try again.

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

[h2]Not agreed to the basic agreement

Message

System internal error. Possible cause: Not agreed to the basic agreement.

Description

The developer basic service agreement has not been accepted.

Possible causes

  1. The developer basic service agreement has not been accepted.

  2. The network is unstable or the server encounters an exception during the request process.

Solution

  1. Sign in to HUAWEI Developers and check the signing status of the developer basic service agreement.

  2. Check the device network and ensure that AppGallery is running properly. Then try again.

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

[h2]Failed to decrypt the folder.

Message

System internal error. Possible cause: Failed to decrypt the folder.

Description

Failed to decrypt the folder.

Possible causes

  1. Internal runtime exception.

  2. The system service connection fails or an internal state exception occurs.

Solution

  1. Try again.

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

[h2]Failed to obtain the resource management module

Message

System internal error. Possible cause: Failed to obtain the resource management module.

Description

Failed to obtain the resource management module.

Possible causes

  1. The resource management module is locked by another process.

  2. The resource management module encounters an exception.

Solution

  1. Restart the app and try again.

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

1006800010 No Information About Custom Icons

Message

No dynamic icon data.

Description

There is no information about custom icons.

Possible causes

  1. You have not applied for a custom icon.

  2. The custom icon you have applied for has not been approved.

  3. You have not applied for a custom icon for the current device type.

Solution

  1. Sign in to AppGallery Connect and check whether you have applied for a custom icon.

  2. Check whether the custom icon has been approved. If not, view the review comments on the icon information page, modify the icon based on the comments, and submit it for review again.

  3. Check whether you have applied for a custom icon for the current device type. If not, submit a request for the device type in AppGallery Connect and wait for the request to be approved.

1006800011 Failed to Select a Custom Icon

[h2]Enable dynamic icons error

Message

Select dynamic icon failed. Possible cause: Enable dynamic icons error.

Description

Failed to enable a custom icon.

Possible causes

Failed to call the BMS to enable the custom icon.

Solution

  1. Restart the device or try again later.

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

[h2]Failed to query the module name

Message

Select dynamic icon failed. Possible cause: Failed to query the module name.

Description

Failed to query the module name.

Possible causes

  1. The name of the custom icon module is not configured in the system or the icon data does not exist.

  2. An internal program error occurs.

Solution

  1. Clear the device cache, restart the device, and try again.

  2. Sign in to AppGallery Connect and check whether the icon information has taken effect.

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

1006800012 Failed to Revert to the Default Icon

Message

Disable dynamic icon failed.

Description

Failed to revert to the default icon.

Possible causes

The current icon is already the default one.

Solution

Switch to a custom icon and then call the API for reverting to the default icon.

1006800013 Failed to Select a Custom Icon Because a Custom Theme Icon Is in Use

Message

Failed to switch to the custom icon because a custom theme icon is currently in use.

Description

Failed to select a custom icon because a custom theme icon is in use.

Possible causes

This app is using a custom icon defined by the device theme.

Solution

  1. Go to Settings > Home screen & style or Themes > Official Themes, and switch to an official theme.

  2. Call appInfoManager.selectDynamicIcon to set a custom icon again.

1021500001 Internal System Error

Message

Internal system error.

Description

Internal system error.

Possible causes

An error occurs in the system.

Solution

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

1021500002 Failed to Request the Service

Message

Service request failed.

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.

1021500003 Failed to Connect to AppGallery

Message

Failed to connect to AppGallery.

Description

Failed to connect to AppGallery.

Possible causes

AppGallery has not been installed.

Solution

Ask the user to install AppGallery.

1021500004 Failed to Write Parameters

[h2]get appInfo failed or init coment SDK failed

Message

Failed to write parameters, possible cause: get appInfo failed or init coment SDK failed.

Description

Failed to obtain app information or failed to initialize the SDK of the app review service.

Possible causes

  1. The network is unstable or unavailable.

  2. The SDK failed to be initialized or is not correctly called.

Solution

  1. Ensure that the device can access the Internet.

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

1021500005 Invalid App Context

Message

The app context is invalid.

Description

Invalid app context.

Possible causes

The app context is invalid. Only uiAbilityContext or uiExtensionContext is supported.

Solution

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

1021500006 HUAWEI ID Not Signed In

Message

The user has not signed in to their HUAWEI ID.

Description

No HUAWEI ID is signed in.

Possible causes

The user has not signed in to their HUAWEI ID on AppGallery.

Solution

Instruct the user to sign in to their HUAWEI ID on AppGallery.

1021500007 The User Has Already Reviewed the Current Version

Message

The user has already commented on the current version.

Description

The user has already reviewed the current version.

Possible causes

The user has already reviewed the current version.

Solution

Display a rating pop-up only after a new version is released and at least one year has passed since the previous review from the user.

1021500008 Maximum Rating Pop-up Count Reached

Message

The number of comments has reached the maximum limit.

Description

The number of times that the rating pop-up is displayed has reached the upper limit.

Possible causes

The number of times that the rating pop-up is displayed has reached the upper limit.

Solution

Display a rating pop-up only after a new version is released and at least one year has passed since the previous review from the user.

1021500009 Already Rated Within One Year

Message

The user has already left a comment, and less than a year has elapsed since then.

Description

The current version has already been rated, and less than one year has passed since the last rating.

Possible causes

The current version has already been rated, and less than one year has passed since the last rating.

Solution

Display a rating pop-up only after a new version is released and at least one year has passed since the previous review from the user.