Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed! missing_scope ERROR #146

Open
allomorphy opened this issue Aug 12, 2020 · 20 comments
Open

Failed! missing_scope ERROR #146

allomorphy opened this issue Aug 12, 2020 · 20 comments

Comments

@allomorphy
Copy link

allomorphy commented Aug 12, 2020

Hi Folks, neat App,

I installed fine through downloading and executing the docker container.

Then I accessed with a browser and received the error:
Failed! missing_scope in the browser.

I cannot access more than this as logs from the container:
POST /invite 200 1110.118 ms - 624 GET /css/style.css 304 3.993 ms - - GET /images/bg.jpg 304 1.094 ms - -

In the Oauth & Permissions Page at /oauth? -- which has changed since the manual was written --
I added under User Token Scopes

admin.teams:write

But when I follow up by pressing Please reinstall your app for these changes to take effect ..
The page reports:
This app can not be installed on this workspace. Apps with this feature are only available to Enterprise customers.
We are on the Slack Standard Plan.

Do I have the wrong Oauth permissions option or id an Enterprise Grid a requirement for programatic inviting of Users

Thanks for your help and any advice.

@ThomasLachaux
Copy link

Hello ! Any update on this issue ? ;)

@kindofone
Copy link

@allomorphy @ThomasLachaux did any of you solve this? I have the same issue.

@elimcjah
Copy link

@kindofone @ThomasLachaux @allomorphy, did any of you find an alternative solution?

@kindofone
Copy link

@elimcjah I didn’t invest time in trying to solve this. So, nothing on my end 🤷‍♂️

@danielmoralesp
Copy link

Hi guys, I'm having the same issue here, an I tried adding a new Scope under User Token Scopes

Screenshot from 2020-12-14 11-59-48

I added the scope "Invite members to a workspace and approve or deny invitation requests" and tried to "Reinstall to Workspace", bu I get the nex request by Slack

Screenshot from 2020-12-14 11-58-36

I don't know if this is the real problem, but if so, Slack is asking for an Enterprise plan to do this. Any suggestions to solve this by the maintainers/owners. Is this the way to solve it? Basically same error as @allomorphy

@gionn
Copy link

gionn commented Jan 16, 2021

Looks like that this project is not working anymore for new installs.

@Matvey-Kuk
Copy link

Same here, can't use it for the fresh community

@davidzollo
Copy link

+1
same issue

@bipin-rudder
Copy link

+1
curl -X POST 'https://YOUR-SLACK-TEAM.slack.com/api/users.admin.invite'
--data 'email=EMAIL&token=TOKEN&set_active=true'
--compressed
is giving : {"ok":false,"error":"missing_scope","needed":"client","provided":"admin,identify"}%

To give the client scope : tried this https call
https://slack.com/oauth/authorize?&client_id=CLIENT_ID&team=TEAM_ID&install_redirect=install-on-team&scope=admin+client
But this really is not helping as the client scope is not being granted. (Even though the page redirects asking for allow/cancel option). The application scope is not being reflected here: https://api.slack.com/tokens.
Only the changes done via UI seems to work and admin.invites.read/write too are not for standard edition slack.

Have tried this quickfix for granting client scope: https://medium.com/@andrewarrow/how-to-get-slack-api-tokens-with-client-scope-e311856ebe9 .
Dint work either

@ceddybi
Copy link

ceddybi commented Feb 10, 2021

  • same

@martinkennelly
Copy link

I think this issue does not go away. If you do not have legacy token, then the OATH token is broken for free slack users. Enterprise slack users may enjoy the benefit of this project only.

@tom-geraghty
Copy link

Same issue - "This app can not be installed on this workspace. Apps with this feature are only available to Enterprise customers."
image

@cedricve
Copy link

cedricve commented Jun 4, 2021

Just tried, doesnt work indeed.

@sheidaei
Copy link

Did not work for me either. I lost the legacy token too.

@kms0219kms
Copy link

Did not work for me either. I can't make the legacy token too.

@sandhuharjodh
Copy link

Any updates?

@kms0219kms
Copy link

No. This bug is not this application.
Slack's bugs.

@StefanWallin
Copy link

I'm using this as a workaround:
#149

@mick-zelta
Copy link

Having this same issue but getting;

Invalid permissions requested
invalid_scope

when trying to add "admin.apps:read" as a User OAuth scope. Incredibly frustrating? I am the workspace and App admin, so can't understand why I still have the error?

@jlconrad3
Copy link

I'm having the same issue. No previous suggestions seem to help. Anyone know how to fix this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests