Widget Error Codes
NOTE
This topic describes only module-specific error codes. For details about universal error codes, see Universal Error Codes.
16500050 IPC Failure
Error Message
IPC connection error.
Description
An error occurs when the system initiates inter-process communications (IPC) to complete the request.
Possible Causes
The parameter value passed in the API is too large, causing IPC data verification failure.
Solution
Pass appropriate parameter values.
16500060 Service Connection Failure
Error Message
Service connection error.
Description
An error occurs when the system attempts to connect to a service to complete the request.
Possible Causes
- The widget is in the initialization state.
- The system is busy.
Solution
- Reconnect to the service.
- Restart the device.
16500100 Failed to Obtain Widget Configuration Information
Error Message
Failed to obtain configuration information.
Description
An error occurs when the system attempts to obtain widget configuration information to complete the request.
Possible Causes
The widget configuration information field is missing or invalid.
Solution
Use the correct configuration information.
16501000 Internal Function Error
Error Message
An internal functional error occurred.
Description
An internal error occurs when the system executes the request.
Possible Causes
An internal service execution exception occurs.
Solution
Try again after the system is restarted.
16501001 Widget ID Not Exist
Error Message
The ID of the form to be operated does not exist.
Description
The specified widget in the request is not found.
Possible Causes
The widget ID passed in the API does not exist or is invalid.
Solution
Use a valid widget ID.
16501002 Too Many Widgets
Error Message
The number of forms exceeds the maximum allowed.
Description
The application attempts to add more widgets when the number of widgets has reached the upper limit.
Possible Causes
The number of widgets has reached the upper limit.
Solution
Delete unnecessary widgets and then add the required widgets.
16501003 Widget Not Operatable
Error Message
The form cannot be operated by the current application.
Description
The application cannot perform operations on a widget.
Possible Causes
The widget does not belong to the application.
Solution
- Upgrade the application permission to SystemApp.
- Check whether the widget ID belongs to the application.
16501006 Failed to Connect to the Widget Rendering Service
Error Message
FormRenderService is stopped. Connect to the service again.
Description
This error code is reported when the widget rendering service fails to be connected.
Possible Causes
The service is busy.
Solution
Try again later.
16501007 Untrusted Widget
Error Message
Form is not trust.
Description
The widget is not trusted.
Possible Causes
The widget code has problems such as infinite loop and memory leakage, causing system exceptions.
Solution
Check whether the widget code has an infinite loop or memory leakage.
16501008 Adding a Widget to the Home Screen Times Out
Error Message
Waiting for the form addition to the desktop timed out.
Description
A request for adding a widget to the home screen is sent, but the widget is not added within the specified duration.
Possible Causes
The service is busy.
Solution
Try again later.
16501010 Failed to Set the Background Image of the Interactive Widget
Error Message
Failed to set the live form background image.
Description
This error code is reported when the background image resource is invalid.
Possible Causes
The background image resource is invalid.
Solution
Check whether the background image resource is valid.
16501011 API Not Supported
Error Message
The form can not support this operation.
Description
This error code is reported when the widget does not support the current API.
Possible Causes
The interactive widget animation is requested by a common widget, or the current interactive widget is incorrectly configured.
Solution
Ensure that the configured sceneAnimationParams of the current widget is correct.
16501012 Incorrect Widget Dimension
Error Message
The form host uses an incorrect dimension.
Description
This error code is reported when the widget dimension is incorrect.
Possible Causes
The specified widget dimension is not configured, or the transferred widget dimension is invalid.
Solution
Check whether the input widget dimension is in the FormDimension and supportDimensions configuration list.
16501013 Operation Not Supported
Error Message
The system does not support the current operation.
Description
The system does not support the current operation.
Possible Causes
Failed to register the callback for listening for template widget information.
Solution
Restart the device to allow the system to re-register the callback for listening for template widget information.
16501014 Semi-modal Widget Editing Page Not in Foreground
Error Message
The form edit page is not in the foreground. The current operation is not supported.
Description
The semi-modal widget editing page is not in the foreground. The current operation is not supported.
Possible Causes
The semi-modal widget editing page is not opened.
Solution
Ensure that the semi-modal widget editing page is opened.
16501015 Failed to Close Semi-Modal Widget Editing Page of Another Application
Error Message
Cannot close the widget editing page opened by other apps.
Description
The semi-modal widget editing page of another application cannot be closed.
Possible Causes
The opened semi-modal widget editing page does not belong to the application that requests to close the page.
Solution
Ensure that the opened semi-modal widget editing page belongs to the application that requests to close the page.
16501016 Invalid Widget Location Information
Error Message
The location of the widget is invalid.
Description
The widget location information is invalid.
Possible Causes
The specified widget location information is out of the system-defined range.
Solution
Ensure that the input widget location is in the FormLocation list.
2293761 Internal Service Error
Error Message
Some internal server error occurs.
Description
An internal error occurs when the system executes the current request.
Possible Causes
- The system is busy.
- The internal data of the system is abnormal.
Solution
- Restart the system and try again.
- If the restart still fails, submit an online ticket to obtain help.
2293766 Requested Bundle Name Not Exist
Error Message
The requested bundle name does not exist.
Description
The requested bundle name does not exist. This is an internal error.
Possible Causes
An error occurs when the bundle management module obtains the bundle name of the requester. This is an internal service execution exception.
Solution
- Restart the system and try again.
- If the restart still fails, submit an online ticket to obtain help.
2293767 Invalid Parameter
Error Message
Invalid params received on operating form.
Description
Invalid input parameters are passed when the API is called.
Possible Causes
- Mandatory parameters are not transferred.
- The parameter type is incorrect.
- The number of parameters is incorrect.
- The parameter value is empty. For example, an empty string ('') is passed.
- Incorrect parameter format.
- Invalid parameter value. The input parameters must be the same as those in app.json5 and Configuring ArkTS Widget Configuration Files.
Solution
Check the possible causes to determine whether mandatory parameters are transferred and whether the transferred parameter types are correct.
2293795 Failed to Obtain the Bundle Manager Service
Error Message
Get bms rpc failed.
Description
Failed to obtain the Bundle Manager service.
Possible Causes
An internal service execution exception occurs.
Solution
- Restart the system and try again.
- If the restart still fails, submit an online ticket to obtain help.
2293798 Failed to Obtain the Widget Manager Service
Error Message
Get fms rpc failed.
Description
Failed to obtain the Widget Manager service.
Possible Causes
An internal service execution exception occurs.
Solution
- Restart the system and try again.
- If the restart still fails, submit an online ticket to obtain help.
2293802 Failed to Obtain the System Manager Service
Error Message
Get system manager service failed.
Description
Failed to obtain the System Manager service.
Possible Causes
An internal service execution exception occurs.
Solution
- Restart the system and try again.
- If the restart still fails, submit an online ticket to obtain help.