Slack API · error code

Slack error messages_tab_disabled: The app's Messages tab is disabled

ConfigurationHTTP 200Channels, membership & DMs

Last verified against Slack API reference - chat.postMessage errors

What Slack returns
Messages tab for the app is disabled.

What error messages_tab_disabled means

Your bot tried to send a direct message, and Slack refused because the app's Messages tab is switched off. The chat.postMessage reference documents the string as "Messages tab for the app is disabled." Every Slack app has an App Home with up to three tabs — Home, Messages, and About — and the Messages tab is the surface where DMs between users and the app live. When that tab is disabled in the app's configuration, there is nowhere for a DM to land, so the API rejects the send.

This error is a pure configuration toggle, which is what makes it maddening when unrecognized: the token is valid, every scope is present, conversations.open may even succeed in returning a DM conversation ID, and then the actual chat.postMessage into that conversation fails. Teams routinely burn hours auditing scopes because the error's wording does not obviously say "flip a switch in the app config". No scope change, reinstall, or code change fixes it — only the toggle does.

The fix lives in your app's settings on the Slack app management page: under App Home, enable the Messages Tab. If you also want users to be able to type back to your bot, tick the companion setting ("Allow users to send Slash commands and messages from the messages tab") — otherwise the DM is a one-way surface and user replies stay disabled, which many teams then misread as broken event delivery. Changes to these toggles take effect without a reinstall, though users may need to reopen the DM.

Because it fails at send time, this is one of the errors worth checking during onboarding: if DMing users is part of your app's behavior, send a test DM as part of installation validation rather than discovering the disabled tab when your first real notification fails. In logs it looks like every other platform error (ErrorCode.PlatformError / SlackApiError with this string), and it is completely deterministic — retries are pointless until the configuration changes.

What it looks like

{"ok": false, "error": "messages_tab_disabled"}

Why it happens

  • The Messages Tab toggle under App Home is off — the default posture for some app setups that never planned DMs.
  • The app was rebuilt or recreated (or a manifest was applied) without the Messages tab enabled, silently dropping DM capability.
  • The companion 'Allow users to send Slash commands and messages from the messages tab' is off, so users cannot reply, which compounds the confusion even after sends are fixed.

How to fix Slack error messages_tab_disabled

  1. 1Open the app's configuration on the Slack app management page and go to Features -> App Home.
  2. 2Enable Messages Tab under Show Tabs.
  3. 3If users should be able to write to the bot, also enable 'Allow users to send Slash commands and messages from the messages tab'.
  4. 4Retry the DM send; no reinstall is needed for the toggle to take effect.
  5. 5If sends still fail, re-establish the DM with conversations.open and post to the returned channel.id.

How to stop it recurring

Include the Messages tab settings in your app manifest so environment rebuilds cannot lose them, and add a DM smoke test to installation validation. Document the toggle in your team's runbook — it is the rare Slack failure whose fix is a checkbox, and knowing that turns an hour of scope archaeology into a minute of configuration. Related DM plumbing lives under user_not_found and the app-surface overview in Slack chatbot.

Official reference: Slack API reference - chat.postMessage errors. See all Slack error codes or the Slack limits and quotas.

Related codes

Error messages_tab_disabled - quick answers

What does Slack error messages_tab_disabled mean?

Your bot tried to send a direct message, and Slack refused because the app's Messages tab is switched off. The chat.postMessage reference documents the string as "Messages tab for the app is disabled." Every Slack app has an App Home with up to three tabs — Home, Messages, and About — and the Messages tab is the surface where DMs between users and the app live.

How do I fix Slack error messages_tab_disabled?

1. Open the app's configuration on the Slack app management page and go to Features -> App Home. 2. Enable Messages Tab under Show Tabs. 3. If users should be able to write to the bot, also enable 'Allow users to send Slash commands and messages from the messages tab'. 4. Retry the DM send; no reinstall is needed for the toggle to take effect. 5. If sends still fail, re-establish the DM with conversations.open and post to the returned channel.id.

Stop debugging Slack by hand

Connect the channel through Conferbot: tokens, webhooks and retries are handled, failures show as readable status.