我有四個成員變量這樣一個模型類:是否進入DynamoDB取決於您的應用程序的模型類?
A.java
1.Attribute-1
2.Attribute-2
3.Attribute-3
4.Attribute-4
現在我做項目的DynamoDB和條目走成功,我可以看到的條目會。
現在我對模型進行一些更改並添加2個更多的屬性。
5.Attribute-5
6.Attribute-6
而在應用程序中,我設置了這兩個屬性的值。 現在,當我嘗試插入一些條目到應用程序,然後我得到這個錯誤。
com.amazonaws.services.dynamodbv2.model.AmazonDynamoDBException: The provided key element does not match the schema (Service: AmazonDynamoDBv2; Status Code: 400; Error Code: ValidationException;
什麼是錯誤