Learned that one has to wrap the JSON payload with “blocks”: [] when using code generated from the Slack Block Builder.