【发布时间】:2019-06-28 21:30:02
【问题描述】:
当我尝试将 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 文档。
【问题讨论】:
标签: slack slack-api slack-commands