• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# DataShare Error Codes
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## 15700010 Failed to Create a DataShareHelper
8
9**Error Message**
10
11The dataShareHelper is not initialized successfully.
12
13**Description**
14
15The **DataShareHelper** class fails to be created.
16
17**Possible Causes**
18
191. The **uri** specified in **createDataHelper** is incorrect.
202. The **context** specified in **createDataHelper** is incorrect. **DataShare** supports only the stage model.
21
22**Solution**
23
241. Obtain the correct URI.
252. Check that the context of the stage model is used.
26