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.
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.
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.
Message
SA connection failed.
Description
Service exception.
Possible causes
The device network is unstable or unavailable.
An internal system error occurs.
Solution
Ensure that the device can access the Internet.
Try again or submit a ticket online. Huawei will get back to you as soon as possible.
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.
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.
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.
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.
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.
Message
SA connect error.
Description
Service exception.
Possible causes
The device network is unstable or unavailable.
An internal system error occurs.
Solution
Ensure that the device can access the Internet.
Try again or submit a ticket online. Huawei will get back to you as soon as possible.
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.
Message
Network error.
Description
Network error.
Possible causes
The device network is unstable or unavailable. As a result, the request cannot reach the server.
The AppGallery server is temporarily faulty and cannot respond to the request.
Solution
Ensure that the device is properly connected to the Internet. You can switch to another network and try again.
Submit a ticket online. Huawei will get back to you as soon as possible.
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.
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.
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).
Message
Other error.
Description
Other errors.
Possible causes
The device network is unstable, causing the request to be interrupted.
An internal program error occurs.
Solution
Ensure that the device is properly connected to the Internet. You can switch to another network and try again.
Submit a ticket online. Huawei will get back to you as soon as possible.
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.
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.
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.
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.
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.
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.
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.
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.
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.
Message
The identity check error.
Description
An error occurs during identity verification.
Possible causes
The value of sourceId cannot be obtained during the registration of an attribution source.
The value of destinationId cannot be obtained during the registration of a conversion event.
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
Release relevant apps on AppGallery.
Register information about the ad ecosystem partner on the cloud platform of the app attribution service.
Message
The sign check error.
Description
Failed to verify the signature.
Possible causes
The character string used for generating a signature does not comply with the rule.
The public key does not match the private key.
The value of signature contains more than 800 characters.
Solution
Check whether the character string used for generating a signature complies with the rule.
Check whether the public and private keys match.
Check the value length of the signature parameter.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
Message
The signature verification failed in the testing environment.
Description
Signature verification failed when the API for verifying attribution sources was called.
Possible causes
The character string used for generating a signature does not comply with the rule.
The public key does not match the private key.
The value of signature contains more than 800 characters.
Solution
Check whether the character string used for generating a signature complies with the rule.
Check whether the public and private keys match.
Check the value length of the signature parameter.
Message
Too many postbacks setting to the testing environment.
Description
Too many data records are set for postback in the current adTechId.
Possible causes
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.
The number of records to be posted back exceeds 100.
Solution
Do not exceed five postbackInfo records for a single adTechId during postback for debugging purposes.
Limit the number of records for postback to a maximum of 100.
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.
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.
Message
Network error.
Description
Network error.
Possible causes
Network error.
Solution
Check the network or try again.
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.
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.
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.
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.
Message
System internal error. Possible cause: Return value parsing error.
Description
Failed to parse the return value.
Possible causes
The checkPinShortcutPermitted API is not supported by TVs.
Failed to parse the data format, type, or content of the parameters returned by the checkPinShortcutPermitted API.
Solution
Do not call the checkPinShortcutPermitted API on TVs.
Check whether the parameters returned by the checkPinShortcutPermitted API comply with the API specifications, including the data type, length limit, and format rules.
Submit a ticket online. Huawei will get back to you as soon as possible.
Message
System internal error. Possible cause: Service connect error.
Description
Service connection error.
Possible causes
The network is abnormal or unavailable.
Service startup failure, IPC connection failure, or other issues.
Solution
Display a message to users, asking them to check the network.
Prompt the user to restart the device and try again.
Submit a ticket online. Huawei will get back to you as soon as possible.
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
Prompt the user to restart the device and try again.
Submit a ticket online. Huawei will get back to you as soon as possible.
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
Prompt the user to restart the device and try again.
Submit a ticket online. Huawei will get back to you as soon as possible.
Message
System internal error. Possible cause: Failed to invoke the desktop.
Description
Failed to connect to the desktop service.
Possible causes
The input parameters for calling the requestNewPinShortcut API do not meet the requirements.
The service is not started, a network exception occurs, or an internal system error occurs.
Solution
Check whether the type, format, and value range of the input parameters of the requestNewPinShortcut API are correct.
Check the network and try again.
Submit a ticket online. Huawei will get back to you as soon as possible.
Message
System internal error. Possible cause: Request to service error.
Description
Service request error.
Possible causes
Solution
Check the network and try again.
Submit a ticket online. Huawei will get back to you as soon as possible.
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
Guide the user to check and calibrate the system time of the device and ensure that the automatic time synchronization function is enabled.
Check the network or submit a ticket online. Huawei will get back to you as soon as possible.
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.
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.
Message
Shortcut verification failed.
Description
Failed to verify the shortcut.
Possible causes
Resources associated with the shortcut failed the risk control verification.
This app does not support adding shortcuts.
Solution
Check whether the shortcut resources meet the requirements and submit again after making modifications.
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.
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.
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.
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.
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.
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.
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.
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.
Message
System internal error. Possible cause: Service connect error.
Description
Service connection error.
Possible causes
The network is abnormal or unavailable.
Service startup failure, IPC connection failure, or other issues.
Solution
Display a message to users, asking them to check the network.
Prompt the user to restart the device and try again.
Submit a ticket online. Huawei will get back to you as soon as possible.
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
Prompt the user to restart the device and try again.
Submit a ticket online. Huawei will get back to you as soon as possible.
Message
System internal error. Possible cause: Request to service error.
Description
Failed to request the service.
Possible causes
Solution
Check the network and try again.
Submit a ticket online. Huawei will get back to you as soon as possible.
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
Check whether the parameters returned by the checkPinShortcutPermitted API comply with the API specifications, including the data type, length limit, and format rules.
Submit a ticket online. Huawei will get back to you as soon as possible.
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
The calling app is not successfully installed.
A server-side exception or data serialization failure occurs during service connection or data transmission, indirectly causing the package name retrieval to fail.
Internal system error.
Solution
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.
Check the network and try again.
Submit a ticket online. Huawei will get back to you as soon as possible.
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.
Message
System internal error. Possible cause: Query dynamic icon data error.
Description
Failed to query data of custom icons.
Possible causes
The connection between the app and the icon management service is abnormal. As a result, data of custom icons cannot be obtained.
The network is unstable or the server encounters an exception during the request process.
Solution
Ensure that you have applied for enabling the icon management service.
Check the device network and ensure that AppGallery is running properly. Then try again.
If the error persists, submit a ticket online. Huawei will get back to you as soon as possible.
Message
System internal error. Possible cause: Not agreed to the basic agreement.
Description
The developer basic service agreement has not been accepted.
Possible causes
The developer basic service agreement has not been accepted.
The network is unstable or the server encounters an exception during the request process.
Solution
Sign in to HUAWEI Developers and check the signing status of the developer basic service agreement.
Check the device network and ensure that AppGallery is running properly. Then try again.
If the error persists, submit a ticket online. Huawei will get back to you as soon as possible.
Message
System internal error. Possible cause: Failed to decrypt the folder.
Description
Failed to decrypt the folder.
Possible causes
Internal runtime exception.
The system service connection fails or an internal state exception occurs.
Solution
Try again.
If the error persists, submit a ticket online. Huawei will get back to you as soon as possible.
Message
System internal error. Possible cause: Failed to obtain the resource management module.
Description
Failed to obtain the resource management module.
Possible causes
The resource management module is locked by another process.
The resource management module encounters an exception.
Solution
Restart the app and try again.
If the error persists, submit a ticket online. Huawei will get back to you as soon as possible.
Message
No dynamic icon data.
Description
There is no information about custom icons.
Possible causes
You have not applied for a custom icon.
The custom icon you have applied for has not been approved.
You have not applied for a custom icon for the current device type.
Solution
Sign in to AppGallery Connect and check whether you have applied for a custom icon.
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.
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.
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
Restart the device or try again later.
If the error persists, submit a ticket online. Huawei will get back to you as soon as possible.
Message
Select dynamic icon failed. Possible cause: Failed to query the module name.
Description
Failed to query the module name.
Possible causes
The name of the custom icon module is not configured in the system or the icon data does not exist.
An internal program error occurs.
Solution
Clear the device cache, restart the device, and try again.
Sign in to AppGallery Connect and check whether the icon information has taken effect.
If the error persists, submit a ticket online. Huawei will get back to you as soon as possible.
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.
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
Go to Settings > Home screen & style or Themes > Official Themes, and switch to an official theme.
Call appInfoManager.selectDynamicIcon to set a custom icon again.
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.
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.
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.
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
The network is unstable or unavailable.
The SDK failed to be initialized or is not correctly called.
Solution
Ensure that the device can access the Internet.
Try again. If the error persists, submit a ticket online. Huawei will get back to you as soon as possible.
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.
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.
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.
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.
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.