JCT Developer
JCT Developer

Reputation: 81

Actions on Google Simulator not working

I follow the actions on Google instruction, just have one action which is the default welcome intent.
I always get this error when I type "talk to XXX ".

Also, I tried the google smart home action example, I could see my devices on mobile assist APP - home control, but I had some error when I test on the simulator like "turn on my lights".

Anyone know what could cause this issue? Thanks!

{
 "response": "We're sorry, but something went wrong. Please try again.",
 "expectUserResponse": false,
 "conversationToken": "",
 "audioResponse": "",
 "visualResponse": {
  "visualElementsList": [
  {
    "displayText": {
      "content": "Sorry, this action is not available in simulation"
    }
  }
],
"suggestionsList": [],
"agentLogoUrl": ""
},
"clientError": 4,
"is3pResponse": false
}

UPDATE

Hi, this issue is fixed. It is because APP activity control is turned off by the company account Administrator, even though I enabled web & App activity on my account.

Upvotes: 3

Views: 2721

Answers (1)

Nick Felker
Nick Felker

Reputation: 11968

When you are simulating a conversational action, are you making sure that the project is currently in a 'test draft' state? You may want to disable and re-enable testing by clicking on the testing button in the top right corner of the console. Actions on Google console screenshot

If you are testing a smart home action, you can't make calls such as "talk to X" as there is no conversational entrypoint for a smart home action. However, after you do account linking commands like "turn on lights" should correctly send the command to your endpoint only for the currently tested action.

Upvotes: 1

Related Questions