You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, I would like to try and resolve this issue, by adding the !search command. Request you to assign it to me.
Since I'm just starting out with open source, it'd be great if you could give me a week's time, to solve this issue with a PR. 😄
@aaron-suarez I needed a bit of help.
I followed all the steps in the readme.
Made a slack app and integrated it into my workspace.
Updated the pybot.env variables, using the Secret code and the O-Auth token from the Slack app.
Installed all dependencies and was able to successfully run the bot on the localhost.
Made my localhost open to the public using ngrok.
To test a few commands, I added the command in slash-commands on the slack API, setting the URL as https://54bac023ae26.ngrok.io.
After which I tried running the command on slack, giving me a "dispatch error" and "401 Unauthorized" on my terminal. Pl note, I have verified the auth tokens and there is no issue there. I would appreciate some guidance from your end.
I have tried sending the request via Postman. I made an OAuth2.0 authentication token by reading the Slack App docs and sent a POST request to https://df94f7be0da7.ngrok.io/slack/commands?command=roll after I updated the slash command request URL in the slack app dashboard.
I got a 500 Server Internal Error that looks something like,
I am not able to understand how do I fix this internal error. I am getting no error on the python terminal when I send the command via slack, but the response states /roll failed with the error "dispatch_failed" and the the ngrok terminal still says 401 Unauthorized. Any guidance would be more than helpful.
If you join our slack team at https://operationcode.org/join I'd be happy to set up a slack call and pair with you on troubleshooting it. I don't know from just looking at it what the problem could be.
I just got the /roll failed with the error "dispatch_failed" error on my slack workspace as well... I'm wondering if this warrants an issue. @AllenAnthes when you get a chance can you check and see if you also get this error?
I was able to resolve it by making sure that the right ngrok url was in, and that my bot was running correctly. So I'm thinking it might be an issue like that @harjyotbagga
Activity
the-bose commentedon Oct 1, 2019
Hello, I would like to work on this
utkryuk commentedon Oct 7, 2019
I would like to take this task.
harjyotbagga commentedon Oct 3, 2020
Hey, I would like to try and resolve this issue, by adding the !search command. Request you to assign it to me.
Since I'm just starting out with open source, it'd be great if you could give me a week's time, to solve this issue with a PR. 😄
aaron-junot commentedon Oct 4, 2020
@harjyotbagga We'd love the help. If you have any questions, let us know!
harjyotbagga commentedon Oct 4, 2020
Thanks for the positive response! 😄 I've started working on it. Please assign this issue to me. I'll get back in a couple of days.
harjyotbagga commentedon Oct 5, 2020
@aaron-suarez I needed a bit of help.
I followed all the steps in the readme.
After which I tried running the command on slack, giving me a "dispatch error" and "401 Unauthorized" on my terminal. Pl note, I have verified the auth tokens and there is no issue there. I would appreciate some guidance from your end.
[http://github.com/slackapi/bolt-js/issues/579 ] A similar issue has been reported here.
aaron-junot commentedon Oct 5, 2020
Oh weird, so the bot itself is producing a 401? What happens when you hit it manually (with like Postman or curl, rather than going through slack)?
harjyotbagga commentedon Oct 7, 2020
I have tried sending the request via Postman. I made an OAuth2.0 authentication token by reading the Slack App docs and sent a POST request to https://df94f7be0da7.ngrok.io/slack/commands?command=roll after I updated the slash command request URL in the slack app dashboard.

I got a 500 Server Internal Error that looks something like,
I am not able to understand how do I fix this internal error. I am getting no error on the python terminal when I send the command via slack, but the response states /roll failed with the error "dispatch_failed" and the the ngrok terminal still says 401 Unauthorized.
Any guidance would be more than helpful.
aaron-junot commentedon Oct 7, 2020
If you join our slack team at https://operationcode.org/join I'd be happy to set up a slack call and pair with you on troubleshooting it. I don't know from just looking at it what the problem could be.
aaron-junot commentedon Oct 9, 2020
I just got the
/roll failed with the error "dispatch_failed"error on my slack workspace as well... I'm wondering if this warrants an issue. @AllenAnthes when you get a chance can you check and see if you also get this error?4 remaining items
aaron-junot commentedon Oct 9, 2020
I was able to resolve it by making sure that the right
ngrokurl was in, and that my bot was running correctly. So I'm thinking it might be an issue like that @harjyotbaggaJudsonStevens commentedon Jan 1, 2022
We'll be implementing this based on previous work into the new rewritten bot. This one is fairly low priority though so may take a bit.
[-]Slack command !search[/-][+]Slack Command !search[/+]