Slack API · error code

Slack error ekm_access_denied: Admins have disabled messaging here (EKM)

Policy / accountHTTP 200Scopes, permissions & admin policy

Last verified against Slack API reference - chat.postMessage errors

What Slack returns
Administrators have suspended the ability to post a message.

What error ekm_access_denied means

The workspace runs Slack's Enterprise Key Management (EKM), and its administrators have suspended posting in the target conversation — typically by revoking encryption key access for that channel or team as part of a security response. The chat.postMessage reference documents it as "Administrators have suspended the ability to post a message."

EKM lets Enterprise Grid organizations control their own encryption keys; revoking key access is the mechanism admins use to freeze data access during incidents, legal holds, or offboarding events. While a revocation is in force, nobody — humans or apps — posts to the affected conversations, and API calls fail with this string. Your integration is collateral, not the target.

There is nothing to fix in code. The error clears when the organization's admins restore key access. What your app should do is degrade gracefully: recognize the string, stop hammering the affected channel, and surface a clear message to the customer that their own organization's key management is blocking delivery — a materially different support conversation from "the bot is broken".

What it looks like

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

Why it happens

  • The org revoked EKM key access for the target channel or workspace during a security incident or legal hold.
  • An organization-wide EKM policy suspension is in effect while keys are rotated.
  • The specific conversation is under an admin-imposed messaging freeze.

How to fix Slack error ekm_access_denied

  1. 1Confirm with the customer's Slack admins that an EKM key revocation or freeze is active for the channel.
  2. 2Pause deliveries to the affected conversation and queue or reroute critical notifications elsewhere.
  3. 3Retry only after admins confirm access is restored; polling the channel achieves nothing during a freeze.
  4. 4Record which conversations returned this error so support can answer 'why did messages stop' with the actual cause.

How to stop it recurring

For apps sold into Enterprise Grid organizations, build EKM awareness into error handling from the start: treat ekm_access_denied as a distinct, customer-side policy state with its own alerting and messaging. Avoid retry storms against frozen channels — they burn rate limit budget without any chance of success.

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

Related codes

Error ekm_access_denied - quick answers

What does Slack error ekm_access_denied mean?

The workspace runs Slack's Enterprise Key Management (EKM), and its administrators have suspended posting in the target conversation — typically by revoking encryption key access for that channel or team as part of a security response.

How do I fix Slack error ekm_access_denied?

1. Confirm with the customer's Slack admins that an EKM key revocation or freeze is active for the channel. 2. Pause deliveries to the affected conversation and queue or reroute critical notifications elsewhere. 3. Retry only after admins confirm access is restored; polling the channel achieves nothing during a freeze. 4. Record which conversations returned this error so support can answer 'why did messages stop' with the actual cause.

Stop debugging Slack by hand

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