Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sorry, this action is not available in simulation

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? enter image description here

like image 331
Joyce Qi Avatar asked Jun 03 '17 08:06

Joyce Qi


2 Answers

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.

like image 180
s-hunter Avatar answered Jan 02 '23 06:01

s-hunter


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.

like image 20
Jeremy Gordon Avatar answered Jan 02 '23 04:01

Jeremy Gordon