Actions on Google returns in simulator “We're

2020-03-17 04:31发布

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!

标签: dialogflow
3条回答
做个烂人
2楼-- · 2020-03-17 04:56

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

查看更多
Evening l夕情丶
3楼-- · 2020-03-17 05:12

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

查看更多
太酷不给撩
4楼-- · 2020-03-17 05:16

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.

查看更多
登录 后发表回答