2 réponses
- Le plus récent
- Le plus de votes
- La plupart des commentaires
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 } }
répondu il y a 2 ans
Contenus pertinents
- demandé il y a un an
- demandé il y a un an
- Réponse acceptéedemandé il y a un an
- AWS OFFICIELA mis à jour il y a 3 ans
- AWS OFFICIELA mis à jour il y a un an