actions-on-google - 向 Alpha 通道提交助手操作返回 500 内部服务器错误
问题描述
我们不再能够将我们的操作提交到 Alpha 和/或预览频道进行测试。
从操作控制台:
- 单击部署选项卡
- 开始新版本
- 选择“Alpha”通道
- 点击提交
通常,页面现在会刷新并显示正在部署到 Alpha 的草稿版本。
相反,我们得到这个错误:“您提交的版本 XX 被拒绝”注意:这个错误立即出现,Action 没有经过审核并被拒绝;提交本身失败。我们没有收到有关提交失败原因的更多错误信息,也没有通过电子邮件获得任何信息。(通常,当 Action 被审核并出现问题时,我们会收到一封电子邮件,说明我们应该采取哪些措施来解决它)
尝试从Google Actions SDK ( gactions
) 部署 Action 时,会出现类似错误:
powershell
PS C:\src\google-action\definitions> gactions push
Pushing files in the project "gluco-check-prod" to Actions Console. This may take a few minutes.
Sending configuration files...
Waiting for server to respond...
Done. Files were pushed to Actions Console, and you can now view your project with this URL:
https://console.actions.google.com/project/gluco-check-prod/overview.
If you want to test your changes, run "gactions deploy preview",
or navigate to the Test section in the Console.
PS C:\src\google-action\definitions> gactions deploy preview
Deploying files in the project "gluco-check-prod" to Actions Console for preview.
This may take a few minutes.
Sending configuration files...
Waiting for server to respond.
It could take up to 1 minute if your cloud function needs to be redeployed.
[ERROR] Server did not return HTTP 200.
{
"error": {
"code": 500,
"message": "Internal error occurred"
}
}
同样,除了这个 500 Internal Server Error 之外没有其他信息。
我还尝试部署与我们目前在生产中拥有的完全相同的版本,但提交仍然失败。我是否忽略了某些东西,或者这是谷歌方面的问题?
解决方案
同样,我们已经有将近一周的时间无法向预览版、Alpha 版、Beta 版或生产渠道提交任何版本。
CLI 抛出 500 错误,网站显示一个空白页面,所有尝试提交的内容在几分钟后显示为“提交失败”。
在主题部署问题下支持的电子邮件也没有得到答复,因此无法弄清楚发生了什么或如何解决它。
推荐阅读
- html - 引导页脚不会粘在页面底部
- java - 没有可用的 Bean 命名 - XML 配置
- python-3.x - 有没有办法遍历多个目录?
- augmented-reality - Reality Composer – 如何永远旋转对象?
- c - 如何从 .iso 中的同一文件运行 .bin 文件
- python - pygresql copy_from 给出关系不存在错误
- python - 从图像 PyTesseract 中读取数字
- reactjs - 如何使用 gatsby 将值传递到 GraphQL 查询并做出反应?
- pandas - 如何按类别绘制一维散点图/或在箱线图上添加点
- c# - 从现有数组的一部分创建新数组的好方法是什么?