• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Universal Error Codes
2
3## 201 Permission Denied
4
5**Error Message**
6
7Permission verification failed, usually the result returned by VerifyAccessToken.
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, application which is not a system application uses 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## 401 Parameter Check Failed
40
41**Error Message**
42
43BusinessError 401: Parameter error. The type of "${parameterName}" must be ${validType}[or ${validInput}].
44
45**Description**
46
47This error code is reported when a parameter error occurs.
48
49**Possible Causes**
50
51The mandatory parameter is not passed in, or the parameter type is invalid.
52
53**Solution**
54
55Make sure the mandatory parameter is passed in and the type of the passed parameter is invalid.
56
57## 801 API Not Supported
58
59**Error Message**
60
61BusinessError 801: Capability not supported. function ${functionName } can not work correctly due to limited device capabilities.
62
63**Description**
64
65This error code is reported when the device supports the target SysCap but does not support a specific API.
66
67**Possible Causes**
68
69The device does not support the API.
70
71**Solution**
72
73Check whether the device supports the API.
74