DataShare Error Codes
NOTE
This topic describes only module-specific error codes. For details about universal error codes, see Universal Error Codes.
15700010 Failed to Create a DataShareHelper
Error Message
The dataShareHelper is not initialized successfully.
Description
The DataShareHelper class fails to be created.
Possible Causes
- The uri specified in createDataHelper is incorrect.
- The context specified in createDataHelper is incorrect. DataShare supports only the stage model.
Solution
- Obtain the correct URI.
- Check that the context of the stage model is used.