Comments (6)
from bolt-js.
Hello @vadivelJ96. We will need more information to help you. Ensure you have read our documentation about Authenticating with OAuth as a prerequisite.
Are you using a sample installation store provided by Bolt, like the Memory or File store? Or did you implement your own, and if so, did you implement a storeInstallation
method?
The way installation store works is that upon your app being installed to a new workspace, as part of the installation OAuth flow, the installation store will run the storeInstallation
method of your installation store. We recommend implementing your own and not using the provided sample memory or file store, as they are simplistic and not suitable for production. In any case, storeInstallation
should implement a way to persistently store the installation information (like workspace ID and issued access tokens for that workspace); for example, store it to a database. Working in tandem with this method, once your app is installed into a workspace, every event originating from that workspace and sent to your app will trigger your app's fetchInstallation
method to retrieve the stored information in order to retrieve the issued access token and be able to interact with your workspace.
from bolt-js.
from bolt-js.
How is your receiver
initialized?
I see that you are overwriting the POST method to /slack/events
- this may be the problem. This is the default route bolt-js uses to receive event payloads from Slack over HTTP (as described in our Getting Started with HTTP docs here). If you are overwriting this route, I would be surprised bolt works at all.
Also, which Request URL (just the path portion is fine) did you configure on your app's configuration page on api.slack.com/apps?
from bolt-js.
Not sure what to tell you, I tried using the basic example here and it worked fine for me w/ a new app across different workspace installations: https://github.com/slackapi/bolt-js/blob/main/examples/oauth-express-receiver/app.js
Perhaps set the logging level in your receiver and app to DEBUG and inspect the logs to see if that gives you clues as to what is going on.
from bolt-js.
yes it worked after a few changes.. thanks for your help..!!
from bolt-js.
Related Issues (20)
- No way to reliably determine which user + user token a message event was delivered on behalf of. .authorize returns an installation for an arbitrary user from the same workspace. HOT 1
- Downloading file-content when user upload a file/s in bot conversation. HOT 4
- Event for mpim creation (user-token scope) HOT 1
- deferInitialization option during App creation is not clearly explained HOT 2
- Dispatch_failed Error for Slack Bot Slash Commands in Socket Mode on GCP VM with Docker HOT 3
- Slack - Support of LLM streaming HOT 5
- Slack Bot works in my workspace, but doesn't respond when Installed elsewhere HOT 21
- AWS Lambda - Slack bolt error on starting AWSLabmdaReceiver HOT 3
- How to build dynamic form HOT 1
- Application not working.........!!!!! HOT 1
- confusions over http method of running slack application HOT 13
- More clearly surface documentation on how to use Bolt.js with HTTP event delivery HOT 3
- custom routes not working HOT 6
- @slack/[email protected] incompatible engine Node 16 HOT 2
- Is there a way to obtain the "text" or "mrkdwn" version of a rich_text_input? HOT 3
- Aws lambda handler not working with oauth express handler HOT 6
- Receiving `reaction_added` events for channels we're not in HOT 3
- Open Modal API is not working suddenly. And error message is `Error: An API error occurred: invalid_trigger_id`. HOT 9
- Cannot post a message as a user via an application/bot HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bolt-js.