invalid_auth API Origin: Application & API OSI layer 7 · Application Last updated 28 Nov 2026

Slack API: {"ok":false,"error":"invalid_auth"}

The Slack token is invalid, revoked or sent in the wrong way.

Exact message you may see Slack invalid_auth
Seen on: Slack

Meaning

Slack returns HTTP 200 with ok:false. Tokens that were regenerated, belong to an uninstalled app, or are sent without Bearer fail with invalid_auth or not_authed.

Common causes

  • Token revoked or app uninstalled
  • Using a bot token (xoxb) where a user token (xoxp) is needed
  • Token missing or in the wrong header
  • Workspace mismatch

⚡ Quick fix

  1. Reinstall the app and copy the new token
  2. Send Authorization: Bearer xoxb-…
  3. Check the token type

Detailed fix by platform

cURL

  1. curl -H "Authorization: Bearer $TOKEN" https://slack.com/api/auth.test

How to diagnose

  1. Test — Does auth.test succeed?
  2. Type — Bot or user token?
  3. Install — App still installed?

🔧 Still not fixed?

Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:

Where this error sits

Origin: Application & API. Errors that are often confused with or caused by this one (click to open):

498 — HTTP 498 Invalid Token (HTTP)498channel_not_found — Slack API: channel_not_found / not_in_channel (API)channel_not_foundDecoding Firebase ID token failed — Firebase Admin: Decoding Firebase ID token failed. Make sure you passed the entire string JWT (Authentication)Decoding Firebase ID …didn't respond with the value of the challenge — Slack: Your URL didn't respond with the value of the challenge parameter (API)didn't respond with t…E0000011 — Okta: E0000011 Invalid token provided (Authentication)E0000011invalid_api_key — API Error: Invalid API Key / Incorrect API key provided (API)invalid_api_keyjwt malformed — JsonWebTokenError: jwt malformed — token is not three dot-separated parts (Authentication)jwt malformedmissing_scope — Slack API: {"ok":false,"error":"missing_scope","needed":"chat:write"} (API)missing_scopeinvalid_a…

Explore the map of this error Full error map →

🧠 Still stuck? Analyze your error

Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.

💬 What worked for others

No tips yet — did something else fix this for you?

Share what worked for you

Tips are checked by an editor before they appear. Links are removed.