blockkit icon indicating copy to clipboard operation
blockkit copied to clipboard

Missing validations

Open Jorricks opened this issue 2 months ago • 1 comments

Recently I noticed that I used a Header and it had more then a 150 characters. In that case, you get back quite a cryptic message from Slack making it hard to debug if you don't know the exact payload. I was wondering if we were already doing content validation like this upon build. I don't mind adding the validations. Things that come to mind:

  • Tables have a max of 20 columns and 100 rows
  • Headers have a max length of 150

Jorricks avatar Oct 08 '25 15:10 Jorricks

Hey @Jorricks! Looks like the Header validations are working fine. I couldn’t reproduce the issue on my end. The library already handles most of the validation, but Table size checks are planned for the next release.

Could you share a bit more detail or an example where the Header validation fails? That’ll help me reproduce it and dig in further.

Image

imryche avatar Oct 14 '25 08:10 imryche