Actions on google Google上的操作,webhook响应actions.intent.NEW_SURFACE

Actions on google Google上的操作,webhook响应actions.intent.NEW_SURFACE,actions-on-google,Actions On Google,尝试在webhook响应中实现新的_曲面(Google助手语音调用Dialogflow调用webhook) 当我有网络浏览器功能时,我会显示我的卡片,但当用户从谷歌主页返回时,我会告诉他何时将用户重定向到他的手机 这是我在谷歌上的错误: { "responseMetadata": { "status": { "code": 10, "message": "Failed to parse Dialogflow response i

尝试在webhook响应中实现新的_曲面(Google助手语音调用Dialogflow调用webhook)

当我有网络浏览器功能时,我会显示我的卡片,但当用户从谷歌主页返回时,我会告诉他何时将用户重定向到他的手机

这是我在谷歌上的错误:

{
      "responseMetadata": {
        "status": {
          "code": 10,
          "message": "Failed to parse Dialogflow response into AppResponse because of empty speech response",
          "details": [
            {
              "@type": "type.googleapis.com/google.protobuf.Value",
              "value": "{\"id\":\"28ef98e1-caec-4e1f-9a14-8fda597e8a06\",\"timestamp\":\"2018-08-17T12:31:10.735Z\",\"lang\":\"fr-ca\",\"result\":{},\"alternateResult\":{},\"status\":{\"code\":200,\"errorType\":\"success\"},\"sessionId\":\"1534509012113\"}"
            }
          ]
        }
      }
    }
这是我的webhook回应:

{
    "fulfillmentMessages": [],
    "payload": {
        "google": {
            "expectUserResponse": true,
            "expectedInputs": [
                {
                    "inputPrompt": {
                        "richInitialPrompt": {
                            "items": [
                                {
                                    "simpleResponse": {
                                        "textToSpeech": "TEST CHANGE SURFACE"
                                    }
                                }
                            ]
                        }
                    },
                    "possibleIntents": [
                        {
                            "intent": "actions.intent.NEW_SURFACE",
                            "inputValueData": {
                                "@type": "type.googleapis.com/google.actions.v2.NewSurfaceValueSpec",
                                "context": "To show you an image",
                                "notificationTitle": "Check out this image",
                                "capabilities": [
                                    "actions.capability.SCREEN_OUTPUT"
                                ]
                            }
                        }
                    ]
                }
            ]
        }
    },
    "source": "google"
}

需要帮助请;-)

您正在使用客户端库吗?不,从Java对象生成JSON。您正在尝试从您的webhook响应Dialogflow?嗨,终于没事了,谢谢!我的回答有误吗