Sorry, this action is not available in simulation

给你一囗甜甜゛ 提交于 2019-12-18 02:41:18

问题


My test invocation name is "Mrs Tang", so i input "Talk to Mrs Tang", but it responds "Sorry, this action is not available in simulation"...

Does anybody know How can I resolve this error?


回答1:


According to the doc:

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.

And I had do what Jeremy Gordon suggested. To add a second google account in the GCP IAM console with a viewer action permission and then login with this second google account in an incognito window for the web simulator to work.




回答2:


I had a related problem (I could test with my main developer account, but not my test credentials). I eventually got it working with the non-primary account.

The missing link for me was that when I was viewing the simulator, I was actually signed in to two accounts, my primary google account (developer account, shows up in the main frame of the page, upper right corner), and the account I authorized when 'starting' the simulator (email address shows up in the simulator frame), which was my test credentials. The second test account repeatedly gave me the "Sorry, this action is not supported in simulation" message, until I:

1) Added the test account as a Conversation API Viewer & Client in GCP IAM console

2) Visited the 'create link' (the one that comes up when you click share) in an incognito window, and signed into the secondary account there such that I was signed into only one account in that incognito window.

After that, invocations connected to the app.




回答3:


Make sure you are logged into the same account you used to deploy the test action and that the deployment has been done within the past half hour or so. If you have not set all the information on the Actions on Google Console, you may need to use the invocation phrase "Talk to my test app".




回答4:


I think sometimes I run into the same error. I get past it by toggling the Active switch off and on.




回答5:


Same problem I encountered. You must be logged in via the secondary google account. Do logout from the account and login via the account that is paired with api.ai.

why I can't use google action in web simulator




回答6:


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.




回答7:


I had the same problem. I needed to set the location first (it defaults to Google-Headquaters), if you are in some other region (like in germany as i am). Then go on with "Mit meiner Test-App sprechen" (Talk to my test app), or whatever it is in your language!




回答8:


I did not get this message on my invocation, but on my my second input:"Sorry, this action is not available for your app.". It turns out the simulator had left the conversation right after the invocation (and it did mention that in the small print).
This happened because I returned a FinalResponse for the invocation. And a final response is pretty final, it will terminate your conversation.

So, after a FinalResponse you can only get back in your action/conversation by a new invocation or a deep link. If you want to suggest questions/inputs, then you should return ExpectedInputs.




回答9:


You might need to turn on Web & App Activity to let group members use some Google Assistant features.(if you are using organizational account)

https://support.google.com/assistant/answer/7219584?hl=en




回答10:


If you are using any organization's Google Accounts then there might be an access issue. So use your own personal Gmail account.

Take a look here, organization's might not be given you access. So use your personal Gmail and follow the Docs, you will able to create your agent/ actions and able to test it with simulator as well as in android device.




回答11:


At time of testing the Google Action you need to set the location to the country which you selected while developing or submitting your Google Action. By default US is selected in testing but if your action is for one particular country only then you need to select that. You can see in image the field where you can select location



来源:https://stackoverflow.com/questions/44341793/sorry-this-action-is-not-available-in-simulation

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