Questions tagged «dynamo-local»

3
关键架构中的属性数量必须与属性定义中定义的属性数量匹配
我正在尝试使用DynamoDB javascript shell创建一个简单表,并且遇到了以下异常: { "message": "The number of attributes in key schema must match the number of attributes defined in attribute definitions.", "code": "ValidationException", "time": "2015-06-16T10:24:23.319Z", "statusCode": 400, "retryable": false } 以下是我要创建的表: var params = { TableName: 'table_name', KeySchema: [ { AttributeName: 'hash_key_attribute_name', KeyType: 'HASH', }, ], AttributeDefinitions: [ { …
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.