php - Unexpected error with attachments in Slack API
one text
Solution:
You cannot fix this error. The Slack hook is rejecting your request with the error:
"419 Request Entity Too Large" ... "too_many_attachments".
You can have a maximum of 20 attachments. If you have 100 attachments, you will need to send 5 messages.
Source