UnparseableJsonResponse:API版本1

时间:2018-03-01 17:00:25

标签: actions-on-google

我的第一个Google Home应用程序刚刚发布,但它出现在"不健康"状态。

查看日志,我看到收到的回复是:

Received response from agent with body: HTTP/1.1 200 OK
Date: Thu, 01 Mar 2018 16:36:44 GMT
Content-Type: application/json
Content-Length: 174
Connection: keep-alive
Cache-Control: private, must-revalidate
Google-Actions-API-Version: 2
expires: -1
Vary: Accept-Encoding
Content-Encoding: gzip
Accept-Ranges: bytes
X-Cache: MISS
{"expectUserResponse":false,"finalResponse":{"richResponse":{"items":[{"simpleResponse":{"ssml":"<speak>This is AppBundle\\ActionsOnGoogle\\DictionaryEndpoint</speak>","displayText":"This is AppBundle\\ActionsOnGoogle\\DictionaryEndpoint"}}]}}}.

但我有&#34; UnparseableJsonResponse:API版本1:无法解析JSON响应字符串,错误&#34;

我无法理解健康调查的错误:

  • 我的Google Home工作正常(对话没问题)
  • 它在模拟器中也能正常工作
  • 响应的API版本是&#34; 2&#34;不是&#34; 1&#34;
  • JSon响应是valide

任何人都可以提供帮助吗?

由于

弗雷德里克

0 个答案:

没有答案