https://discord.gg/botpress logo
Slack integration, not_enough_users
# 🤝help
c
I've done the integration of a bot with Slack, in order to send me a DM when some conditions meet. In the studio works, but when trying in the published bot I get an error. Looking at the logs, I get a "not_enough_users" error message when trying to comunicate with Slack.
p
Can you provide more details about what you are trying to achieve, where the error happens and what the logs show?
c
Hi Leanne. The idea is the bot, when the conversation gets to a particular state, ask the user for contact data and it sends a DM to my Slack account with this information. When I try the bot in the studio works great and I receive the notification via Slack, but in the published bot I get an error. The log:
An error occured while executing an integration action: zs: Failed to start DM with user: An API error occurred: not_enough_users. Error details: {"ok":false,"error":"not_enough_users","response_metadata":{"scopes":["channels:history","channels:manage","channels:read","chat:write","groups:history","groups:read","groups:write","im:history","im:read","im:write","mpim:history","mpim:read","mpim:write","reactions:read","reactions:write","team:read","users.profile:read","users:read","users:read.email"],"acceptedScopes":["channels:write","groups:write","mpim:write","im:write","post"]}}
I've tried again today to discard it as a temporary error with no luck.