1# Asset Store Service Error Code
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## 24000001 Asset Store Service Unavailable
8
9**Error Message**
10
11The ASSET service is unavailable.
12
13**Possible Cause**
14
15The asset store service (ASSET) is unavailable due to a system exception.
16
17**Solution**
18
19Re-initiate a request for processing the asset.
20
21## 24000002 Asset Not Found
22
23**Error Message**
24
25The asset is not found.
26
27**Possible Cause**
28
291. The asset does not exist.
302. The asset has been removed.
31
32**Solution**
33
341. Check whether the asset exists or is removed based on the asset alias.
352. Add the asset.
36
37## 24000003 Asset Already Exists
38
39**Error Message**
40
41The asset already exists.
42
43**Possible Cause**
44
45An asset with the same alias (**asset.Tag.ALIAS**) already exists.
46
47**Solution**
48
49Check whether the alias of the asset to add is correct. If the alias is incorrect, use the correct alias. If the alias is correct, perform either of the following operations:
50
511. Use [asset.remove](js-apis-asset.md#assetremove) to remove the asset with the same alias, and use [asset.add](js-apis-asset.md#assetadd) to add the asset.
522. Call [asset.add](js-apis-asset.md#assetadd) with **asset.Tag.CONFLICT_RESOLUTION** set to **asset.ConflictResolution.OVERWRITE**.
53
54## 24000004 Access to Asset Denied
55
56**Error Message**
57
58Access to the asset is denied.
59
60**Possible Cause**
61
621. The user authentication required before the access to the asset fails.
63
642. The challenge value does not match the authorization token.
65
66**Solution**
67
681. Perform user authentication.
69
702. Pass in the challenge value and authorization token that are matched with each other.
71
72## 24000005 Incorrect Screen Lock Status
73
74**Error Message**
75
76The screen lock status does not match.
77
78**Possible Cause**
79
801. The lock screen password required for accessing the asset is not set.
812. The device has not been unlocked for the asset that is accessible only after the device is unlocked for the first.
823. The device is not unlocked for the asset that is accessible only after the device is unlocked.
83
84**Solution**
85
86Set a lock screen password or unlock the screen before accessing the asset.
87
88## 24000006 Insufficient Memory
89
90**Error Message**
91
92Insufficient memory.
93
94**Possible Cause**
95
96The system memory is insufficient.
97
98**Solution**
99
100Close unnecessary applications to release memory and initiate a processing request again.
101
102## 24000007 Asset Corrupted
103
104**Error Message**
105
106The asset is corrupted.
107
108**Possible Cause**
109
110The asset file is corrupted due to device power-off or storage system exceptions.
111
112**Solution**
113
114Restore factory settings.
115
116## 24000008 Database Operation Failed
117
118**Error Message**
119
120The database operation failed.
121
122**Possible Cause**
123
1241. The asset store, from which data is being queried, has not been created yet.
1252. The access to the database fails.
126
127**Solution**
128
1291. Use **add()** to create an asset store first.
1302. Locate the cause of the database access failure based on error information.
131
132## 24000009 Cryptographic Operation Failed
133
134**Error Message**
135
136The cryptography operation failed.
137
138**Possible Cause**
139
140The cryptographic operation fails.
141
142**Solution**
143
144Locate the cause of the operation failure based on error information.
145
146## 24000010 IPC Failed
147
148**Error Message**
149
150IPC failed.
151
152**Possible Cause**
153
154The IPC failed.
155
156**Solution**
157
158Locate the cause of the IPC failure based on error information.
159
160## 24000011 Bundle Manager Service Abnormal
161
162**Error Message**
163
164Calling the Bundle Manager service failed.
165
166**Possible Cause**
167
168The Bundle Manager service is abnormal.
169
170**Solution**
171
172Locate the cause of the exception based on error information.
173
174## 24000012 Account Service Abnormal
175
176**Error Message**
177
178Calling the OS Account service failed.
179
180**Possible Cause**
181
182The account service is abnormal.
183
184**Solution**
185
186Locate the cause of the exception based on error information.
187
188## 24000013 Access Token Service Abnormal
189
190**Error Message**
191
192Calling the Access Token service failed.
193
194**Possible Cause**
195
196The Access Token service is abnormal.
197
198**Solution**
199
200Locate the cause of the exception based on error information.
201
202## 24000014 File Operation Failed
203
204**Error Message**
205
206The file operation failed.
207
208**Possible Cause**
209
2101. The folder in the **data/service/el1/public/asset_service** directory is manually deleted from the device.
2112. The file system is corrupted.
212
213**Solution**
214
215Restart the device. If the problem persists, restore factory settings of the device.
216
217## 24000015 Failed to Obtain the System Time
218
219**Error Message**
220
221Getting the system time failed.
222
223**Possible Cause**
224
225The system time is tampered with.
226
227**Solution**
228
229Correct the system time.
230
231## 24000016 Cached Assets Reaches the Limit
232
233**Error Message**
234
235The cache exceeds the limit.
236
237**Possible Cause**
238
239[asset.postQuery](js-apis-asset.md#assetpostquery) is not called to release resources after [asset.preQuery](js-apis-asset.md#assetprequery) is called.
240
241**Solution**
242
243Call [asset.postQuery](js-apis-asset.md#assetpostquery) to release resources after [asset.preQuery](js-apis-asset.md#assetprequery) is called.
244
245## 24000017 Function Not Supported
246
247**Error Message**
248
249The capability is not supported.
250
251**Possible Cause**
252
253The API is supported, but certain sub-features of the API, for example, querying plaintext of assets in batches, are not supported.
254
255**Solution**
256
257Adjust API parameters and use alternative APIs, for example, invoking the alternative API multiple times to query assets.
258