Skip to main content

LibreChat is joining ClickHouse. Learn more

LibreChat

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.

  1. The gateway is running and its /readyz endpoint returns 200. See Verify the gateway.
  2. The bot was invited to the channel (/invite @your_bot).
  3. An agent is assigned to the bot, and the connection is Active.
  4. The person's role has the Agents and Remote Agents use permissions, and they have Remote Access to the agent.
  5. The person has linked and confirmed their account.

Setup and installation

The bot does not respond

Account linking

Running requests

For operators

SymptomCheck
Gateway calls to LibreChat return 401CHANNEL_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 readyRead 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 settingSLACK_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 503The 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?