Deeptechia/geppetto

Message too long sending to slack

Closed this issue · 0 comments

Error 'msg_too_long' - This error indicates that the message you're trying to post to Slack exceeds the maximum allowed message size, which is generally 4000 characters. You need to either shorten the message or split it into multiple messages if it exceeds this limit.

File "/home/geppetto/geppetto/geppetto/slack_handler.py", line 110, in handle_event
msg = event["text"]
KeyError: 'text'
ERROR:root:Error posting message: The request to the Slack API failed. (url: https://www.slack.com/api/chat.update)
The server responded with: {'ok': False, 'error': 'msg_too_long'}
ERROR:root:Error posting message: The request to the Slack API failed. (url: https://www.slack.com/api/chat.update)
The server responded with: {'ok': False, 'error': 'msg_too_long'}