首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >gaction测试调用者没有权限

gaction测试调用者没有权限
EN

Stack Overflow用户
提问于 2019-05-17 10:37:08
回答 1查看 71关注 0票数 0

我正在尝试用google assistant SDK在我的raspberry pi 3上设置自定义命令。我按照this guide来设置我的自定义命令。每当我运行gactions test时,ti都会得到以下错误:

代码语言:javascript
复制
Pushing the app for the Assistant for testing...
ERROR: Failed to test the app for the Assistant
ERROR: The caller does not have permission
2019/05/16 17:50:23 Server did not return HTTP 200

我已经使用gactions update上传了我的操作定义json文件,并使用拥有google action项目的Google帐户,该文件已成功更新。因此,我不确定为什么我在我拥有的项目上没有权限,并且拥有一个成功更新的action json。

这是我的自定义操作的json。

代码语言:javascript
复制
{
  "manifest": {
      "displayName": "DJ Roomba",
      "invocationName": "DJ Roomba",
      "category": "PRODUCTIVITY"
  },
  "actions": [
    {
      "description": "Thanos Snap",
      "name": "djroomba.name.ThanosSnap",
      "availability": {
          "deviceClasses": [
              {
                  "assistantSdkDevice": {}
              }
          ]
      },
      "fulfillment": {
        "staticFulfillment": {
            "templatedResponse": {
                "items": [
                    {
                        "simpleResponse": {
                            "textToSpeech": "You should have gone for the head"
                        }
                    },
                    {
                        "deviceExecution": {
                            "command": "action.devices.commands.ThanosSnap"
                        }
                    }
                ]
            }
        }
      },
      "intent": {
        "name": "djroomba.intent.ThanosSnap",
        "trigger": {
          "queryPatterns": [
            "Thanos snap"
          ]
        }
      }
    }
  ],
  "locale": "en"
}

我不确定这是否会有帮助,但我正在使用Raspbian Jessie(因为snowboy只支持到那个)

EN

回答 1

Stack Overflow用户

发布于 2019-05-18 01:27:10

因此,事实证明,我必须至少以alpha或beta版本发布我的操作,否则gactions test将无法工作

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/56178842

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档