🌳 에러 코드
There was an unexpected error (type=Internal Server Error, status=500).
com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "connected_at" (class com.smartChart.patient.entity.KakaoProfile), not marked as ignorable (5 known properties: "kakaoAccount", "id", "connectedAt", "properties", "additionalProperties"])
java.lang.RuntimeException: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "connected_at" (class com.smartChart.patient.entity.KakaoProfile), not marked as ignorable (5 known properties: "kakaoAccount", "id", "connectedAt", "properties", "additionalProperties"])
🌳 해결 방법
🌾 원인 : 카카오 로그인시 받은 데이터의 parse명과 entity 작성시, parse명 불일치
🌾 해결 방법 : 카카오 parse명과 일치하게 수정.
Before

After

'코딩 에러 및 질문' 카테고리의 다른 글
| Date 객체 이쁘게 정리 (0) | 2023.08.31 |
|---|---|
| nested exception is org.hibernate.exception.SQLGrammarException: could not execute query (0) | 2023.08.29 |
| io.jsonwebtoken.MalformedJwtException: Unable to read JSON value: ����&�r#�$�3#Sb' (0) | 2023.08.21 |
| java.lang.IllegalStateException (0) | 2023.08.21 |
| error: pathspec 'develop' did not match any file(s) known to git (1) | 2023.08.17 |