目录

ArkTS API Result Codes

This section describes only module-specific result codes. For details about universal error codes, please refer to Universal Error Codes.

1010710001 Invalid Image Size

Error message

The size of the pixelmap exceeds the limit.

Description

When the API for actions such as adding an icon is called, the input icon image size does not meet the required specifications.

Possible causes

Solution

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

1010710002 The Number of Menu Items Exceeding the Upper Limit

Error message

The number of menu items or submenu items exceeds the limit.

Description

When the API for actions such as adding an icon is called, the number of input menu items exceeds the upper limit.

Possible causes

Solution

Change the level-1 and level-2 menu item settings or submit a ticket online. Huawei will get back to you as soon as possible.

1010720001 The Passed Level-1 Menu Data Does Not Meet Requirements

Error message

A menu item contains neither submenu nor menuAction.

Description

When the API for actions such as adding an icon or updating the menu item is called, the passed level-1 menu item data does not meet the requirements.

Possible causes

Solution

Check the input parameters for level-1 menu items or submit a ticket online. Huawei will get back to you as soon as possible.