Troubleshooting
Fix common Slack integration problems, from callback verification and installation errors to account links, approvals, and delivery.
Find your symptom below. Most problems come from one of three places: the Slack app's settings, the gateway's reachability, or a missing LibreChat permission.
Quick checks
Before digging in, confirm these five things. Together they explain most "the bot does nothing" reports.
- The gateway is running and its
/readyzendpoint returns200. See Verify the gateway. - The bot was invited to the channel (
/invite @your_bot). - An agent is assigned to the bot, and the connection is Active.
- The person's role has the Agents and Remote Agents use permissions, and they have Remote Access to the agent.
- The person has linked and confirmed their account.
Setup and installation
The bot does not respond
Account linking
Running requests
For operators
| Symptom | Check |
|---|---|
Gateway calls to LibreChat return 401 | CHANNEL_SERVICE_TOKEN is identical in LibreChat and the gateway, at least 32 characters, and LIBRECHAT_INTERNAL_URL points to the right instance. |
| Gateway never becomes ready | Read its startup logs. Common causes: the transport in librechat.yaml does not match SLACK_TRANSPORT, a manual connection is not active, or the Socket Mode SLACK_APP_TOKEN belongs to another app. |
| LibreChat refuses to start with "Invalid shared Slack setup" | DOMAIN_SERVER, DOMAIN_CLIENT, and SLACK_GATEWAY_URL must be public HTTPS URLs, not localhost or private addresses. |
| The gateway exits at startup mentioning a removed setting | SLACK_NATIVE_SESSIONS, SLACK_LIFECYCLE_REACTIONS, and SLACK_SIGNATURE_TOLERANCE_SECS are no longer environment variables. Move them to endpoints.agents.channels in librechat.yaml. |
Slack retries events, or the gateway returns 503 | The gateway is over capacity or LibreChat is unavailable. Slack redelivers; check API health and slackApp.gateway.ingressConcurrency. |
When you report a problem, include the run ID from the reply footer, the time, the gateway's recent logs, and the output of its /readyz endpoint.
How is this guide?