DevOps/[AWS]
[AWS] Lambda로 슬랙에 자동 알림을 보내보자 - 오류 "this content can't be displayed"
민프야
2022. 4. 13. 12:51
알림은 잘 도착하는데 봇에서 이런 오류 메세지를 보여주었다.
stackOverflow에 검색해보았는데
Message notifications produce "This content can't be displayed"
I'm sending messages into Slack via a web hook. Message notifications using a single "text" JSON element produce the correct notification text with the Slack app for OS X and iOS. The message tex...
stackoverflow.com
텍스트를 최상위 구조로 옮겨야한다고 해서
내 코드 구조에서도 텍스트를 제일 위로 올려보았는데
정상 동작하였다.