• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Ads Service Framework Error Codes
2
3> **NOTE**
4> This topic describes only module-specific error codes. For details about universal error codes, see [Universal Error Codes](../errorcode-universal.md).
5
6## 21800001 Internal System Error
7
8**Error Message**
9
10System internal error.
11
12**Description**
13
14This error code is reported if an internal system error occurs.
15
16**Possible Causes**
17
18Failed to connect to the OAID service.
19
20**Procedure**
21
22Check whether the service is running properly.
23
24## 21800003 Ad Loading Failure
25
26**Error Message**
27
28Failed to load the ad request.
29
30**Description**
31
32This error code is reported if loading the ad fails.
33
34**Possible Causes**
35
361. The network connection is abnormal.
37
382. Incorrect ad request parameter.
39
403. The server does not have proper ad filling.
41
42**Procedure**
43
441. Check the network status.
45
462. Check whether the ad request parameters meet the requirements based on the API reference.
47
48## 21800004 Ad Display Failure
49
50**Error Message**
51
52Failed to display the ad.
53
54**Description**
55
56This error code is reported if displaying the ad fails.
57
58**Possible Causes**
59
60The network connection is abnormal.
61
62**Procedure**
63
64Check the network status.
65
66## 21800005 Ad Data Parsing Failure
67
68**Error Message**
69
70Failed to parse the ad response.
71
72**Description**
73
74This error code is reported if ad data is failed to be parsed.
75
76**Possible Causes**
77
78Key attributes are missing or the structure of the ad response data is incorrect.
79
80**Procedure**
81
82Check the ad response data.
83
84## 401 Incorrect Ads Request Parameter
85
86**Error Message**
87
88Invalid input parameter. Possible causes: 1. Mandatory parameters are left unspecified. 2. Incorrect parameter types. 3.Parameter verification failed
89
90**Description**
91
92This error code is reported if an ads request parameter is incorrect.
93
94**Possible Causes**
95
96Ads request parameters fail the verification.
97
98**Procedure**
99
100Check whether the ads request parameters are correct.
101
102## 801 Ad Request Failure
103
104**Error Message**
105
106Device not supported.
107
108**Description**
109
110This error code is reported when the device supports the target SysCap but does not support a specific API.
111
112**Possible Causes**
113
114The device does not support the API.
115
116**Procedure**
117
118Check whether the device supports the API.
119