KOE010 (Bad client credentials) 에러가 발생할 때

{“error”:“invalid_client”¸
 “error_description”:'Bad client credentials'¸
 “error_code”:'KOE010'}

KOE010 (Bad client credentials) 에러가 발생할 때

:black_medium_small_square: 대부분 client_secret이 활성화된 상태에서 client_secret을 파라메터로 안넘긴 경우

"카카오디벨로퍼스>앱>플랫폼 키> REST API 키 : 수정"에 Client_secret이 설정되어 있다면¸
토큰 요청 시¸ Request 파라메터에 client_secret이 포함되어야 합니다.

  • 현재 앱에 발급된 client_secret과 요청에 사용되는 client_secret이 동일한지 확인
  • client_secret 값을 수정하기 어려운 상황이시라면 client_secret 을 사용하지 않음으로 변경
  • 카페24를 사용하고 있다면, client_secret 을 사용하지 않음으로 변경

:black_medium_small_square:Token 요청 시, Content-Type값이 multipart/form-data로 잘못 요청하는 경우
(O) application/x-www-form-urlencoded 값 으로 요청 해야함.

:black_medium_small_square: react 사용 시, request를 JSON.stringfy()로 잘못 요청하는 경우
(O) POST 방식 Data encoding 해야함.

:black_medium_small_square: method를 GET으로 요청 시
(O) POST 방식으로 요청해야함.

2개의 좋아요