OTSTrimmedDataAccess error: Requested stream data is already trimmed or does not exist

Updated at:

Symptoms

The following error occurs when you use Tunnel Service to consume data:

[ErrorCode]:OTSTunnelServerUnavailable, [Message]:OTSTrimmedDataAccess Requested stream data is already trimmed or does not exist. 

Possible causes

The stream log expired because data was not pulled for an extended period.

Note

Stream logs are retained for up to 7 days. The retention period for incremental tunnel logs is the same as the time-to-live (TTL) of the stream logs for the data table.

Solution

Important

If you estimate that it will take more than 7 days to consume the full data, join DingTalk group 23307953 (Tablestore Technical Support-2) or 36165029092 (Tablestore Technical Support-3) to contact Tablestore technical support for assistance.

You can create a new tunnel for the data table and use it to consume data. For more information, see Create a tunnel in the console and Create a tunnel using an SDK.