Slack api files.upload错误:not_in_channel
尝试从doc上上传从构建服务器上传: https://api.slack.com /methods/files.upload
也使用bot令牌: https://api.slack。 com/authentication/basics
我遇到了错误:{“ ok”:false,“ error”:“ not_in_channel”}
感谢任何帮助和指针!
trying to upload a file from a build server following the doc: https://api.slack.com/methods/files.upload
And also using bot token: https://api.slack.com/authentication/basics
I am getting the error: {"ok":false,"error":"not_in_channel"}
Appreciate any help and pointers!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
当使用bot oauth令牌并且机器人不在目标通道中时,就会发生此错误。
修复:
/邀请@bot_name
This error occurs when a bot oauth token is used and the bot isn't in the target channel(s).
To fix:
/invite @BOT_NAME