slack-api-docs
slack-api-docs copied to clipboard
Plain string body returned by the REST API
Hi, somtimes i'm getting the following string body from the slack API as an error response for a POST:
You are sending too many requests. Please relax.
instead of a JSON like:
{
"ok": false,
"error": "You are sending too many requests. Please relax."
}
is this a bug in the slack API or we should expect plain string responses for errors like this?
Any updates on this?
This is throwing exceptions on Slack's own python-rtmbot. Which, as I have systemd set to restart my bot automatically on error, causes even more requests to be fired at the API.