Slash comamnd 401 Unauthorized - slack_bolt_receiver_authenticity_error
See original GitHub issueDescription
Was trying to add slash command to the bot using /slack/events
as request url in the app config
But bolt-js response 401 for the ssl_check
It seems its doing verify signature first before response to ssl
But the POST request from Slack doesn’t have signature
in the header
So, How can I add slash command and what should its request url be?
What type of issue is this? (place an x
in one of the [ ]
)
- bug
- enhancement (feature request)
- question
- documentation related
- testing related
- discussion
Requirements (place an x
in each of the [ ]
)
- I’ve read and understood the Contributing guidelines and have done my best effort to follow them.
- I’ve read and agree to the Code of Conduct.
- I’ve searched for any related issues and avoided creating a duplicate issue.
Bug Report
Filling out the following details about bugs will help us solve your issue sooner.
Reproducible in:
package version:
node version:
OS version(s):
Steps to reproduce:
- Add a new slash command with url /slack/events
- App returns 401 unauthorized
Expected result:
Should pass the ssl_check
Actual result:
Not pass the ssl_check instead it’s trying to verify the signature
Attachments:
App output
The request
Issue Analytics
- State:
- Created 3 years ago
- Comments:12 (5 by maintainers)
Top Results From Across the Web
Slack App Slash Command - Invalid Signature Detected (401 ...
I'm trying to build a slack app using Java JDK 14, with gradle and ngrok. (and Slack's SDK module, Bolt). So far, I've...
Read more >Text - GovInfo
Occasionally ``[Reserved]'' is used editorially to indicate that a portion of the CFR was left vacant and not dropped in error. INCORPORATION BY...
Read more >SUSE-SU-2020:2876-1: critical: Security update for ardana ...
(#22981) * Fix mysterious Babel plugin errors (#22974) * Select: Fixed ... Alerting: Update the types of recipient supported by the Slack ......
Read more >Change log for 4.9.45
azure-disk-csi-driver · Bug 1994642: Rebase to v1. · doc: cut v1. · fix: disable networkAccessPolicy on Azure Stack Cloud #964 · Bug 1988372: ......
Read more >the 2 of 3 and 4 0 5 to 6 a 7 in 8 1 9 for 10 image 11 2 12 is 13
... produce 623 add 624 problem 625 metadata 626 schedule 627 sort 628 main 629 october 630 transfer 631 wildlife 632 york 633...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This answer may be too late but it might help others. The SLACK_SIGNING_SECRET environment variable is not set correctly for your app. See section ‘Adding your app credentials’ at https://api.slack.com/start/building/bolt-python for an example.
Hi all in this conversation, I’ve revisited this issue and it seems that we, the SDK maintainers, have provided answers to each question. Thus, let us close this one for now.
If you have a question similar to this topic, please feel free to create a new one with detailed information. We are happy to help you out 👋