1# Distributed Data Object 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## 15400001 Failed to Create the In-Memory Database 8 9**Error Message** 10 11Failed to create the in-memory database. 12 13**Description** 14 15This error code is reported if the in-memory database creation fails. 16 17**Possible Causes** 18 19The same session ID is set for another distributed data object. 20 21**Solution** 22 23Use [genSessionId](../../reference/apis-arkdata/js-apis-data-distributedobject.md#distributeddataobjectgensessionid) to generate a random session ID to avoid using an existing session ID. 24 25## 15400002 Incorrect Parameter 26 27**Error Message** 28 29Parameter error. 30 31**Description** 32 331. This error code is reported if the **assetKey** parameter is invalid. For example, the value is an empty string (""). 34 352. This error code is reported if the **uri** parameter is invalid. For example, the value is an empty string (""). 36 373. This error code is reported if the **uris** parameter is invalid. For example, the number of elements in the **uris** array exceeds 50. 38 39**Possible Causes** 40 411. The property name corresponding to the asset type in the distributed data object is invalid. For example, it is set to **null**, **undefined**, or **''** (empty string). 42 432. The distributed URI required by the asset to be set is invalid. For example, it is set to **null**, **undefined**, or **''** (empty string). 44 453. The **uris** array for storing the asset to be set is empty or the number of elements in the array is greater than 50. 46 474. One or more URIs in the **uris** array are invalid. For example, they are set to **null**, **undefined**, or **''** (empty string). 48 49**Solution** 50 511. Define a correct property name, for example, **'file'**. 52 532. Define a correct distributed URI, for example, **"file://docs/storage/Users/username/tmp.txt"**. 54 553. Pass in correct distributed URIs in the **uris** array, whose elements are within the valid range, for example, **["file://docs/storage/Users/username/tmp.txt", "file://com.example.demo/data/storage/el2/base/files/test.txt"]**. 56 574. Ensure that each URI in the **uris** array is correct. 58 59## 15400003 sessionId Already Set 60 61**Error Message** 62 63The sessionId of the distributed object has been set. 64 65**Description** 66 67This error code is reported if **sessionId** of the distributed data object has been set. 68 69**Possible Causes** 70 71The **sessionId** has been set for the distributed data object. 72 73**Solution** 74 75Use [setSessionId](js-apis-data-distributedobject.md#setsessionid9-2) to cancel the existing **sessionId** and then set the asset or asset array. 76