目录

ArkTS API Error Codes

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

1023100001 Invalid Array Length

Message

Array length invalid.

Symptom

The array length is invalid.

Possible causes

The length of the input sampling point array is less than 2.

Solution

Ensure that the input samples array contains at least two data points.

1027700001 High System Load

Message

High system load.

Symptom

The system is heavily loaded.

Possible causes

The system is heavily loaded and resources are insufficient.

Solution

Wait until the system load decreases and try again.

1027700002 Power Saving Mode

Message

Power Saving Mode.

Symptom

The system is in power saving mode.

Possible causes

The system is in power saving mode.

Solution

Disable the power saving mode and try again.

1027700003 Low Power Mode

Message

Low Power Mode.

Symptom

The system is in low power mode.

Possible causes

The system is in low power mode.

Solution

Exit the low power mode and try again.

1027700004 Non-foreground Call Scenario

Message

Non-frontend calling scenarios.

Symptom

Non-foreground call scenario.

Possible causes

The app is not running in the foreground.

Solution

Ensure that the app is running in the foreground during the API call.

1027700005 The Interval Does Not Meet the Requirements

Message

The interval does not meet the requirement.

Symptom

The call interval does not meet the requirements.

Possible causes

The interval between two API calls is too short.

Solution

Adjust the API call interval based on DurationType.

1027700006 Failed to Optimize System Performance

Message

Failed to execute scheduling optimization.

Symptom

Failed to optimize the system performance.

Possible causes

An error occurred during system performance optimization.

Solution

Try again later.