当我尝试使用rtm.connect
带有自己令牌的方法时,测试仪返回错误的响应。
网址:https://slack.com/api/rtm.connect?token=xoxp-532016xxxxx-53xxxxxx-536743xxxxxx-9211bedc4bfe9ddfexxxxxxxxxxxxxx&pretty=1
{
"ok": false,
"error": "missing_scope",
"needed": "rtm:stream",
"provided": "identify,incoming-webhook,channels:history,im:history,channels:read,im:read,team:read,users:read,users:read.email,users.profile:read,chat:write:user,files:write:user"
}
我在请求中缺少什么?为什么会missing_scope
出现这个错误?我已经关注了 Slack 文档。