Invocation fails only in simulator of smart home actions on Google - actions-on-google

I followed Google's example and create a smart home action and add a table lamp device to the smart home server.
With "turn on the table lamp", invocation only fails in simulator. It does respond to the assistant on my phone and shows a brightness control.
In simulator, it showed "Sure, turning the table lamp on." in displayText, but response is still "We're sorry, but something went wrong. Please try again."
The console of my server did show a success response to Device Exec api.
I read some Stackoverflow questions and tried the following things:
I link my test account to the action on my phone.
In Chrome, I only login one account, and simulator also shows an account being linked.
I fill in all information in Directory information
Use "turn on the table lamp" directly without saying "talk to...(action name)"
What maybe a possible reason for it? Is there anything I can try?
Thanks.
This is the screenshot of simulator

This is a known issue with the simulator. You can test on-device using a phone, smart speaker, or any other Assistant surface that is connected to the Google account you're using to test.

Related

How to test an Alpha version of a Google Assistant app

I have deployed an Alpha version of my app and supplied the email address of a tester and received the opt-in link the user can use to access the Alpha app. In typical fashion, Google gives no instructions for the user, who clicks on the link and promptly gets an error message that no Google or Stackflow search throws any light on.
A further Stackflow search reveals a complex procedure for an Android phone involving copying the opt-in link to Google Notes, pressing on it, and then taking the option to open the Google Assistant app. It would be difficult to find a better way to discourage testers.
Also, this only opens the app on an Android phone. No mention of how the 20 testers can access the Alpha app on Google Home or Nest Mini. Frustrating when the app is specifically designed for use on Google Home or Nest Mini and not on a phone. Does anyone have a solution?
Users need to opt-in to the alpha program on the phone by following the link. (They shouldn't need to copy it, but they will likely need to open it in an actual browser such as chrome.)
Once they have opted in, however, it will be usable on any device linked to the same account on your approved list and that they used to accept.

How do I debug using a Google Home device in Beta testing?

I have a Google account associated with user#mydomain.com and that is what my Google Home device is setup with. I have a Google Action in Beta that has passed Review and have added that email as a Beta Tester. From the opt-in link I click "Send to device > Device Name (Home Mini)" and nothing happens. When I say "Hey Google, talk to " on that device, then I get "Sorry, I don't know how to help with that yet."
You need to send it to the phone first and activate it through a device with the Google Home app installed first. Once you've done that, it should be available on all your devices linked to that account.

App working on dialogflow but not on Actions on Google Simulator

Recently, I have launched an app named 'Voice Cricket' on the google assistant skill store and it has been deployed successfully. I was trying to implement new features in the app, but when I tested my app successfully on dialogflow test console, I shifted over to Actions on Google simulator where I am getting this error
expected_inputs[0].input_prompt.rich_initial_prompt: 'rich_response'
must contain at least one item.
with response as
Voice Cricket isn't responding right now. Try again soon.
And now, I am unable to play the game on my device(getting same response as above) which is linked to the same google account on which I am building the app but when I tried playing the app on my friend's phone, it was working perfectly.
What could be the scenario? Where I might be wrong?
I even tried printing the logs on the firebase console which I am using in my app, but none is being shown.
P.S. - I am also confused about the status shown on my assistant console which is 'Deployed' but according to documentation, these can be possible status of your app, in which 'Deployed' is not one of them. Why is it so?

Activity error message on simulator

When trying to use the Actions on Google simulator,
I get "Please turn on Voice & Audio Activity, Web & App Activity, and Device Information permissions for your Google Account".
I have enabled all three in that page https://myaccount.google.com/activitycontrols and still get the error message
Confirm that you are logged in using the same account. One way to confirm this is to use an incognito browser window to log into the simulator and your activity controls.

Why am I seeing iAd's advertisements, like I did in development, in my production app?

My app just got submitted to the app store and I just downloaded it, I am getting iAd's advertisements just like while I was developing it. Will is this showing up on other peoples devices? Or just on the devices that I have in my developer account?
There is a possibility that you've got a development version on the phone and that wasn't overwritten by your app downloaded from app store.
So, just try deleting the app from your phone and computer, and then try to re-sync.
Usually, you will not see your iAd ads on a device where you have installed any provisioning profiles.
In any case, to make sure that everything is working correctly, you should go to: http://iad.apple.com, log in, and check the status of your app (i.e., click on the app name at the bottom of the Summary page where you land).
If everything is ok, you should see a status message like in the attached picture. If not, the status message will mention "test ads". In this case, get in touch with Apple by going to itunesconnect and clicking the "Contact Us" link at the bottom of the page. They will fix it quickly.