Google上的操作 - 无法解析SDKResponse

时间:2017-05-25 10:58:54

标签: actions-on-google

{
"response": "my test app isn’t responding right now. Try again soon.\n",
"audioResponse": "//NExAAR0...",
"debugInfo": {
    "sharedDebugInfo": [
        {
            "name": "ExecutionResponse",
            "debugInfo": "Failed to parse SDKResponse from http_response: 'HTTP/1.1 200 OK\r\nX-Powered-By: Express\r\nContent-Type: application/json; charset=utf-8\r\nContent-Length: 258\r\nETag: W/\"102-WOnideDlHzFAk9nQQ/VU8SUGeMY\"\r\nDate: Thu, 25 May 2017 10:39:15 GMT\r\n\r\n{\"conversation_token\":\"{\\\"state\\\":null,\\\"data\\\":{}}\",\"expect_user_response\":true,\"expected_inputs\":[{\"input_prompt\":{\"initial_prompts\":[{\"ssml\":\"<speak>Hello.</speak>\"}],\"no_input_prompts\":[]},\"possible_intents\":[{\"intent\":\"assistant.intent.action.TEXT\"}]}]}'"
        }
    ]
},
"visualResponse": {}
}

当我尝试将JSON响应发送回Action On Google时,我从Web模拟器获得了此信息。我不想使用ActionsSdkAssistant节点模块,但尝试从此模块获得与ask()方法相同的结果。

0 个答案:

没有答案