slack-cleaner icon indicating copy to clipboard operation
slack-cleaner copied to clipboard

slacker.Error: missing_scope

Open wpccolorblind opened this issue 8 years ago • 3 comments

Get this error running:

slack-cleaner --token <TOKEN> --file --user "*"

Using the slack-cleaner installed from pip.

Tried adding all scopes to my app and reinstalling app.

wpccolorblind avatar Mar 10 '17 00:03 wpccolorblind

Same here. Probably a change in the slack API. I'm currently having a look. Will share any fixes I can find

Skullsneeze avatar Mar 15 '17 13:03 Skullsneeze

I got it working (partially) by generating a token here. I believe slack switched to integrated apps, which probably handles requests differently.

Also, I said partially working, since this token is bound to a user, meaning you can only clear messages for the user to which the token belongs.

Skullsneeze avatar Mar 15 '17 13:03 Skullsneeze

The "legacy tokens" are no longer available, so you need a user_scope with one of the sets of permissions listed at https://github.com/sgratzl/slack-cleaner.

MBerka avatar Jun 16 '20 17:06 MBerka