【发布时间】:2018-01-03 10:38:43
【问题描述】:
我在将 PutItem 请求发送到 DynamoDB 时遇到问题。我知道here 已经回答了类似的问题,但这里似乎没有空值。
我的 JSON 是:
{
"TableName":"Unity",
"Item":{
"id":{
"S":"73709359-ac78-46a0-8ca6-414393e33339"
},
"Session":{
"S":"b6ba8b6d-ce27-4585-aee5-b9a2393e54da"
},
"Pos":{
"X":{
"S":"-16.8"
},
"Y":{
"S":"-4.492812"
}
},
"Time":{
"S":"7/27/2017 3:21:25 PM"
}
}
}
错误是一个ValidationException:
Supplied AttributeValue is empty, must contain exactly one of the supported datatypes
有人知道怎么回事吗?
【问题讨论】:
标签: json amazon-web-services amazon-dynamodb validationerror