slack-samples / deno-starter-template

A template for building Slack apps with Deno
MIT License
107 stars 20 forks source link

Validation for parameter `fields` fails when trying to open the form #30

Closed zimeg closed 1 year ago

zimeg commented 1 year ago

Summary

Attempting to open the input form from a link trigger throws the following error:

Connected, awaiting events
2023-03-16 16:05:41 [info] [Wf04UDBR85SN] (Trace=Tr04UD7T8KQT) Execution started for workflow 'Sample workflow'
2023-03-16 16:05:41 [error] [Wf04UDBR85SN] (Trace=Tr04UD7T8KQT) Execution failed for workflow 'Sample workflow'
    parameter_validation_failed - Validation for parameter `fields` failed: elements_param_validation_failed - form_input_types_validate_fail

Steps to reproduce

$ slack create my-app -t slack-samples/deno-starter-template
$ cd my-app
$ slack run  # And create a trigger when prompted

Then paste the trigger into a channel where the app is installed and try to trip it.