1e41f4b71Sopenharmony_ci# Resource Manager Error Codes
2e41f4b71Sopenharmony_ci
3e41f4b71Sopenharmony_ci> **NOTE**
4e41f4b71Sopenharmony_ci>
5e41f4b71Sopenharmony_ci> This topic describes only module-specific error codes. For details about universal error codes, see [Universal Error Codes](../errorcode-universal.md).
6e41f4b71Sopenharmony_ci
7e41f4b71Sopenharmony_ci## 9001001 Invalid Resource ID
8e41f4b71Sopenharmony_ci
9e41f4b71Sopenharmony_ci**Error Message**
10e41f4b71Sopenharmony_ci
11e41f4b71Sopenharmony_ciInvalid resource ID.
12e41f4b71Sopenharmony_ci
13e41f4b71Sopenharmony_ci**Description**
14e41f4b71Sopenharmony_ci
15e41f4b71Sopenharmony_ciThis error code is reported if the specified resId meets the type requirement but the **resId** does not exist.
16e41f4b71Sopenharmony_ci
17e41f4b71Sopenharmony_ci**Possible Causes**
18e41f4b71Sopenharmony_ci
19e41f4b71Sopenharmony_ciThe specified **resId** does not exist.
20e41f4b71Sopenharmony_ci
21e41f4b71Sopenharmony_ci**Solution**
22e41f4b71Sopenharmony_ci
23e41f4b71Sopenharmony_ciCheck whether the specified **resId** exists.
24e41f4b71Sopenharmony_ci
25e41f4b71Sopenharmony_ci## 9001002 Matching Resource Not Found Based on the Specified Resource ID
26e41f4b71Sopenharmony_ci
27e41f4b71Sopenharmony_ci**Error Message**
28e41f4b71Sopenharmony_ci
29e41f4b71Sopenharmony_ciNo matching resource is found based on the resource ID.
30e41f4b71Sopenharmony_ci
31e41f4b71Sopenharmony_ci**Description**
32e41f4b71Sopenharmony_ci
33e41f4b71Sopenharmony_ciThis error code is reported if the specified **resId** meets the type requirement but no resource is found based on the **resId**.
34e41f4b71Sopenharmony_ci
35e41f4b71Sopenharmony_ci**Possible Causes**
36e41f4b71Sopenharmony_ci
37e41f4b71Sopenharmony_ci1. The specified **resId** is incorrect.
38e41f4b71Sopenharmony_ci
39e41f4b71Sopenharmony_ci2. Resource parsing is incorrect.
40e41f4b71Sopenharmony_ci
41e41f4b71Sopenharmony_ci**Solution**
42e41f4b71Sopenharmony_ci
43e41f4b71Sopenharmony_ciCheck whether the specified **resId** is correct.
44e41f4b71Sopenharmony_ci
45e41f4b71Sopenharmony_ci## 9001003 Invalid Resource Name
46e41f4b71Sopenharmony_ci
47e41f4b71Sopenharmony_ci**Error Message**
48e41f4b71Sopenharmony_ci
49e41f4b71Sopenharmony_ciInvalid resource name.
50e41f4b71Sopenharmony_ci
51e41f4b71Sopenharmony_ci**Description**
52e41f4b71Sopenharmony_ci
53e41f4b71Sopenharmony_ciThis error code is reported if the specified **resName** meets the type requirement but the **resName** does not exist.
54e41f4b71Sopenharmony_ci
55e41f4b71Sopenharmony_ci**Possible Causes**
56e41f4b71Sopenharmony_ci
57e41f4b71Sopenharmony_ciThe specified **resName** does not exist.
58e41f4b71Sopenharmony_ci
59e41f4b71Sopenharmony_ci**Solution**
60e41f4b71Sopenharmony_ci
61e41f4b71Sopenharmony_ciCheck whether the specified **resName** is correct.
62e41f4b71Sopenharmony_ci
63e41f4b71Sopenharmony_ci## 9001004 Matching Resource Not Found Based on the Specified Resource Name
64e41f4b71Sopenharmony_ci
65e41f4b71Sopenharmony_ci**Error Message**
66e41f4b71Sopenharmony_ci
67e41f4b71Sopenharmony_ciNo matching resource is found based on the resource name.
68e41f4b71Sopenharmony_ci
69e41f4b71Sopenharmony_ci**Description**
70e41f4b71Sopenharmony_ci
71e41f4b71Sopenharmony_ciThis error code is reported if the specified resId meets the type requirement but no resource is found based on the **resId**.
72e41f4b71Sopenharmony_ci
73e41f4b71Sopenharmony_ci**Possible Causes**
74e41f4b71Sopenharmony_ci
75e41f4b71Sopenharmony_ci1. The specified **resName** is incorrect.
76e41f4b71Sopenharmony_ci
77e41f4b71Sopenharmony_ci2. Resource parsing is incorrect.
78e41f4b71Sopenharmony_ci
79e41f4b71Sopenharmony_ci**Solution**
80e41f4b71Sopenharmony_ci
81e41f4b71Sopenharmony_ciCheck whether the specified **resName** is correct.
82e41f4b71Sopenharmony_ci
83e41f4b71Sopenharmony_ci## 9001005 Invalid Relative Path
84e41f4b71Sopenharmony_ci
85e41f4b71Sopenharmony_ci**Error Message**
86e41f4b71Sopenharmony_ci
87e41f4b71Sopenharmony_ciInvalid relative path.
88e41f4b71Sopenharmony_ci
89e41f4b71Sopenharmony_ci**Description**
90e41f4b71Sopenharmony_ci
91e41f4b71Sopenharmony_ciThis error code is reported if no resource is found based on the specified relative path.
92e41f4b71Sopenharmony_ci
93e41f4b71Sopenharmony_ci**Possible Causes**
94e41f4b71Sopenharmony_ci
95e41f4b71Sopenharmony_ciThe specified relative path is incorrect.
96e41f4b71Sopenharmony_ci
97e41f4b71Sopenharmony_ci**Solution**
98e41f4b71Sopenharmony_ci
99e41f4b71Sopenharmony_ciCheck whether the specified relative path is correct.
100e41f4b71Sopenharmony_ci
101e41f4b71Sopenharmony_ci## 9001006 Cyclic Reference
102e41f4b71Sopenharmony_ci
103e41f4b71Sopenharmony_ci**Error Message**
104e41f4b71Sopenharmony_ci
105e41f4b71Sopenharmony_ciThe resource is referenced cyclically.
106e41f4b71Sopenharmony_ci
107e41f4b71Sopenharmony_ci**Description**
108e41f4b71Sopenharmony_ci
109e41f4b71Sopenharmony_ciThis error code is reported if resources are referenced cyclically.
110e41f4b71Sopenharmony_ci
111e41f4b71Sopenharmony_ci**Possible Causes**
112e41f4b71Sopenharmony_ci
113e41f4b71Sopenharmony_ciResources are referenced cyclically.
114e41f4b71Sopenharmony_ci
115e41f4b71Sopenharmony_ci**Solution**
116e41f4b71Sopenharmony_ci
117e41f4b71Sopenharmony_ciCheck the reference of resource $, and remove the cyclic reference, if any.
118e41f4b71Sopenharmony_ci
119e41f4b71Sopenharmony_ci## 9001007 Failed to Format the Resource Obtained Based on resId
120e41f4b71Sopenharmony_ci
121e41f4b71Sopenharmony_ci**Error Message**
122e41f4b71Sopenharmony_ci
123e41f4b71Sopenharmony_ciFailed to format the resource obtained based on the resource ID.
124e41f4b71Sopenharmony_ci
125e41f4b71Sopenharmony_ci**Description**
126e41f4b71Sopenharmony_ci
127e41f4b71Sopenharmony_ciThis error code is reported in the case of a failure to format the string resource obtained based on **resId**.
128e41f4b71Sopenharmony_ci
129e41f4b71Sopenharmony_ci**Possible Causes**
130e41f4b71Sopenharmony_ci
131e41f4b71Sopenharmony_ci1. The parameter type is not supported.
132e41f4b71Sopenharmony_ci
133e41f4b71Sopenharmony_ci2. The numbers of parameters and placeholders are inconsistent.
134e41f4b71Sopenharmony_ci
135e41f4b71Sopenharmony_ci3. The parameter does not match the placeholder type.
136e41f4b71Sopenharmony_ci
137e41f4b71Sopenharmony_ci**Solution**
138e41f4b71Sopenharmony_ci
139e41f4b71Sopenharmony_ciCheck whether the number and type of **args** parameters are the same as those of placeholders.
140e41f4b71Sopenharmony_ci
141e41f4b71Sopenharmony_ci## 9001008 Failed to Format the Resource Obtained Based on resName
142e41f4b71Sopenharmony_ci
143e41f4b71Sopenharmony_ci**Error Message**
144e41f4b71Sopenharmony_ci
145e41f4b71Sopenharmony_ciFailed to format the resource obtained based on the resource Name.
146e41f4b71Sopenharmony_ci
147e41f4b71Sopenharmony_ci**Description**
148e41f4b71Sopenharmony_ci
149e41f4b71Sopenharmony_ciThis error code is reported in the case of a failure to format the string resource obtained based on **resName**.
150e41f4b71Sopenharmony_ci
151e41f4b71Sopenharmony_ci**Possible Causes**
152e41f4b71Sopenharmony_ci
153e41f4b71Sopenharmony_ci1. The parameter type is not supported.
154e41f4b71Sopenharmony_ci
155e41f4b71Sopenharmony_ci2. The numbers of parameters and placeholders are inconsistent.
156e41f4b71Sopenharmony_ci
157e41f4b71Sopenharmony_ci3. The parameter does not match the placeholder type.
158e41f4b71Sopenharmony_ci
159e41f4b71Sopenharmony_ci**Solution**
160e41f4b71Sopenharmony_ci
161e41f4b71Sopenharmony_ciCheck whether the number and type of **args** parameters are the same as those of placeholders.
162e41f4b71Sopenharmony_ci
163e41f4b71Sopenharmony_ci## 9001009 Failed to Obtain a ResourceManager Object
164e41f4b71Sopenharmony_ci
165e41f4b71Sopenharmony_ci**Error Message**
166e41f4b71Sopenharmony_ci
167e41f4b71Sopenharmony_ciFailed to access the system resource.
168e41f4b71Sopenharmony_ci
169e41f4b71Sopenharmony_ci**Description**
170e41f4b71Sopenharmony_ci
171e41f4b71Sopenharmony_ciThis error code is reported in the case of a failure to obtain a ResourceManager object.
172e41f4b71Sopenharmony_ci
173e41f4b71Sopenharmony_ci**Possible Causes**
174e41f4b71Sopenharmony_ci
175e41f4b71Sopenharmony_ciSystem resources are not loaded to the sandbox path of the application process.
176e41f4b71Sopenharmony_ci
177e41f4b71Sopenharmony_ci**Solution**
178e41f4b71Sopenharmony_ci
179e41f4b71Sopenharmony_ciCheck whether the application process contains the sandbox path of system resources.
180e41f4b71Sopenharmony_ci
181e41f4b71Sopenharmony_ci## 9001010 Invalid Overlay Path
182e41f4b71Sopenharmony_ci
183e41f4b71Sopenharmony_ci**Error Message**
184e41f4b71Sopenharmony_ci
185e41f4b71Sopenharmony_ciInvalid overlay path.
186e41f4b71Sopenharmony_ci
187e41f4b71Sopenharmony_ci**Description**
188e41f4b71Sopenharmony_ci
189e41f4b71Sopenharmony_ciThis error code is reported if the specified overlay path is invalid.
190e41f4b71Sopenharmony_ci
191e41f4b71Sopenharmony_ci**Possible Causes**
192e41f4b71Sopenharmony_ci
193e41f4b71Sopenharmony_ciThe path does not exist or is not in the installation path of the application.
194e41f4b71Sopenharmony_ci
195e41f4b71Sopenharmony_ci**Solution**
196e41f4b71Sopenharmony_ci
197e41f4b71Sopenharmony_ciCheck the location of the specified overlay path.
198