• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Form Error Codes
2<!--Kit: Form Kit-->
3<!--Subsystem: Ability-->
4<!--Owner: @cx983299475-->
5<!--Designer: @xueyulong-->
6<!--Tester: @chenmingze-->
7<!--Adviser: @Brilliantry_Rui-->
8
9> **NOTE**
10>
11> This topic describes only module-specific error codes. For details about universal error codes, see [Universal Error Codes](../errorcode-universal.md).
12
13## 16500050 IPC Failure
14
15**Error Message**
16
17IPC connection error.
18
19**Description**
20
21An error occurs when the system initiates inter-process communications (IPC) to complete the request.
22
23**Possible Causes**
24
25The parameter value passed in the API is too large, causing IPC data verification failure.
26
27**Solution**
28
29Pass appropriate parameter values.
30
31## 16500060 Service Connection Failure
32
33**Error Message**
34
35Service connection error.
36
37**Description**
38
39An error occurs when the system attempts to connect to a service to complete the request.
40
41**Possible Causes**
42
43The service is busy or abnormal.
44
45**Solution**
46
47Try again after the service is restarted.
48
49## 16500100 Failed to Obtain Widget Configuration Information
50
51**Error Message**
52
53Failed to obtain configuration information.
54
55**Description**
56
57An error occurs when the system attempts to obtain widget configuration information to complete the request.
58
59**Possible Causes**
60
61The widget configuration information field is missing or invalid.
62
63**Solution**
64
65Use the correct configuration information.
66
67## 16501000 Internal Function Error
68
69**Error Message**
70
71An internal functional error occurred.
72
73**Description**
74
75An internal error occurs when the system executes the request.
76
77**Possible Causes**
78
79An internal service execution exception occurs.
80
81**Solution**
82
83Try again after the system is restarted.
84
85## 16501001 Widget ID Not Exist
86
87**Error Message**
88
89The ID of the form to be operated does not exist.
90
91**Description**
92
93The specified widget in the request is not found.
94
95**Possible Causes**
96
97The widget ID passed in the API does not exist or is invalid.
98
99**Solution**
100
101Use a valid widget ID.
102
103## 16501002 Too Many Widgets
104
105**Error Message**
106
107The number of forms exceeds the maximum allowed.
108
109**Description**
110
111The application attempts to add more widgets when the number of widgets has reached the upper limit.
112
113**Possible Causes**
114
115The number of widgets has reached the upper limit.
116
117**Solution**
118
119Delete unnecessary widgets and then add the required widgets.
120
121## 16501003 Widget Not Operatable
122
123**Error Message**
124
125The form cannot be operated by the current application.
126
127**Description**
128
129The application cannot perform operations on a widget.
130
131**Possible Causes**
132
133The widget does not belong to the application.
134
135**Solution**
136
1371. Check the ownership of the widget ID.
1382. Upgrade the application permission to **SystemApp**.
139
140## 16501006 Failed to Connect to the Widget Rendering Service
141
142**Error Message**
143
144FormRenderService is stopped. Connect to the service again.
145
146**Description**
147
148This error code is reported when the widget rendering service fails to be connected.
149
150**Possible Causes**
151
152The service is busy.
153
154**Solution**
155
156Try again later.
157
158## 16501007 Untrusted Widget
159
160**Error Message**
161
162Form is not trust.
163
164**Description**
165
166The widget is not trusted.
167
168**Possible Causes**
169
170The widget code has problems such as infinite loop and memory leakage, causing system exceptions.
171
172**Solution**
173
174Check whether the widget code has an infinite loop or memory leakage.
175
176<!--Del-->
177## 16501008 Adding a Widget to the Home Screen Times Out
178
179**Error Message**
180
181Waiting for the form addition to the desktop timed out.
182
183**Description**
184
185A request for adding a widget to the home screen is sent, but the widget is not added within the specified duration.
186
187**Possible Causes**
188
189The service is busy.
190
191**Solution**
192
193Try again later.
194<!--DelEnd-->
195
196## 16501010 Failed to Set the Background Image of the Interactive Widget
197
198**Error Message**
199
200Failed to set the live form background image.
201
202**Description**
203
204This error code is reported when the background image resource is invalid.
205
206**Possible Causes**
207
208The background image resource is invalid.
209
210**Solution**
211
212Check whether the background image resource is valid.
213
214## 16501011 API Not Supported
215
216**Error Message**
217
218The form can not support this operation.
219
220**Description**
221
222This error code is reported when the widget does not support the current API.
223
224**Possible Causes**
225
226The interactive widget animation is requested by a common widget, or the current interactive widget is incorrectly configured.
227
228**Solution**
229
230Check whether the configured [sceneAnimationParams](../../form/arkts-ui-widget-configuration.md#sceneanimationparams-field) of the current widget is correct.
231
232## 16501012 Incorrect Widget Dimension
233
234**Error Message**
235
236The form host uses an incorrect dimension.
237
238**Description**
239
240This error code is reported when the widget dimension is incorrect.
241
242**Possible Causes**
243
244The specified widget dimension is not configured, or the transferred widget dimension is invalid.
245
246**Solution**
247
248Check whether the input widget dimension is in the [FormDimension](js-apis-app-form-formInfo.md#formdimension) and [supportDimensions](../../form/arkts-ui-widget-configuration.md#fields-in-configuration-file) configuration list.
249
250## 2293761 Internal Service Error
251
252**Error Message**
253
254Some internal server error occurs.
255
256**Description**
257
258An internal error occurs when the system executes the current request.
259
260**Possible Causes**
261
262An internal service execution exception occurs.
263
264**Solution**
265
2661. Restart the system and try again.
2672. If the restart still fails, submit an [online ticket](https://developer.huawei.com/consumer/en/support/feedback/#) to obtain help.
268
269## 2293766 Requested Bundle Name Not Exist
270
271**Error Message**
272
273The requested bundle name does not exist.
274
275**Description**
276
277The requested bundle name does not exist. This is an internal error.
278
279**Possible Causes**
280
281An error occurs when the bundle management module obtains the bundle name of the requester. This is an internal service execution exception.
282
283**Solution**
284
2851. Restart the system and try again.
2862. If the restart still fails, submit an [online ticket](https://developer.huawei.com/consumer/en/support/feedback/#) to obtain help.
287
288## 2293767 Invalid Parameter
289
290**Error Message**
291
292Invalid params received on operating form.
293
294**Description**
295
296Invalid input parameters are passed when the API is called.
297
298**Possible Causes**
299
3001. Mandatory parameters are not transferred.
3012. The parameter type is incorrect.
3023. The number of parameters is incorrect.
3034. The input parameter is empty, for example, an empty string ('').
3045. Incorrect parameter format.
3056. Invalid parameter value. The input parameters must be the same as those in [app.json5](../../quick-start/app-configuration-file.md) and [Configuring ArkTS Widget Configuration Files](../../form/arkts-ui-widget-configuration.md).
306
307**Solution**
308
309Check the possible causes to determine whether mandatory parameters are transferred and whether the transferred parameter types are correct.
310
311## 2293795 Failed to Obtain the Bundle Manager Service
312
313**Error Message**
314
315Get bms rpc failed.
316
317**Description**
318
319Failed to obtain the Bundle Manager service.
320
321**Possible Causes**
322
323An internal service execution exception occurs.
324
325**Solution**
326
3271. Restart the system and try again.
3282. If the restart still fails, submit an [online ticket](https://developer.huawei.com/consumer/en/support/feedback/#) to obtain help.
329
330## 2293798 Failed to Obtain the Widget Manager Service
331
332**Error Message**
333
334Get fms rpc failed.
335
336**Description**
337
338Failed to obtain the Widget Manager service.
339
340**Possible Causes**
341
342An internal service execution exception occurs.
343
344**Solution**
345
3461. Restart the system and try again.
3472. If the restart still fails, submit an [online ticket](https://developer.huawei.com/consumer/en/support/feedback/#) to obtain help.
348
349## 2293802 Failed to Obtain the System Manager Service
350
351**Error Message**
352
353Get system manager service failed.
354
355**Description**
356
357Failed to obtain the System Manager service.
358
359**Possible Causes**
360
361An internal service execution exception occurs.
362
363**Solution**
364
3651. Restart the system and try again.
3662. If the restart still fails, submit an [online ticket](https://developer.huawei.com/consumer/en/support/feedback/#) to obtain help.
367