Debug

[https] org.springframework.web.client.HttpClientErrorException$Unauthorized: 401 Unauthorized: "{"errorMessage":"Scope Status Invalid : Authentication failed. (인증에 실패했습니다.)","errorCode":"024"}"

배게 2023. 1. 13. 13:45
728x90

[에러원인]

해당 리소스에 유효한 인증 자격 증명이 없기 때문에 요청이 적용되지 않았음

 

[해결방법]

사용하고자하는 API의 용도에 맞는 '사용API' 정확하게 선택해준다..

'검색' 이게 없는줄 알았음.. 비로그인 방식 오픈API에 '검색'방식이 포함되어있길래

사용API에 체크안해도 되는줄..

 

 

 

 

 

 

 

org.springframework.web.client.HttpClientErrorException$Unauthorized: 401 Unauthorized: "{"errorMessage":"Scope Status Invalid : Authentication failed. (인증에 실패했습니다.)","errorCode":"024"}"