Actions on Google returns in simulator “We're sorry, but something went wrong. Please try again.”

∥☆過路亽.° 提交于 2019-12-19 06:30:55

问题


Debug tab:

{
  "response": "We're sorry, but something went wrong. Please try again.",
  "expectUserResponse": false,
  "conversationToken": "",
  "audioResponse": ""
}

I create the sample project in Dialogflow and it works, but in the simulator Actions on Google it doesn't!


回答1:


Please read the "Preview the app" section of this page:

https://developers.google.com/actions/dialogflow/first-app?hl=en

To preview your app:

Turn on the Web & App Activity, Device Information, and Voice & Audio Activity permissions on the Activity controls page for your Google account. You need to do this to use the Actions Simulator, which lets you test your actions on the web without a hardware device.

https://myaccount.google.com/activitycontrols/search




回答2:


Please go to the Actions console and enter the 'Backend services' - it's in the left menu below the 'Simulator'. There should be one card for Cloud Functions. Does this say, that there's an error? If so, you can find out more in the logs of Firebase Functions, which is linked in this card.




回答3:


Check the settings and permissions, if you are a developer, owner etc. of the application. I got this fixed by changing the settings...need to dig a little more to understand the exact reason. Will do an update if I understand more



来源:https://stackoverflow.com/questions/49346394/actions-on-google-returns-in-simulator-were-sorry-but-something-went-wrong-p

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!