edit-icon download-icon

Exception OTSUnsupportOperation occurred when SDK is used

Last Updated: Apr 11, 2018

Symptom

When syncClient.createTable(request) is called, the following error is returned:

Caused by: [ErrorCode]:OTSUnsupportOperation, [Message]:Unsupported operation: 'CreateTable'.

Cause

An SDK of version 4.0.0 or later is used to access a table of an earlier version.

Resolution

Use an earlier SDK version (recommended version: 2.x.x).

  1. <dependency>
  2. <groupId>com.aliyun.openservices</groupId>
  3. <artifactId>ots-public</artifactId>
  4. <version>2.2.5</version>
  5. </dependency>
Thank you! We've received your feedback.