2개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
0
Hi, DynamoDB expects the value of 'N' to be a string. You can read more about how DynamoDB handles numeric data in the Low-Level API docs here: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Programming.LowLevelAPI.html#Programming.LowLevelAPI.Numbers
If you use the following, the task should succeed:
{
"TableName": "Table_Name",
"Item": {
"orderId": "159844346634674",
"mail": "test@test.com",
"itemId": "876434",
"channel": "Retail",
"createdDate": "1234512345"
}
0
The error means that that there is no method to serialize the String in request to a number
Can you change the json to the one below and check again?
{ "TableName": "Table_Name", "Item": { "orderId": "159844346634674", "mail": "test@test.com", "itemId": "876434", "channel": "Retail", "createdDate": { "N": 1234512345 } }
답변함 2년 전
관련 콘텐츠
- AWS 공식업데이트됨 일 년 전