You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

使用gactions push部署SDK至Google Action Console时遇禁用报错

解决gactions push提示Conversational Action已停用但项目无对应横幅的问题

问题概述

执行gactions push命令推送SDK到Google Action Console时触发400错误,提示Conversational Action已停用、无法修改操作。但对照官方文档说明,项目中没有Conversational Action横幅,按规则应不受停用影响,多方排查未解决问题。

错误信息如下:

Pushing files in the project "test-projects-396206" to Actions Console. This may take a few minutes.
Sending configuration files...
Sending resources...
Waiting for server to respond...
[ERROR] Server did not return HTTP 200.
{
  "error": {
    "code": 400,
    "message": "This Conversational Action has been disabled. No changes can be made to the Action. You can still view the Actions until July 13, 2023. Learn more about the Conversation Actions sunset at https://goo.gle/ca-sunset.",
    "details": [
      {
        "@type": "type.googleapis.com/google.rpc.BadRequest",
        "fieldViolations": [
          {
            "description": "This Conversational Action has been disabled. No changes can be made to the Action. You can still view the Actions until July 13, 2023. Learn more about the Conversation Actions sunset at https://goo.gle/ca-sunset."
          }
        ]
      }
    ]
  }
}

可能原因

  • 项目存在Conversational Action历史残留:即使当前控制台无横幅,项目可能曾创建过Conversational Action,系统仍将其标记为该类型
  • gactions工具版本过时:旧版本工具未适配新Actions框架,仍调用已废弃的Conversational Action接口
  • 配置文件异常:项目核心配置文件(如action.json)仍包含Conversational Action相关字段,或配置的项目ID与控制台实际项目不匹配

解决方案

1. 排查项目历史残留

进入Actions Console,查看项目的版本历史或操作记录,确认是否曾创建过Conversational Action。若存在残留配置,尝试清理旧的Conversational Action版本。

2. 更新gactions工具

执行命令将工具更新至最新版本,确保适配Actions Builder等新框架:

gactions update

3. 校验项目配置文件

  • 检查项目根目录的action.json或核心配置文件,移除所有Conversational Action相关字段(如conversations节点)
  • 确认配置文件中的projectId与控制台显示的项目ID完全一致,无拼写错误

4. 新建项目测试

若以上方法无效,创建全新的Actions项目,使用Actions Builder框架完成基础配置后,再执行gactions push测试,验证是否仍触发错误。

内容的提问来源于stack exchange,提问作者Ramesh S

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.11 16:02:55