Distributed Data Object Error Codes
NOTE
This topic describes only module-specific error codes. For details about universal error codes, see Universal Error Codes.
15400001 Failed to Create the In-Memory Database
Error Message
Failed to create the in-memory database.
Description
This error code is reported if the in-memory database creation fails.
Possible Causes
The same session ID is set for another distributed data object.
Solution
Use genSessionId to generate a random session ID to avoid using an existing session ID.
15400002 Incorrect Parameter
Error Message
Parameter error.
Description
-
This error code is reported if the assetKey parameter is invalid. For example, the value is an empty string ("").
-
This error code is reported if the uri parameter is invalid. For example, the value is an empty string ("").
-
This error code is reported if the uris parameter is invalid. For example, the number of elements in the uris array exceeds 50.
Possible Causes
-
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).
-
The distributed URI required by the asset to be set is invalid. For example, it is set to null, undefined, or '' (empty string).
-
The uris array for storing the asset to be set is empty or the number of elements in the array is greater than 50.
-
One or more URIs in the uris array are invalid. For example, they are set to null, undefined, or '' (empty string).
Solution
-
Define a correct property name, for example, 'file'.
-
Define a correct distributed URI, for example, "file://docs/storage/Users/username/tmp.txt".
-
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"].
-
Ensure that each URI in the uris array is correct.
15400003 sessionId Already Set
Error Message
The sessionId of the distributed object has been set.
Description
This error code is reported if sessionId of the distributed data object has been set.
Possible Causes
The sessionId has been set for the distributed data object.
Solution
Use setSessionId to cancel the existing sessionId and then set the asset or asset array.