All Products
Search
Document Center

Tablestore:What do I do if the Signature mismatch error is reported when I use Tablestore SDKs?

Last Updated:May 08, 2023

Problem description

The following error is reported when I use Tablestore SDKs to perform operations:

Error Code: OTSAuthFailed, Message: Signature mismatch., RequestId: 0005f55a-xxxx-xxxx-xxxx-xxxxxxxxxxxx, TraceId: 10b0f0e0-xxxx-xxxx-xxxx-xxxxxxxxxxxx, HttpStatus: 403

Cause

The AccessKey ID and AccessKey secret that you specified when you initialized the client do not match each other.

Solution

Specify a valid AccessKey pair when you initialize the client. An AccessKey pair consists of an AccessKey ID and an AccessKey secret. For information about how to obtain an AccessKey pair, see How do I obtain an AccessKey pair?