当我尝试将rtm.connect
方法与自己的令牌一起使用时,测试仪会向我返回错误的响应。
URL: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文档。
答案 0 :(得分:0)