Error 2011 - Invalid StreamViewType

Last updated on Nov 10, 2022
Error Code 2011
Applies to DynamoDB Source
Error Message Text(s) - Invalid StreamViewType. Please change it to NEW_AND_OLD_IMAGES.

Potential Causes

  • The value of the StreamViewType parameter is not set to NEW_AND_OLD_IMAGES.

Suggested Actions

Update the value of the StreamViewType parameter. To do this, you must first disable streams for the table and then enable it with the correct value, NEW_AND_OLD_IMAGES:

  1. Sign in to the AWS Management Console and select the DynamoDB service.

  2. In the left navigation bar of the DynamoDB console, select Tables, and then, select the table for which you want to change the value of the StreamViewType parameter.

  3. In the Exports and streams tab, in the DynamoDB stream details section, click Disable, and then click Enable.

    Disable Streams

  4. In the Enable DynamoDB stream page, select New and old images and click Enable stream.

    New and Old Images

Revision History

Refer to the following table for the list of key updates made to this page:

Date Release Description of Change
Sep-05-2022 NA Brought this page under its respective Source documentation folder.
Oct-04-2021 1.73 New document.

Tell us what went wrong