Back to Blog
Guide

Slack OAuth Errors: invalid_scope, Invalid Permissions Requested and bad_redirect_uri

We broke a Slack OAuth install on purpose six ways and recorded each error page, the error code your redirect URL receives, and the oauth.v2.access answers, including the one that burns your code.

Slack Green Team
November 29, 2026
November 29, 2026
3 min read
Share:
slack
api
developers
oauth

"Invalid permissions requested" on Slack's install page, and error=invalid_scope_requested on your redirect URL, mean that one of the scopes in your authorize link is not a real bot scope. Usually it is a typo, or a user scope such as search:read placed in scope= instead of user_scope=. Fix the scope list in the link and the same app installs normally.

We built a throwaway Slack app on 29 November 2026 and opened its https://slack.com/oauth/v2/authorize link as a normal workspace member, changing one thing at a time. Then we exchanged codes with oauth.v2.access to see which mistakes cost you the code.

The authorize errors, side by side

Three Slack OAuth error pages: could not be installed with Invalid permissions requested for scope chat:wrte, Something went wrong with Invalid client_id parameter, and redirect_uri did not match any configured URIs
What we changed in the linkPage showsWhere "Return" goes
scope=chat:wrte (typo)Invalid permissions requestedyour-redirect?error=invalid_scope_requested
scope=search:read (a user scope in the bot list)Invalid permissions requestedyour-redirect?error=invalid_scope_requested
user_scope=chat:wrte (typo in the user list)Invalid permissions requestedyour-redirect?error=invalid_scope_requested
no scope at allInvalid permissions requested, No scopes requestedyour-redirect?error=invalid_scope_requested
client_id that does not existInvalid client_id parameterno return button
redirect_uri not listed on the appredirect_uri did not match any configured URIs. Passed URI: ...the app's settings page

Two things the table shows that the docs do not say plainly:

  • • The scope check happens before the user sees anything. Your redirect URL receives error=invalid_scope_requested only if the user clicks Return to your app; if they close the tab, your server hears nothing.
  • • A bad redirect_uri never reaches your server at all, so you cannot catch it there. Slack shows the exact URI it received, which is the fastest way to spot a trailing slash or http vs https.
  • Fix "Invalid permissions requested"

  • Copy the scope= and user_scope= values out of your authorize link.
  • Check each name against the app's OAuth & Permissions page. Bot scopes go in scope, user scopes in user_scope, comma separated with no spaces.
  • Move any user-only scope (like search:read) to user_scope, or drop it.
  • Make sure scope is not empty. An app with no bot scopes needs at least one user scope instead.

If your scopes are valid but a method still fails after install with missing_scope, the problem is the other way round: the scope was never requested. See Slack missing_scope for that, and bot scopes for which scope each method needs.

Never appear "away" on Slack again

Cloud-based. No downloads. Works 24/7 even when your laptop is off.

Slack app install consent screen: Allow sg-lab-1129b to access Slack, with the workspace picker, the permissions list, and Cancel and Allow buttons

With a valid link, Slack shows this consent screen. Our two clicks returned:

Cancel -> https://example.com/sg-writer-1129b?error=access_denied&state=sg1129
          &error_description=The+user+has+denied+access+to+the+scope(s)+requested+by+the+client+application.
Allow  -> https://example.com/sg-writer-1129b?code=11256386461409.1273...&state=sg1129

So handle access_denied as a normal outcome, not a crash, and always check that state matches what you sent.

oauth.v2.access errors, and the one that burns the code

After Allow, your server swaps the code for a token. We sent each mistake first and the correct call second, with the same code:

made-up code                          -> invalid_code
wrong client_secret, then correct     -> bad_client_secret, then ok (code still good)
wrong redirect_uri, then correct      -> bad_redirect_uri, then invalid_code (code gone)
no redirect_uri in the exchange       -> ok
code used a second time               -> invalid_code

The bad_redirect_uri row is the trap. The exchange must send the same redirect_uri that was in the authorize link, or none at all, and one wrong try uses up the code. After that, retrying with the right value only gets invalid_code, which looks like a different bug. Send the user through the authorize link again to get a fresh code. Our oauth.v2.access guide has the full exchange, and testing OAuth on localhost covers redirect URLs during development.

FAQ

Is invalid_scope the same as invalid_scope_requested?

Slack's v2 install flow sends invalid_scope_requested to the redirect URL. Libraries and older guides often shorten it to invalid_scope; both mean a scope name Slack does not accept in that list.

Because the scope check runs first. Slack never asks the user for permissions it cannot grant, so a single bad scope stops the whole install.

Always Active

Stop Jiggling Your Mouse.

Join hundreds of remote workers who never worry about their Slack status. Set it up once, stay green forever.

Related Articles

Guide

Slack Bolt app.message: Strings, Regex and context.matches Tested

We sent 9 test messages to the same listeners in Bolt Python and Bolt JS. Strings match anywhere and are case sensitive, regex groups land in context.matches, and edits and /me messages behave differently in each.

Slack Green Team
Guide

Slack Attachments vs Blocks: What Still Works in Each

We posted the same alert as legacy attachments, as blocks, and as blocks inside an attachment. Here is what renders, what Slack ignores now, and when the color bar still needs an attachment.

Slack Green Team
Guide

Slack Workspace vs Channel: What Each One Is

A workspace is the whole Slack account your team signs in to; a channel is one conversation inside it. Screenshots and API IDs from a real workspace show where each one lives.

Slack Green Team