edit-icon download-icon

Primary key type error

Last Updated: Apr 11, 2018

Symptom

Caused by: [ErrorCode]:OTSInvalidPK, [Message]:Validate PK type fail. Input: VT_STRING, Meta: VT_BLOB., [RequestId]:00055f43-3d31-012b-62c3-980a3eefe39e, [TraceId]:02822839-3b5b-af35-409a-cf68841239fa, [HttpStatus:]400

Cause

The primary key type is set to binary during table creation, while the primary key type is set to string during data writing.

Resolution

Set the primary key type for data writing to be the same as that for table creation.

Thank you! We've received your feedback.