You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
PutItem: item number errors have no 1 validation error detected: prefix, and DynamoDB adds it #960
PutItem refuses a malformed or out-of-range number in its item without the 1 validation error detected: prefix. Amazon DynamoDB answers the same item with the prefix. The wire tests in tests/rust/src/number_validation.rs (lines 67 to 69 at da5bca9) note the difference and match on the message body only.
Measured in us-east-1 on 11 Nov 2026, PutItem with item {pk: S, n: N <value>}. Each row went out twice and got the same answer both times:
1 validation error detected: Number overflow. Attempting to store a number with magnitude larger than supported range
1E-2147483649, 1E-9223372036854775808
1 validation error detected: Number underflow. Attempting to store a number with magnitude smaller than supported range
1E9223372036854775808
1 validation error detected: The parameter cannot be converted to a numeric value: 1E9223372036854775808
1234567890123456789012345678901234567890E200
1 validation error detected: Attempting to store more than 38 significant digits in a Number
"" (empty)
1 validation error detected: The parameter cannot be converted to a numeric value:
ExtendDB answers each row with the message alone. For the empty value it also leaves out the colon and the space: The parameter cannot be converted to a numeric value.
#620 gives the prefix to the numbers in PutItem's ExpressionAttributeValues and Expected values and in DeleteItem and UpdateItem keys. It leaves the PutItem item text as it is.
Proposed change: add the prefix to PutItem's item number messages, give the empty value the colon, and make the wire tests compare the full text.
DynamoDB adds the same prefix to the other refusals of a value's content, in an item attribute and in an UpdateItem :v value, at any depth. In UpdateItem it puts no ExpressionAttributeValues contains invalid value: ... for key :v wrapper around them.
Measured in us-east-1 on 24 November 2026 on a table that does not exist. Each request went out twice, with the same answer both times. PutItem sends the value as the attribute a of the item, and UpdateItem sends it as :v in SET a = :v. Both operations get the same ValidationException. PREFIX stands for 1 validation error detected: . The ExtendDB column is from a SQLite release build of the branch of #1437 on the same day.
PREFIX One or more parameter values were invalid: An string set may not be empty
the text without PREFIX, in both operations
{"NULL": false}, {"L": [{"NULL": false}]}
PREFIX One or more parameter values were invalid: Null attribute value types must have the value of true
the text without PREFIX, in both operations
{"L": [{"N": "bob"}]}, {"M": {"a": {"N": "bob"}}}
PREFIX The parameter cannot be converted to a numeric value: bob
the text without PREFIX, in PutItem
A NULL payload of the string "no" gets the text of the NULL of false without the prefix. In UpdateItem that text comes with the :v wrapper (measured on the same day). In UpdateItem, ExtendDB answers the two number rows with ResourceNotFoundException, because it looks the table up first (#1380).
Activity
LeeroyHannigan commentedon Nov 24, 2026
DynamoDB adds the same prefix to the other refusals of a value's content, in an item attribute and in an UpdateItem
:vvalue, at any depth. In UpdateItem it puts noExpressionAttributeValues contains invalid value: ... for key :vwrapper around them.Measured in us-east-1 on 24 November 2026 on a table that does not exist. Each request went out twice, with the same answer both times. PutItem sends the value as the attribute
aof the item, and UpdateItem sends it as:vinSET a = :v. Both operations get the sameValidationException. PREFIX stands for1 validation error detected:. The ExtendDB column is from a SQLite release build of the branch of #1437 on the same day.{"SS": []},{"L": [{"SS": []}]},{"M": {"a": {"SS": []}}}One or more parameter values were invalid: An string set may not be empty{"NULL": false},{"L": [{"NULL": false}]}One or more parameter values were invalid: Null attribute value types must have the value of true{"L": [{"N": "bob"}]},{"M": {"a": {"N": "bob"}}}The parameter cannot be converted to a numeric value: bobA
NULLpayload of the string"no"gets the text of theNULLof false without the prefix. In UpdateItem that text comes with the:vwrapper (measured on the same day). In UpdateItem, ExtendDB answers the two number rows withResourceNotFoundException, because it looks the table up first (#1380).