1# UiTest Error Codes 2 3> **NOTE** 4> 5> This topic describes only module-specific error codes. For details about universal error codes, see [Universal Error Codes](../errorcode-universal.md). 6 7## 17000001 Initialization Failure 8 9**Error Message** 10 11Initialization failed. 12 13**Description** 14 15This error code is reported when the framework fails to be initialized. 16 17**Possible Causes** 18 19The accessibility service cannot be accessed. 20 21**Solution** 22 23Run the **param set persist.ace.testmode.enabled 1** command and restart the device. 24 25## 17000002 Unable to Call the API 26**Error Message** 27 28The async function is not called with await. 29 30**Description** 31 32The API is not called asynchronously. 33 34**Possible Causes** 35 36The API was not called using **await**. 37 38**Solution** 39 40Check test cases and make sure asynchronous APIs are called using **await**. 41 42## 17000003 Assertion Failure 43**Error Message** 44 45Assertion failed. 46 47**Description** 48 49This error code is reported when the user assertion fails. 50 51**Possible Causes** 52 53The component that the user asserts to exist does not exist. 54 55**Solution** 56 57Check the existence of the component that is asserted to exist. 58 59## 17000004 Target Component/Window Lost 60**Error Message** 61 62The window or component is invisible or destroyed. 63 64**Description** 65 66This error code is reported when the target component or window is lost and cannot be operated. 67 68**Possible Causes** 69 70After the target component or window is obtained, the page changes. As a result, the target component or window is lost. 71 72**Solution** 73 74Check whether the loss is caused by page changes. 75 76## 17000005 Operation Not Supported 77**Error Message** 78 79This operation is not supported. 80 81**Description** 82 83This error code is reported when the performed operation is not supported by the UI object. 84 85**Possible Causes** 86 87The component, window attribute, or device does not support the performed operation. 88 89**Solution** 90 91Check whether the UI component, window attribute, or device supports the performed operation. 92 93## 17000007 Parameters Are Invalid 94**Error Message** 95 96Parameter verification failed. 97 98**Description** 99 100Parameter verification failed. 101 102**Possible Causes** 103 104The parameter type is incorrect or the parameter value is out of the specified range. 105 106**Solution** 107 108Check whether the input parameters of the API meet the requirements. 109