目录

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

Invalid parameter.

Description

Invalid parameter.

Possible causes

Invalid parameter.

Solution

1. Check whether the mandatory parameters and value ranges are correct by referring to the documentation.

2. Try again or submit a ticket online.

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.

Solution

Try again or submit a ticket online.

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

Ensure that the corresponding file is passed to the file path and 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.