dynobase-icon
Dynobase

Error: dynamodb global secondary index does not project

Rafal Wilinski

Answered by Rafal Wilinski

Last updated: October 23rd, 2026

Solution

A global secondary index contains its keys, the base-table primary key and the attributes selected by its projection. Querying that index cannot retrieve arbitrary non-projected attributes from the base table.

Choose KEYS_ONLY, INCLUDE or ALL when creating the index. You cannot change an existing GSI projection with UpdateTable. Either query the index then fetch the base-table items by their full keys, or create a replacement index with the required projection and migrate readers after backfill completes.

Review GSI projections and the AWS GSI guide.

Dynobase is a Professional GUI Client for DynamoDB

Start your 7-day free trial today

Product Features

Download
/
Changelog
/
Pricing
/
Member Portal
/
Privacy
/
EULA
/
Twitter
© 2026 Dynobase
+
Still using AWS DynamoDB Console?
Try Dynobase to accelerate your DynamoDB workflow. Start your 7-day free trial today.