Slack · Schema

ErrorResponse

Standard error response from the Slack API.

BotsChatCollaborationMessagingProductivityT1Team Communication

Properties

Name Type Description
ok boolean
error string A short machine-readable error code such as "channel_not_found", "not_authed", "invalid_auth", "missing_scope", etc.
response_metadata object
View JSON Schema on GitHub

JSON Schema

slack-web-error-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "ErrorResponse",
  "type": "object",
  "description": "Standard error response from the Slack API.",
  "properties": {
    "ok": {
      "type": "boolean"
    },
    "error": {
      "type": "string",
      "description": "A short machine-readable error code such as \"channel_not_found\", \"not_authed\", \"invalid_auth\", \"missing_scope\", etc."
    },
    "response_metadata": {
      "type": "object"
    }
  }
}