My goal is to trigger modal open using Slack slash command.
I got the trigger_id from the slash command in my slack app, and trying to open modal using it, but getting following error though I can see valid trigger_id in my console logs.
Error in trigger handler Error: An API error occurred: invalid_trigger_id
This is because of my bad. I used
pushmethod instead ofopenmethod to open modal. It is working after changing my code like this: