Troubleshooting
Common issues and solutions for the EventCatalog Slack Bot.
Bot doesn't respond
Check bot invitation
The bot must be invited to the channel where you're trying to use it.
Solution:
- Navigate to the channel
- Type
/invite @eventcatalog(use your bot's actual name) - Try your question again
Verify Socket Mode
Socket Mode must be enabled in your Slack app settings.
Solution:
- Go to api.slack.com/apps
- Select your app
- Click Socket Mode in the sidebar
- Verify it's toggled to On
- Restart the bot
Check bot logs
Look for connection errors or startup issues.
Solution:
View logs based on how you're running the bot:
# Local development
# Check terminal output
# Docker
docker compose logs -f
# Docker (specific container)
docker logs eventcatalog-slack-bot
Look for error messages about:
- Missing credentials
- Connection failures
- License validation issues
Missing API key error
The bot cannot find the API key for your configured AI provider.
Solution:
- Check your
.envfile contains the correct variable:
# For Anthropic
ANTHROPIC_API_KEY=sk-ant-...
# For OpenAI
OPENAI_API_KEY=sk-...
# For Google
GOOGLE_GENERATIVE_AI_API_KEY=...
- Verify your config matches the environment variable:
ai: {
provider: 'anthropic', // Must match your API key
}
- Restart the bot after adding the key
MCP connection errors
The bot cannot connect to your EventCatalog MCP server.
Verify EventCatalog URL
Solution:
- Check your config has the correct URL:
eventCatalog: {
url: 'https://your-catalog.example.com',
}
- Verify the URL is accessible from where the bot runs:
curl https://your-catalog.example.com/docs/mcp/
- For Docker deployments, see Docker networking
Check MCP server status
Solution:
- Visit your MCP endpoint in a browser:
https://your-catalog.example.com/docs/mcp/
- You should see JSON output with available tools and resources
- If you see an error, verify:
- EventCatalog is running in SSR mode
- You have a valid Scale license
Authentication required
If your EventCatalog requires authentication, add headers to your config.
Solution:
eventCatalog: {
url: 'https://your-catalog.example.com',
headers: {
'Authorization': 'Bearer your-token',
},
}
Permission errors
The bot is missing required Slack permissions.
Solution:
- Go to api.slack.com/apps
- Select your app
- Click OAuth & Permissions
- Verify these Bot Token Scopes are added:
app_mentions:readchat:writereactions:readreactions:writechannels:history
- If you added new scopes, click Reinstall to Workspace
- Restart the bot
Auto-reply channels not working
The bot doesn't auto-reply in configured channels.
Verify channel ID
Solution:
- Get the correct channel ID:
- Right-click channel name
- Click View channel details
- Scroll to bottom for Channel ID
- Check your config uses the ID (not name):
slack: {
autoReplyChannels: ['C0123456789'], // Channel ID, not #channel-name
}
- Restart the bot after changing config
Check event subscription
Solution:
- Go to api.slack.com/apps
- Select your app
- Click Event Subscriptions
- Verify Enable Events is On
- Check
message.channelsis in Subscribe to bot events
Thread context not working
The bot doesn't remember previous messages in a thread.
Public channels
Thread context should work automatically in public channels.
Solution:
- Verify
channels:historyscope is added - Reinstall the app if you just added the scope
- Restart the bot
Private channels and DMs
Thread context requires additional scopes.
Solution:
- Go to api.slack.com/apps
- Select your app
- Click OAuth & Permissions
- Add these scopes:
groups:history- Private channelsim:history- Direct messagesmpim:history- Group DMs
- Click Reinstall to Workspace
- Restart the bot
Docker networking issues
The bot cannot reach EventCatalog running on localhost.
Solution:
See the Docker networking guide for detailed solutions based on your setup.
Quick fix for local EventCatalog:
eventCatalog: {
url: 'http://host.docker.internal:3000',
}
License validation errors
The bot reports an invalid or expired license.
Solution:
- Verify your license key is correct in
.env:
EVENTCATALOG_SCALE_LICENSE_KEY=XXXX-XXXX-XXXX-XXXX-XXXX-XXXX
- Check your license status at eventcatalog.cloud
- For expired trials, upgrade to a paid plan
- Restart the bot after updating the key
Getting help
If you're still experiencing issues:
- Check the bot logs for detailed error messages
- Review the GitHub repository for known issues
- Join the EventCatalog Discord for community support
- File an issue on GitHub with:
- Bot version
- Error messages from logs
- Steps to reproduce the issue