diff --git a/zh-cn/application-dev/reference/apis-arkdata/errorcode-distributed-dataObject.md b/zh-cn/application-dev/reference/apis-arkdata/errorcode-distributed-dataObject.md index 71180d2fc260f3d4c26f23b37ef61b1c7e51578f..3fb8fb415337aa0b6472c7de826c7cabed9d3061 100644 --- a/zh-cn/application-dev/reference/apis-arkdata/errorcode-distributed-dataObject.md +++ b/zh-cn/application-dev/reference/apis-arkdata/errorcode-distributed-dataObject.md @@ -8,11 +8,11 @@ **错误信息** -Failed to create the in-memory database. +Failed to create the in-memory database. The possible reason is that other distributed data object have already set the same sessionId. **错误描述** -创建内存数据库失败。 +创建内存数据库失败, 可能原因是已有其他分布式数据对象设置了相同的sessionId。 **可能原因** diff --git a/zh-cn/application-dev/reference/apis-arkdata/js-apis-data-distributedobject.md b/zh-cn/application-dev/reference/apis-arkdata/js-apis-data-distributedobject.md index a66875397b73ce8301cd8a3b852e62c82fa9109d..2b0643732e81ff95cee01d3ec4b7a54c362c3fda 100644 --- a/zh-cn/application-dev/reference/apis-arkdata/js-apis-data-distributedobject.md +++ b/zh-cn/application-dev/reference/apis-arkdata/js-apis-data-distributedobject.md @@ -178,11 +178,11 @@ setSessionId(sessionId: string, callback: AsyncCallback<void>): void 以下错误码的详细介绍请参见[通用错误码](../errorcode-universal.md)和[分布式数据对象错误码](errorcode-distributed-dataObject.md)。 - | 错误码ID | 错误信息 | - | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | + | 错误码ID | 错误信息 | + |--------------------------------------------------------------------------------------------------------------------------------------------------------------------| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | 201 | Permission verification failed. | | 401 | Parameter error. Possible causes: 1. Incorrect parameter types; 2. The sessionId allows only letters, digits, and underscores(_), and cannot exceed 128 in length. | - | 15400001 | Failed to create the in-memory database. | + | 15400001 | Failed to create the in-memory database. The possible reason is that other distributed data object has already set the same sessionId. | **示例:** @@ -215,10 +215,10 @@ setSessionId(callback: AsyncCallback<void>): void 以下错误码的详细介绍请参见[通用错误码](../errorcode-universal.md)和[分布式数据对象错误码](errorcode-distributed-dataObject.md)。 - | 错误码ID | 错误信息 | - | -------- | -------- | - | 401 | Parameter error. Incorrect parameter types. | - | 15400001 | Failed to create the in-memory database. | + | 错误码ID | 错误信息 | + |----------------------------------------------------------------------------------------------------------------------------------------| -------- | + | 401 | Parameter error. Incorrect parameter types. | + | 15400001 | Failed to create the in-memory database. The possible reason is that other distributed data object has already set the same sessionId. | **示例:** @@ -259,11 +259,11 @@ setSessionId(sessionId?: string): Promise<void> 以下错误码的详细介绍请参见[通用错误码](../errorcode-universal.md)和[分布式数据对象错误码](errorcode-distributed-dataObject.md)。 - | 错误码ID | 错误信息 | - | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | + | 错误码ID | 错误信息 | + |--------------------------------------------------------------------------------------------------------------------------------------------------------------------| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | 201 | Permission verification failed. | | 401 | Parameter error. Possible causes: 1. Incorrect parameter types; 2. The sessionId allows only letters, digits, and underscores(_), and cannot exceed 128 in length. | - | 15400001 | Failed to create the in-memory database. | + | 15400001 | Failed to create the in-memory database. The possible reason is that other distributed data object has already set the same sessionId. | **示例:**