So I have been trying to make a very simple slash command since last 3 days that just triggers a lambda function using an api gateway. The lambda function is quite simple too. I am following the below tutorial to make this
https://medium.com/@farski/learn-aws-api-gateway-with-the-slack-police-ca8d636e9fc0
Before this I have tried many myself with a just hello work lambda function, but no matter what whenever I try to run the command in slack I always get this "dispatch_failed" error.
/appname failed with the error "dispatch_failed"
As you can see this is se generic I dont know whats going wrong in this. Looks like slack is not even hitting the request url which I configured, i am not sure though. Anyone has ever faced this and knows how we can resolve this? Thanks
(The endpoint of api gateway works fine if I just use browser or postman)
P.S If you can suggest any tutorial that shows me how can I integrate slash command with api gateway and lambda, then please.