Bizmessage를 보내기 위해 먼저 문서에 따라 client_credentials
를 사용하여 액세스 토큰을 받아야 하지만, API를 호출하면 400 Bad Request 오류가 발생하며 추가적인 상세 정보가 제공되지 않습니다.
저는 Authorization
헤더에 clientId
와 clientSecret
을 포함하여 요청을 보내고 있습니다.
client_id
는 My Application > App Settings > App Keys에서 REST API 키로 생성했고,
client_secret
은 My Application > Product Settings > Kakao Login > Security에서 생성했습니다.
어디에서 문제가 발생하는지 모르겠습니다.
curl --location ‘https://bizmsg-web.kakaoenterprise.com/v2/oauth/token’
–header ‘Authorization: Basic ****************75c3 *****************fH2V’
–header ‘Content-Type: application/x-www-form-urlencoded’
–data-urlencode ‘grant_type=client_credentials’