-
Notifications
You must be signed in to change notification settings - Fork 657
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why is Slack API not receiving my acknowledgement response ? #1585
Comments
👋 Hi @FE-POLY! This route looks good to me (thanks for sharing the code snippets!), so I'm wondering if there might be a problem in your app's interactivity configurations 🤔 Could you check that interactivity is enabled for your app in the App Config (select your app > Interactivity & Shortcuts > toggle on) and that your request URL matches what is expected by your As a note, this request URL might be different than the URL in your button. For example, if your backend is running on I hope this helps, but if your interactivity settings look correct and this warning still appears, could you share the error message that appears when hovering over the icon for further troubleshooting? Thanks! |
Hi @e-zim and thank you for your answer. |
For local development, ngrok can be a pretty useful tool in creating a publicly accessible link to a port on your localhost. These docs might be helpful in setting this up. As for your production case, I'm wondering if you could share more info around how you're deploying your app? Is the same app (with the same app ID) being hosted behind different domains, or does each domain have its own app instance? Also wanted to share that Socket Mode allows you to avoid Request URLs altogether in case this is a possibility for your app. |
👋 It looks like this issue has been open for 30 days with no activity. We'll mark this as stale for now, and wait 10 days for an update or for further comment before closing this issue out. If you think this issue needs to be prioritized, please comment to get the thread going again! Maintainers also review issues marked as stale on a regular basis and comment or adjust status if the issue needs to be reprioritized. |
As this issue has been inactive for more than one month, we will be closing it. Thank you to all the participants! If you would like to raise a related issue, please create a new issue which includes your specific details and references this issue number. |
Hello,
My app uses Slack to send users messages. In those Slack messages, buttons are used as links to my app. But in doing so, I encountered the known warning icon issue : #869 . So I created a route in my back-end just to send a 200 response to Slack. But for some reason, the warning icon is still there, which means Slack doesn't receive my acknowledgement response... And I don't know why.
Here's my route, trying both a classic 200 response and the solution mentioned in #869 (see link above) :
And here's how my Slack message button is created (with Slack Bolt) :
Packages:
Select all that apply:
@slack/web-api
@slack/rtm-api
@slack/webhooks
@slack/oauth
@slack/socket-mode
@slack/types
Reproducible in:
The Slack SDK version
"slack/bolt": "^3.12.1",
"slack/oauth": "^2.5.4",
Node.js runtime version
v16.16.0
OS info
Ubuntu 22.04.1 LTS
Steps to reproduce:
(Share the commands to run, source code, and project settings)
Expected result:
A warning icon does not display when clicking a button
Actual result:
A warning icon displays when clicking a button
The text was updated successfully, but these errors were encountered: