Steps
How we tested, and what is real
On 30 October 2026 we ran a throwaway n8n 2.43.7 in Docker (the official
n8nio/n8n:2.43.7image), added a Slack credential with a fake bot token, ran the Slack node (Message > Send, channel by ID) at node versions 2.1, 2.2 and 2.3, and called Slack'schat.postMessageAPI directly with curl. Theinvalid_auth,not_authedandInvalid access tokenrows below are copied from those runs.channel_not_found,not_in_channel,missing_scope,token_revokedandratelimitedneed a real Slack workspace, so those rows are based on Slack's API documentation and are marked as not tested.Quick answer: which error do you have?
What you get Cause Fix Invalid access tokenwhen you click Test on the credential (tested)Slack did not accept the token: a typo, a copied space, an old or revoked token, or a token from another app. Copy the Bot User OAuth Token ( xoxb-...) again from your Slack app's OAuth & Permissions page.Slack error response: "invalid_auth"when the node runs (tested)Same as above, seen at run time. n8n does not check the token format first: even helloas a token reached Slack and came back asinvalid_auth.Fix the token in the credential, then re-run. not_authed(tested on the Slack API)No token was sent at all: an empty credential field, or an HTTP Request node without the Authorization header. Fill in the token, or send Authorization: Bearer xoxb-....channel_not_found(not tested, Slack docs)Wrong channel ID, a channel name where an ID is expected, or a private channel the bot cannot see. Use the channel ID (starts with C), and invite the bot to private channels.not_in_channel(not tested, Slack docs)The bot is not a member of that channel. In Slack, type /invite @YourBotin the channel.missing_scope(not tested, Slack docs)The app lacks the permission, for example chat:writeto post.Add the scope under OAuth & Permissions, reinstall the app, and paste the new token. token_revoked(not tested, Slack docs)The app was uninstalled or the token was rotated. Reinstall the app and use the new token. ratelimited/ HTTP 429 (not tested, Slack docs)Too many calls; Slack sends a Retry-Afterheader.Slow down with a Wait node or batching; see n8n 429 rate limit. invalid_auth: the token is wrong
In our runs a fake
xoxb-token and a token that was not even Slack-shaped gave the same thing: the credential test saidInvalid access token, and the Slack node failed withSlack error response: "invalid_auth"on versions 2.1, 2.2 and 2.3 alike. So the message does not tell you whether the token is mistyped, revoked or from another workspace. Open your app at api.slack.com/apps, go to OAuth & Permissions, copy the Bot User OAuth Token again (it starts withxoxb-), paste it into the credential with no spaces before or after, and click Test. You can check a token outside n8n with one call:curl -s -H "Authorization: Bearer xoxb-your-token" https://slack.com/api/auth.testA good token returns
"ok":truewith your team and bot name. A bad one returns{"ok":false,"error":"invalid_auth"}, exactly what we got.not_authed: no token reached Slack
When we called
chat.postMessagewith no Authorization header, or with an emptyBearer, Slack answered{"ok":false,"error":"not_authed"}. In n8n this usually means an HTTP Request node calling the Slack API without the header, or a credential saved with an empty token field. Use the Slack node with a Slack credential, or in an HTTP Request node add the headerAuthorizationwith valueBearer xoxb-.... Calling other APIs this way? See n8n HTTP Request node errors.channel_not_found and not_in_channel: the bot cannot reach the channel
We could not test these without a real workspace, so this is from Slack's API documentation. Pass the channel ID, not its name: in Slack, open the channel, click its name, and copy the ID at the bottom (it starts with
C, orGfor some older private channels). A bot cannot see private channels it was not invited to, which also shows up aschannel_not_found. Fornot_in_channel, type/invite @YourBotin the channel and run the node again.missing_scope: the app needs another permission
Also from Slack's documentation. Each Slack action needs a scope: posting needs
chat:write, listing channels needschannels:read(andgroups:readfor private ones), uploading files needsfiles:write, and reading users needsusers:read. Add the scope under OAuth & Permissions > Bot Token Scopes, click Reinstall to Workspace, and paste the new token into n8n. If you use the OAuth2 credential instead of an access token and Slack rejects the redirect, see n8n OAuth2 redirect_uri_mismatch.
All test results
Real runs on n8n 2.43.7 in Docker, 30 October 2026, with fake tokens (no real Slack workspace).
| Test | Result |
|---|---|
| Slack credential Test, fake xoxb token | Invalid access token |
| Slack node v2.1, Message > Send, fake xoxb token | Slack error response: "invalid_auth" |
| Slack node v2.2 and v2.3, same | Slack error response: "invalid_auth" |
| Slack node, token "hello" (not xox-shaped) | Slack error response: "invalid_auth" (no format check in n8n) |
| chat.postMessage, fake token | {"ok":false,"error":"invalid_auth"} |
| chat.postMessage, empty Bearer | {"ok":false,"error":"not_authed"} |
| chat.postMessage, no Authorization header | {"ok":false,"error":"not_authed"} |
Checklist
- Token is the Bot User OAuth Token (
xoxb-), pasted with no spaces. auth.testwith that token returns"ok":true.- Channel is given by ID, and the bot is invited to it.
- The app has
chat:write(and any other scope you need), and you reinstalled it after adding scopes.
Good to know
- Gmail node failing with
Client authentication failed,invalid_grantorInvalid email address: n8n Gmail node not working. - Google Sheets node failing with
Bad request,invalid_grantor a private key error: n8n Google Sheets node not working. - Hitting Slack too fast: n8n 429 rate limit and retry.
- Every error text from our guides: n8n error message index.
What we did not test
A real Slack workspace, so the channel, scope, revoked-token and rate-limit rows come from Slack's API documentation, not from our runs. We also did not test user tokens (xoxp-), Slack triggers, or n8n Cloud.
Start from a working agent
FAQ
What does Slack error response "invalid_auth" mean in n8n?
Slack rejected the token. In our tests any wrong token, even one that was not Slack-shaped, gave exactly this error. Copy the Bot User OAuth Token (xoxb-...) again from your Slack app and test it with auth.test.
Why does my n8n Slack credential say "Invalid access token"?
The credential test sends the token to Slack and Slack refused it. Check for spaces, a token from a different app or workspace, or an app that was reinstalled with a new token.
What is the difference between invalid_auth and not_authed?
invalid_auth means a token was sent but is wrong. not_authed means no token was sent at all, for example an empty header or an empty credential field.
How do I fix channel_not_found in the n8n Slack node?
Use the channel ID instead of its name, and invite the bot to private channels. A bot cannot see private channels it is not a member of.
How do I fix not_in_channel in n8n?
Invite the bot to the channel with /invite @YourBot in Slack, then run the node again.
Related guides
- n8n Gmail node not working: Client authentication failed, invalid_grant, OAuth2 fixes
- n8n Discord node not working? 20 tests, every error decoded
- n8n JWT node not working: missing exp, Bearer, invalid algorithm, 54 runs
- n8n Google Sheets node not working: Bad request, invalid_grant, private key fixes
- n8n Rename Keys node not working: silent no-ops, lost fields and regex, 28 runs
New guides
- GitHub release notifications in Slack (any public repo, stable releases only)
- Send RSS feeds to Slack with a keyword filter (free, incoming webhook)
- Forward emails to a Slack channel (Gmail, Outlook, any IMAP), free with an incoming webhook
- n8n Google Sheets Trigger not working: not firing, activation errors and fixes