首页 > 解决方案 > 向 Alpha 通道提交助手操作返回 500 内部服务器错误

问题描述

我们不再能够将我们的操作提交到 Alpha 和/或预览频道进行测试。

操作控制台

通常,页面现在会刷新并显示正在部署到 Alpha 的草稿版本。
相反,我们得到这个错误:“您提交的版本 XX 被拒绝”注意:这个错误立即出现,Action 没有经过审核并被拒绝;提交本身失败。我们没有收到有关提交失败原因的更多错误信息,也没有通过电子邮件获得任何信息。(通常,当 Action 被审核并出现问题时,我们会收到一封电子邮件,说明我们应该采取哪些措施来解决它)
您提交的版本 XX 被拒绝

尝试从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 之外没有其他信息。

我还尝试部署与我们目前在生产中拥有的完全相同的版本,但提交仍然失败。我是否忽略了某些东西,或者这是谷歌方面的问题?

标签: actions-on-google

解决方案


同样,我们已经有将近一周的时间无法向预览版、Alpha 版、Beta 版或生产渠道提交任何版本。

CLI 抛出 500 错误,网站显示一个空白页面,所有尝试提交的内容在几分钟后显示为“提交失败”。

在主题部署问题下支持的电子邮件也没有得到答复,因此无法弄清楚发生了什么或如何解决它。


推荐阅读