Slack missing scope error

Describe the issue/error/question

When using slack api I get missing scope, I have recreated the app in slack and still the get the error.
This was working on Friday so not sure what has happened since then.

What is the error message (if any)?

ERROR: UNKNOWN ERROR - check the detailed error for more information
Slack error response: {“ok”:false,“error”:“missing_scope”,“needed”:“chat:write:bot”,“provided”:“admin,identify”}

Please share the workflow

(Select the nodes and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow respectively)

Share the output returned by the last node

Information on your n8n setup

  • n8n version:
  • Database you’re using (default: SQLite):
  • Running n8n with the execution process [own(default), main]:
  • Running n8n via [Docker, npm,, desktop app]:

Hey @Fernandoprie,

Welcome to the community :raised_hands:

Slack is saying that your Slack app doesn’t have the chat:write scope for your bot user. If you go to the app you created in Slack it would be worth making sure it exists for Bot and not just User.

Hi @Jon,

Yes after looking at documentation I realized that admin under user isnt enough.

Thanks for the reply.

1 Like