1# Universal Error Codes 2 3## 201 Permission Denied 4 5**Error Message** 6 7Permission verification failed. The application does not have the permission required to call the API. 8 9**Description** 10 11This error code is reported when permission verification fails. 12 13**Possible Causes** 14 15The application calls an API without the required permission. 16 17**Solution** 18 19Check the permission required to call the API and make sure the application has the permission. 20 21## 202 Permission Verification Failed for Calling a System API 22 23**Error Message** 24 25Permission verification failed. A non-system application calls a system API. 26 27**Description** 28 29This error code is reported when a non-system application failed the permission verification. 30 31**Possible Causes** 32 33The API called by the application is a system API. 34 35**Solution** 36 37Check whether any system API is called. Delete it if any. 38 39## 203 System Function Prohibited by Enterprise Management Policies 40 41**Error Message** 42 43This function is prohibited by enterprise management policies. 44 45**Description** 46 47The enterprise management policies do not allow the use of this system function. 48 49**Possible Causes** 50 51You attempted to operate a system function that has been disabled by the device management application. 52 53**Solution** 54 55Use [getDisallowedPolicy](./apis-mdm-kit/js-apis-enterprise-restrictions.md#restrictionsgetdisallowedpolicy) to check whether the system function is disabled, and use [setDisallowedPolicy](./apis-mdm-kit/js-apis-enterprise-restrictions.md#restrictionssetdisallowedpolicy) to enable the system function. 56 57## 401 Parameter Check Failed 58 59**Error Message** 60 61Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types; 3. Parameter verification failed. 62 63**Description** 64 651. A mandatory parameter is left unspecified. 66 672. A parameter type is incorrect. 68 693. Parameter verification failed. Regardless of whether the API is synchronous or asynchronous, this type of error is generally thrown in synchronous mode. 70 71**Possible Causes** 72 731. A mandatory parameter is not passed. 74 752. A parameter type is incorrect (Type Error). 76 773. The number of parameters is incorrect (Argument Count Error). 78 794. A null parameter is incorrect (Null Argument Error). 80 815. A parameter format is incorrect (Format Error). 82 836. A value range is incorrect (Value Range Error). 84 85**Solution** 86 87Make sure all the mandatory parameters are passed in and the types of the passed-in parameter are valid. If parameter verification fails, read the parameter specifications and locate the fault based on the possible causes. 88 89## 801 API Not Supported 90 91**Error Message** 92 93Capability not supported. Failed to call the API due to limited device capabilities. 94 95**Description** 96 97The device does not support this API. Therefore, it cannot be called properly. 98 99**Possible Causes** 100 101The device supports Syscap associated with the API but does not support the API itself. 102 103**Solution** 104 105Do not use this API on the device. Alternatively, implement conditional checks in the code to mitigate the effects of the application running across various devices, particularly under abnormal circumstances. 106