데이터 마이그레이션1 dynamodb putItem오류 해결 ClientError: An error occurred (ValidationException) when calling the PutItem operation: One or more parameter values were invalid: Missing the key PK in the item DynamoDB를 이용하다 보면 PutItem시 아래와 같은 오류를 접할 수 있다. ClientError: An error occurred (ValidationException) when calling the PutItem operation: One or more parameter values were invalid: Missing the key PK in the item 말 그대로 PK라는 이름의 Key가 존재해야만 putItem이 가능한데, 이것이 없다는 뜻이다. 단순한 구조로 데이터 row 1개가 {key1 : value1, key2 : value2, ..., keyn : valuen}과 같이 이뤄져 있을 때, 이에 맞는 key1 ~ n 까지가 정확히 일치해야만 한다는 것이다. Team B에서 Da.. 2023. 12. 21. 이전 1 다음