Questions tagged [slack-bolt]

35 questions
0
votes
0 answers

auth.test method doesn't work when creating Slack App

While creating an slack app using Bolt, having trouble with the following code defined in the slack api, which is not working properly. await client.auth.test(token); Specifically, the token is determined to be valid even though the token is…
0
votes
1 answer

Slack bolt Modal complex input field

I am pretty new to the Slack bolt SDK and modals but I am running into an issue that I can't seem to find an solution too.I have a Slack app that has a button (action) on the home page that loads a modal to prompt the user for some inputs. The modal…
0
votes
0 answers

Slack bot unreachable ngrok in the development mode

I am writting the slack bot using @slack/bolt. I am trying to configure the development mode using ngrok. The problem is that a couple of weeks ago everything worked perfectly fine, but now, my ngrok became just unreachable. So, here is what I am…
dokichan
  • 857
  • 2
  • 11
  • 44
0
votes
0 answers

Getting 'exchanged_trigger_id' error with Slack BoltJS when trying to reopen a modal

Good day! I'm working on a slack app where you open a modal to view a list of goals. Each goal has an edit button which pushes a new view onto the stack. When you submit that view it goes back to the first view and updates that with the new goal…
Wesley Smits
  • 1,314
  • 6
  • 23
  • 37
0
votes
0 answers

How to authenticate slack app OAuth flow with external app?

I am building external application that needs to integrate with slack application. Currently I've built the application and it uses jwt token to authenticate it's users. Now the issue that I have is related to slack integration. I've built slack…
0
votes
0 answers

Slack slash command modal windows instantly returns an error

After submitting the modal, Slack instantly responds with {"ok":false,"error":"dispatch_failed"}. My backend doesn't even receive the requests from Slack. The app was working a few hours ago. Is the problem on Slack's side? from slack_bolt import…
0
votes
0 answers

What's the correct way to add custom admin settings/configurations to my Slack Bolt app?

I'm building a Slack app using Bolt. This app has certain settings that should only be modified by the Workspace Admin. Based on the answers in this question, you can't add a "Configurations" page. What is the best options if I can't use a…
Omar
  • 39,496
  • 45
  • 145
  • 213
0
votes
0 answers

Slack_bolt app giving SSL error with python 3.11

I am getting SSL error while creating any app with slack_bolt and python 3.11. When I change python version to 3.9 all works well, tried on multiple machines. Since I have to use python 3.11 in my org i am stuck with this error I have tried all…
0
votes
1 answer

slack bolt callback is not working Python I have two listsers

I have two listeners. Whenever the message is sent to slack channel, handle_message_events to be invoked and timer to be started. If message contains confirm_button and its clicked then it should invoke confirm_button_click. Its listening to some…
Niketa
  • 453
  • 2
  • 9
  • 24
0
votes
0 answers

In Enterprise grid slack, how do I send message using slack bot to a specific user in a workspace only if he/she also belongs in the other workspace?

In the Enterprise grid slack, if the same user is present in all the workspaces, their user_id is the same across all the workspaces. I am using the chat.postMessage slack API to send the message to the user belonging to a workspace. However, since…
Yogendra
  • 57
  • 1
  • 9
0
votes
0 answers

Python Slack_bolt how to send messages to threads

need some help with sending responses to a channel and every subsequent message to a thread. So currently the below code will reply to the thread of the command given in a Slack channel. responses = command(requested_parameters) for response in…
New2Python
  • 325
  • 1
  • 4
  • 17
0
votes
1 answer

Slack api and request to external service with @FeignClient

I have Spring Boot with Kotlin app which uses Bolt (slack api for Java). I need to fetch data from external resource during AppHomeOpenedEvent. I would like to use FeignClient but problem is that during there is no external resource call and during…
ketrab321
  • 541
  • 2
  • 12
  • 22
0
votes
1 answer

Undefined team_id in BoltJs event

I'm trying to handle the situation when my Slack app (built on top of BoltJS) is removed from a workspace, in order to remove its record from the database. Here is the section that handles it: app.event('app_uninstalled', async({team_id}) => { …
Farzan Badakhshan
  • 373
  • 1
  • 5
  • 19
0
votes
1 answer

How to send followup message in Slack App using slack_bolt?

I am building a bot that will answer a question asked in a slack App. I want to configure a followup question Note: Yes and No are radio buttons eg. User: What is the event date? Bot: 22nd Feb, 2023 (after the answer bot will trigger followup…
Sociopath
  • 13,068
  • 19
  • 47
  • 75
0
votes
1 answer

Why i am getting "error": "user_not_found" whenever i call "users.profile.get" slack API?

So, I created the slack bot and it was working completely fine but, When I distributed the slack bot app to another workspace I started facing the "user not found" error on API call of "users_profile_get" as I have also cross-checked the required…