slackapi / slack-api-specs

Open API specifications for platform products by Slack
MIT License
222 stars 64 forks source link

Cannot post long links to Slack #27

Closed drauch closed 5 years ago

drauch commented 5 years ago

I'm not sure if we reached the correct repository, we created a Slack App and used https://api.slack.com/messaging/sending to send messages to a channel. This message contains a very long link, which we can't shorten anymore.

Slack is always returning HTTP 413 "Message too long". How to overcome this problem?

What type of issue is this? (place an x in one of the [ ])

Requirements (place an x in each of the [ ])

drauch commented 5 years ago

Note: our link length is still far below the 40.000 characters limit documented here https://api.slack.com/changelog/2018-04-truncating-really-long-messages

drauch commented 5 years ago

OK, I just realized that my colleague used a GET request instead of a POST request. That ran into the limit of GET requests.