다음과 같은 오류가 뜨면서 카카오 로그인 REST API로 받은 인가 코드로 서버를 실행할 수가 없습니다. 문제가 무엇인가요?
org.springframework.web.reactive.function.client.WebClientResponseException$Unauthorized: 401 Unauthorized from GET https://kapi.kakao.com/v2/user/me
at org.springframework.web.reactive.function.client.WebClientResponseException.create(WebClientResponseException.java:198) ~[spring-webflux-5.3.16.jar:5.3.16]
Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException:
Error has been observed at the following site(s):
*__checkpoint ⇢ 401 from GET https://kapi.kakao.com/v2/user/me [DefaultWebClient]
Original Stack Trace:
at org.springframework.web.reactive.function.client.WebClientResponseException.create(WebClientResponseException.java:198) ~[spring-webflux-5.3.16.jar:5.3.16]
at org.springframework.web.reactive.function.client.DefaultClientResponse.lambda$createException$1(DefaultClientResponse.java:207) ~[spring-webflux-5.3.16.jar:5.3.16]
앱 id는 740456 입니다.