尝试为整个域启用我的应用程序脚本机器人

Trying to enable my apps script bot for whole domain

我正在尝试为 "Everyone in your own domain" 启用我的机器人。出现此错误。

如果我通过 "Specific people and group in your domain" 启用它 - 它有效。

有人知道我错过了什么吗?

使用 HEAD 部署时,无法在整个域中共享 Apps 脚本机器人。

虽然微妙,但在 https://developers.google.com/hangouts/chat/how-tos/bots-apps-script 的文档中提到了它。

Image of description here

要解决此问题,您只需创建一个新部署,它应该 运行 就好了。

  1. 返回您的 Apps 脚本项目
  2. 单击“发布”>“从清单部署”
  3. 点击"Create"
  4. 为您的项目使用新的部署 ID。