slack api rtm.start missing_scope needed client

yong ho picture yong ho · Jan 8, 2015 · Viewed 15.8k times · Source

I have get access token and when I try to post rtm.start, I am getting below error:

{
    error = "missing_scope";
    needed = client;
    ok = 0;
    provided = "identify,read,post";
}

I have set the scope to read,post,identify in authorize API. I have read the API document over and over again. Only rtm.start mentioned client scope. But in oauth document I didn't find a client scope. So, what's wrong?

Answer

hailgrail picture hailgrail · Jan 30, 2015

You have to do it before you get the token.

when you do the initial request to connect the app, include &scope="identify,read,post,client"