Slack error wont invite

I am trying to use the slack addon. I created it, and set it to invite and it results in “user not invited”.
I turned on logging. Here is the error from the logs:

[ok] =>
[error] => missing_scope
[needed] => client
[provided] => identify,channels:read,groups:read,team:read,users:read,users:read.email,chat:write:user,chat:write:bot

So… What did I do wrong? Somehow there is a missing scope.

I can get it working if I use the legacy tokens…