-
Notifications
You must be signed in to change notification settings - Fork 16
Help wanted with DynamoDbItemEncryptorException: Configuration mismatch partition or sort key does not exist in item. #393
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @motica1, This error would occur when an attribute configured as your partition key or sort key in your With respect to Query and Scan examples: That said: we have a handful of examples where we create You are correct that we do not have examples demonstrating Please provide us with your Best, |
Thank you so much @lucasmcdonald3 for your detailed response. I understand that the config should define partition key and sort key accurately and this is where i think there might be an issue.
|
Hi @motica1, Thank you for the information! We released a new version of this library (3.1.0) today that improves error messaging in this situation. Thank you, |
Thank you for the detailed error handling, i see more descriptive error now. This is strange since the index is getting correctly populated.
|
I think i have to include the partition key and sort key in my |
Hi,
I am observing an error
software.amazon.cryptography.dbencryptionsdk.dynamodb.itemencryptor.model.DynamoDbItemEncryptorException: Configuration mismatch partition or sort key does not exist in item.
during reading from a global secondary index. Thequery
operation returns successfully, but during reading the returned response the above mentioned error occurs.Here is everything that i verified:
plaintextOverride(PlaintextOverride.FORBID_PLAINTEXT_WRITE_ALLOW_PLAINTEXT_READ)
2.20.86
version of AWS SDK (more context@DynamoDbSecondaryPartitionKey
and@DynamoDbSecondarySortKey
annotations have no effect ontable.createTable()
aws-sdk-java-v2#3923 (comment))Can you help me with some direction? Also it would be worth adding some examples for
Query
andScan
operations for this new encryption client. TIA :)The text was updated successfully, but these errors were encountered: