Symptom

The following exception occurs when I use Tablestore SDK for Java:
java.lang.IllegalArgumentException: The access key id is invalid:xxx.

Cause

The AccessKey pair that you specify is invalid. The AccessKey ID or AccessKey secret contains invalid characters.

Solution

Specify a valid AccessKey pair.

If no AccessKey pair is created, you must create an AccessKey pair. For more information, see View the information about AccessKey pairs of a RAM user and Create an AccessKey pair.