친구 api 사용 신청합니다

해당 요청은 다음과 같은 문제로 실패했습니다.

{"msg":"template_object can't be null.","code":-2}

추가로 이것은 이 요청의 응답과 동일한 내용입니다.

안녕하세요
contents 파라미터를 List로 보내는데 400오류가 발생합니다.
ACCESS_TOKEN : 9eWy5BZ8wNpU09Os0kJ1rIX95WXi9VZmJV8wwwopb9QAAAFwwvqCwQ
로 호풀한 요청의 오류 내용과 요청 전문이 어떻게 전달되었는지 보내주실수 있을까요?
감사합니다.

해당 요청의 header

{“content-length”:“0”,“x_forwarded_proto”:“https”,“content-type”:“application/json;charset=UTF-8”,“cache-control”:“no-cache”,“pragma”:“no-cache”,“accept”:“application/json”,“user-agent”:“Java/1.8.0_231”}

해당 요청의 param

{“template_object”:"%7B%22object_type%22%3A%22list%22%2C%22header_title%22%3A%22%5B2020-03-10+14%3A46%5D%22%2C%22header_image_url%22%3A%22http%3A%2F%2Fwww.smart-stock.net%2Fresources%2Fimages%2Fkakao_smart_stock_title.png%22%2C%22header_image_width%22%3A800%2C%22header_image_height%22%3A200%2C%22header_link%22%3A%7B%22web_url%22%3A%22%22%2C%22mobile_web_url%22%3A%22%22%2C%22android_execution_params%22%3A%22%22%2C%22ios_execution_params%22%3A%22%22%7D%2C%22contents%22%3A%5B%7B%22title%22%3A%22007120+%C5%D7%BD%BA%C6%AE%22%2C%22description%22%3A%22%BB%F3%C7%D1%22%2C%22image_url%22%3A%22https%3A%2F%2Fssl.pstatic.net%2Fimgfinance%2Fchart%2Fitem%2Fcandle%2Fday%2F007120.png%22%2C%22image_width%22%3A700%2C%22image_height%22%3A289%2C%22link%22%3A%7B%22web_url%22%3A%22https%3A%2F%2Fssl.pstatic.net%2Fimgfinance%2Fchart%2Fitem%2Fcandle%2Fday%2F007120.png%22%2C%22mobile_web_url%22%3A%22https%3A%2F%2Fssl.pstatic.net%2Fimgfinance%2Fchart%2Fitem%2Fcandle%2Fday%2F007120.png%22%2C%22android_execution_params%22%3A%22%22%2C%22ios_execution_params%22%3A%22%22%7D%7D%2C%7B%22title%22%3A%22007575+%C5%D7%BD%BA%C6%AE1%22%2C%22description%22%3A%22%BB%F3%C7%D1%22%2C%22image_url%22%3A%22https%3A%2F%2Fssl.pstatic.net%2Fimgfinance%2Fchart%2Fitem%2Fcandle%2Fday%2F007575.png%22%2C%22image_width%22%3A700%2C%22image_height%22%3A289%2C%22link%22%3A%7B%22web_url%22%3A%22https%3A%2F%2Fssl.pstatic.net%2Fimgfinance%2Fchart%2Fitem%2Fcandle%2Fday%2F007575.png%22%2C%22mobile_web_url%22%3A%22https%3A%2F%2Fssl.pstatic.net%2Fimgfinance%2Fchart%2Fitem%2Fcandle%2Fday%2F007575.png%22%2C%22android_execution_params%22%3A%22%22%2C%22ios_execution_params%22%3A%22%22%7D%7D%5D%2C%22button_title%22%3A%22%B4%D9%B8%A5%BA%EA%B6%F3%BF%EC%C1%AE+%C8%AE%C0%CE%22%7D"}

파라미터가 저렇게 왔기때문에 파라미터 파싱에 실패하였습니다.

{“msg”:“failed to parse parameter. name=template_object, stringToParse=-, paramString=-, paramStringAlias=null”,“code”:-2}

지난번 문의와 마찬가지로 보내주신 요청을 그대로 전달해드린 것이며, 받으신 응답 또한 그대로 전달해 드린것입니다.
모두다 테스트환경에서 확인할 수 있는 것들입니다.

안녕하세요

제가 같은 문의를 계속하는 이유는 제가 Request당시에 보내드리는 파라미터와 카카오에서 받는 데이터가 다른것 같아서
UrlEncoding도 해보고 여러가지를 시도보고 있습니다. 자바소스에서 발생을하며 rest 툴을 이용하면 잘 되어서 무엇이 문제이닞 알아보려고 문의를 드렸던 겁니다.

아래는 제거 보내드리는 URL과 파라미터입니다.
https://kapi.kakao.com/v2/api/talk/memo/default/send?template_object={“object_type”:“list”,“header_title”:"[2020-03-11 07:26]",“header_image_url”:“http://www.smart-stock.net/resources/images/kakao_smart_stock_title.png",“header_image_width”:800,“header_image_height”:200,“header_link”:{“web_url”:"",“mobile_web_url”:"",“android_execution_params”:"",“ios_execution_params”:""},“contents”:[{“title”:"007120 테스트”,“description”:“상한”,“image_url”:“https://ssl.pstatic.net/imgfinance/chart/item/candle/day/007120.png",“image_width”:700,“image_height”:289,“link”:{“web_url”:“https://ssl.pstatic.net/imgfinance/chart/item/candle/day/007120.png”,“mobile_web_url”:“https://ssl.pstatic.net/imgfinance/chart/item/candle/day/007120.png”,“android_execution_params”:"",“ios_execution_params”:""}},{“title”:"007575 테스트1”,“description”:“상한”,“image_url”:“https://ssl.pstatic.net/imgfinance/chart/item/candle/day/007575.png",“image_width”:700,“image_height”:289,“link”:{“web_url”:“https://ssl.pstatic.net/imgfinance/chart/item/candle/day/007575.png”,“mobile_web_url”:“https://ssl.pstatic.net/imgfinance/chart/item/candle/day/007575.png”,“android_execution_params”:"",“ios_execution_params”:""}}],“button_title”:"다른브라우져 확인”}

아래는 ACCESS_TOKEN입니다.
g8Jt7EOso-d3FQFeVdI9KVkmJPJcMRV2D7GFrAopcSEAAAFwxo4FoQ

아래는 Exception 발생 오류 메세지 입니다.
org.springframework.web.client.RestClientException: 400 Bad Request

무엇이 문제인지 도와 주십시오

감사합니다.

안녕하세요
연동 방법을 조금 수정하여 메세지 전달에 성공하였습니다.
UUID에게 보낸 메세지가 저에게도 오는데 이것을 enable, disable 할수 있는 방법이 없을까요?

감사합니다.

위 이야기가 보내는 사람(로그인된 계정)과의 1:1대화에 보인다는 의미라면 정상동작입니다.
메시지 api는 구현하는 서비스의 소셜활동을 지원하는 것이 목적으로 하기 때문에
로그인 된 계정으로 서비스를 같이 사용하는 친구에게 메시지를 보내는 형태로 제공하고 있습니다.
따라서 일반적인 카카오톡 대화이며, 별도로 enable/disable 할 수 있는 방법은 없습니다.

추가로, 친구 목록 확인 및 메시지 전송 이력을 모두 확인했기때문에
사용상의 문제점이나 추가 문의가 없다면 api권한을 드리겠습니다.

안녕하세요
네…추가문의 사항은 없습니다. 권한 부탁드립니다.

감사합니다.

친구/메시지 api 권한 드렸습니다.

추가로 앱아이콘을 등록해주시기 바랍니다.