Skip to content

Issue related to creating trigger for Slack App #1537

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

Open
HamzaPooki opened this issue Apr 11, 2025 · 0 comments
Open

Issue related to creating trigger for Slack App #1537

HamzaPooki opened this issue Apr 11, 2025 · 0 comments

Comments

@HamzaPooki
Copy link

I am using this function to create/enable trigger for my Slack App:

const toolset = new ComposioToolSet({ apiKey: process.env.COMPOSIO_API_KEY });
const entity = await toolset.getEntity('test1234');
const trigger = await entity.setupTrigger({
triggerName: 'SLACK_RECEIVE_GROUP_MESSAGE',
app: 'slack',
config: {}
});

Getting this error:

ComposioError: 💥 Oops! Internal server error - InternalServerError on https://backend.composio.dev/api/v1/triggers/enable/1d6ecb0d-fe23-4619-89d7-47fe6f435a6e/SLACK_RECEIVE_GROUP_MESSAGE
at CEG.throwAPIError (/Users/hamzapy/Documents/PookiDevs/Projects/AI-Agent-Builder/Backend/node_modules/composio-core/index.js:760:15)
at CEG.handleAllError (/Users/hamzapy/Documents/PookiDevs/Projects/AI-Agent-Builder/Backend/node_modules/composio-core/index.js:728:35)
at Triggers.setup (/Users/hamzapy/Documents/PookiDevs/Projects/AI-Agent-Builder/Backend/node_modules/composio-core/index.js:3025:23)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Entity.setupTrigger (/Users/hamzapy/Documents/PookiDevs/Projects/AI-Agent-Builder/Backend/node_modules/composio-core/index.js:3362:29)
at async test (/Users/hamzapy/Documents/PookiDevs/Projects/AI-Agent-Builder/Backend/routes/apps.js:116:19) {
metadata: {
fullUrl: 'https://backend.composio.dev/api/v1/triggers/enable/1d6ecb0d-fe23-4619-89d7-47fe6f435a6e/SLACK_RECEIVE_GROUP_MESSAGE',
method: 'POST',
statusCode: 500,
requestId: '3cca06fe-319b-42ba-92e2-003fc7dfa539',
metadata: { responseTime: 424, responseSize: 0 }
},
errCode: 'BACKEND::SERVER_ERROR',
description: 'Failed to enable trigger. The following error occurred while setting the webhook URL: Verification token is missing in the authorisation data',
possibleFix: 'Please try again later. If the issue persists, contact support.',
timestamp: '2025-04-11T05:18:19.199Z',
errorId: '052e6afc-5630-4e56-bf32-5e61db48772a'
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant