0f330f9a创建于 2025年11月18日历史提交

Accessibility Error Codes

NOTE

This topic describes only module-specific error codes. For details about universal error codes, see Universal Error Codes.

9300001 Invalid Bundle Name or Ability Name

Error Message

Invalid bundle name or ability name.

Description

This error code is reported when the entered bundle name or ability name is invalid.

Possible Causes

  1. The bundle name does not exist.
  2. The bundle does not contain the target ability.

Solution

  1. Verify the bundle name.
  2. Check whether the ability name corresponding to the bundle name is correct.

9300002 Target Ability Already Enabled

Error Message

Target ability already enabled.

Description

This error code is reported when the target ability is already enabled.

Possible Causes

The target ability is already enabled and cannot be enabled again.

Solution

  1. Stop the target ability.
  2. Re-enable the target ability.

9300003 No Accessibility Permission to Perform the Operation

Error Message

No accessibility permission to perform the operation.

Description

This error code is reported when an application performs an accessibility operation for which the related permission has not been granted.

Possible Causes

The permission for performing the accessibility operation is not granted when the accessibility application is enabled.

Solution

  1. Request from the user the permission for performing the accessibility operation, stating the reason for the request.
  2. Have the accessibility application re-enabled and the required accessibility operation enabled.

9300004 Property Not Found

Error Message

This property does not exist.

Description

This error code is reported when the entered property of the accessibility node element does not exist.

Possible Causes

The property does not exist in the accessibility node element.

Solution

Make sure the accessibility node element has the target property.

9300005 Action Not Supported

Error Message

This action is not supported.

Description

This error code is reported when the application performs an action that is not supported by the accessibility node element.

Possible Causes

An action that is not supported by the accessibility node element is performed.

Solution

Make sure the action to perform is included in the list of actions supported by the accessibility node element.

9300006 Failed to Connect the Target Application and Accessibility Services

Error Message

The connection between the target application and accessibility services failed.

Description

This error code is reported when the connection handle between the target application and the accessibility framework does not exist.

Possible Causes

The target application has not registered the connection with the accessibility framework service.

Solution

Call this method later.

9300007 Failed to Trigger Amplification

Error Message

Trigger magnification failed.

Description

This error code is reported when the amplification feature fails to be triggered.

Possible Causes

  1. The amplification feature is not enabled.
  2. The amplification mode is not configured.

Solution

Enable the amplification feature and configure the amplification mode.