Block kit generated view JSON fails on Client.OpenView
with Block ID needs to be unique
error despite not being set
#1184
Labels
Client.OpenView
with Block ID needs to be unique
error despite not being set
#1184
What happened
Opening a
slack.ModalViewRequest
created from unmarshalled JSON produced by Slack's block kit builder fails when noblock_id
JSON fields are present.Slack documentation states that
block_id
is NOT required.Comment for
views.go/ValidateUniqueBlockID
func states it "will verify ... if set" but doesn't appear to check that.Expected behavior
View should open
Steps to reproduce
block_id
s set on the input blocks.)slack.ModalViewRequest
slack.Client.Open()
theslack.ModalViewRequest
Block ID needs to be unique
reproducible code
Versions
The text was updated successfully, but these errors were encountered: