1

I am facing the same issue as this question

Slack API Opening a New DM (Scopes and Permissions)

I have these permissions assigned enter image description here

   ok error         needed   provided
   -- -----         ------   --------
 False missing_scope im:write identify,channels:read,users:read

The self-answer in the other question implies that I need to use the bot token, instead. I don't think I have a bot token (and am not the application administrator so I can't get in), but it seems like I should be able to submit this with the user token as well.

Community
  • 1
  • 1
swasheck
  • 4,644
  • 2
  • 29
  • 56
  • 1
    you are correct. this would work with the access token too. But your token apparently is missing the `im:write` scope. did you re-install your app to the workspace after adding the scope? – Erik Kalkoken Jun 21 '19 at 02:39
  • Reinstalling the app was the answer. Thank you for the help – swasheck Jun 22 '19 at 01:04

1 Answers1

1

When scopes are added a Slack app has to be re-installed into the workspace (using the OAuth 2.0 process) to activate those changes.

Erik Kalkoken
  • 30,467
  • 8
  • 79
  • 114