Skip to main content

SLACK.BAD_BLOCKS

Error code SLACK.BAD_BLOCKS, raised by toolkits/enterprise. Area: SLACK.

What it means​

  • blocks must be a list of Block Kit blocks
  • blocks is not valid JSON: …

What to do​

  • Build the layout in Slack's Block Kit Builder and paste its blocks array.
  • Correct the blocks JSON; Slack's Block Kit Builder shows valid blocks you can copy.

In a Try block, a Catch can match this code. An internal error shows a reference such as ERR-…: an administrator finds the details beside it in the server log.

Search words: SLACK BAD_BLOCKS bad blocks