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. 213. The client application does not have the permission to start **DataShareExtension** from the background when the client attempts to start **DataShareExtension** from the background to create **DataShareHelper**. 22 23**Solution** 24 251. Obtain the correct URI. 26 272. Check that the context of the stage model is used. 28 293. Check whether the client has the read or write permission on data. Perform the following steps: 30 31 (1) Obtain the data provider bundle name in the path of the URI. For example, the bundle name in uri = "datashareproxy://com.acts.ohos.data.datasharetest/test" is **com.acts.ohos.data.datasharetest**. 32 33 (2) Obtain the configuration based on the bundle name. For example, run **bm dump --bundle-name com.acts.ohos.data.datasharetest** to obtain the **DataShareExtension** configuration, and check whether the data consumer has **readPermission** or **writePermission**. 34 35## 15700011 Failed to Add or Delete a Template 36 37**Error Message** 38 39The uri does not exist. 40 41**Description** 42 43This error code is returned when a template fails to be added or deleted. 44 45**Possible Causes** 46 471. The input parameter **uri** of **addTemplate()** is incorrect. 482. The input parameter **uri** of **delTemplate()** is incorrect. 49 50**Solution** 51 52Obtain the correct URI. 53 54## 15700012 Data Area Not Exist 55 56**Error Message** 57 58The data area does not exist. 59 60**Description** 61 62This error code is returned when a data update operaton fails. 63 64**Possible Causes** 65 66The input parameter **bundleName** of **publish()** is incorrect. 67 68**Solution** 69 70Obtain the correct **bundleName** value from the DataShare server provider. 71