目录

ArkTS API Error Codes

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

401 Invalid Parameter

Message

Parameter invalid.

Description

The input parameter for calling the setting API is invalid. For example, the file name is too long.

Possible causes

User operation error.

1011600001 Operation Canceled by User

Message

User canceled.

Description

After the user opens the dialog box, the user cancels the dialog box when the ringtone setting is not complete.

Possible causes

User operation error.

1011600002 The File Does Not Exist

Message

The media file is not found.

Description

No file exists in the input file path.

Possible causes

The ringtone.startRingtoneSetting API is called before a file is created.

Solution

Try again or submit a ticket online.

1011600003 Dialog Box Display Error

Message

Failed to show the dialog box.

Description

This error code is reported when a system error occurs.

Possible causes

An unknown error occurred.

Solution

Try again or submit a ticket online.

1011600004 Failed to Call the System API

Message

Failed to call the system API.

Description

This error code is reported when a system error occurs.

Possible causes

An unknown error occurred.

Solution

Try again or submit a ticket online.

1011699999 System Internal Error

Message

System exception.

Description

This error code is reported when a system error occurs.

Possible causes

An unknown error occurred.

Solution

Try again or submit a ticket online.