One or more parameter values were invalid: An AttributeValue may not contain an empty string
See original GitHub issueI’m experiencing the following error when one of my fields is an empty string:
One or more parameter values were invalid: An AttributeValue may not contain an empty string (Service: AmazonDynamoDBv2; Status Code: 400; Error Code: ValidationException;
I was very surprised to discover that DynamoDb doesn’t support empty strings. Is it supposed to work out of the box with Scanamo? Is there a way to configure Scanamo/provide a string format to work around this issue?
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Attribute may not contain an empty string - Stack Overflow
One or more parameter values were invalid: An AttributeValue may not contain an empty string ... BEFORE it puts the data in the...
Read more >Empty attribute values cannot be added to a DynamoDB table
One or more parameter values were invalid: An AttributeValue may not contain an empty string (Service: AmazonDynamoDBv2; Status Code: 400; ...
Read more >Amazon DynamoDB now supports empty values for non-key ...
Amazon DynamoDB now supports empty values for non-key String and Binary attributes in DynamoDB tables. Empty value support gives you greater ...
Read more >What is causing the error "AmazonDynamoDBException
AmazonDynamoDBException : One or more parameter values are not valid. The AttributeValue for a key attribute cannot contain an empty string ...
Read more >aws/aws-sdk-go - Gitter
... empty string to dynamo. however, I got this error: "ValidationException: One or more parameter values were invalid: An AttributeValue may not contain...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
You have no idea 😩 We could change the string encoder to use
null
there, see if it fixes the issue.haha 😅 thanks for bearing with us and doing all the testing! I’ll merge asap and tag a new release.