why I can't use google action in web simulator

2019-03-25 03:31发布

问题:

Does anyone know why my action can NOT use in web simulator??

I set my invocation name for testing as "test", and in web simulator , I try to use my action by input "Talk to test", but it told me "Sorry, this action is not available in simulation"...

Is there anything wrong with me ??

回答1:

This bug should be resolved now. If you are still having this problem, you should try pairing your account with an actual device first. The issue was resolved for me by signing in to the Google Home app on my mobile device and pairing it to a home unit. After that, using the simulator then works in the browser.



回答2:

I got this to work by saying "talk to my test app" or typing it in to the simulator prompt, that triggered my app to start in the simulator. I am using an account that is NOT associated with a home device, I also have NOT entered in artwork etc.

I have found that you have to type in that phrase anytime the simulator gets confused to get back into your intent flow.

In my case it looks like this in the Dialog portion of the simulator:



回答3:

Turns out for me, even though I had turned on all the activity controls as the tutorial instructed, the organisation my login was associated with had them disabled.

Ask your admin to enable "Web & App Activity" in "My Account" > "Admin" > "Google Services"



回答4:

I had same issue. This is how I "solved" it

  1. Registered Google Home physical device to my email used for Action and api.ai development (Redeployed, now Silly project started working) (Still my project won't work)

  2. Changed the invocation name to something simple ( My first language is not english)

Now Web simulator started working(



回答5:

One possible Root cause - you are logged in via your second account.

This is the same issue I had. The UI from the earlier google home tutorials have been changed a bit. So after clicking the actions on google in api.ai we are redirected to to actions on google page. (Previously it was sent to the web simulator straight)

I created a project called personal butler in api.ai but what I saw was a project called API project, so when I clicked it and try to simulate it I got the exact error.

I registered to api.ai from my secondary google email. So when I was redirected to the actions on google page, it logged in via the primary account. After I signed out and loged in via the same account I was able to see my project and it was working fine.

PS - When testing with google home also the same account should be used in the andriod app