actions-on-google-nodejs icon indicating copy to clipboard operation
actions-on-google-nodejs copied to clipboard

Error Registering Routines

Open andyvanhelsing opened this issue 6 years ago • 5 comments

Not sure if this is a client library or the Google Assistant Action:

When a user tries to set up a routine the app unexpectedly exits when trying to register the routine with the following message appears in the Google Assistant Action log:

MalformedResponse at expected_inputs[0].possible_intents[0].input_value_data: Not allowed to register updates for Routines for non-preview app

This error does not occur when I have testing enabled but is consistently reproduced on the live version of the app.

I am using the standard syntax to register the routine:

conv.ask(new RegisterUpdate({
intent: `[INTENT_NAME]`,
frequency: `ROUTINES`,
}))

andyvanhelsing avatar Mar 29 '19 22:03 andyvanhelsing

Hi, what locale are you using for your action? It may not be available yet for public distribution for your locale.

Canain avatar Apr 01 '19 19:04 Canain

I am in en/us

andyvanhelsing avatar Apr 02 '19 17:04 andyvanhelsing

I have the same issue (also en/us). It's working in test mode, but when deploying to the alpha channel the error mentioned above appears in the logs. However, it's possible to add routines with the "Add" button on the action page even when using the alpha channel.

andreask1 avatar Apr 03 '19 13:04 andreask1

That is a perfect description of what I've experienced. Have you been in contact with anyone at Google about this?

andyvanhelsing avatar Apr 03 '19 14:04 andyvanhelsing

No, I just saw the error appearing in the alpha channel and this issue is the only result that comes up when googling the error message from the logs. I'm not sure but I think it worked a couple of days ago when I first pushed it to alpha.

andreask1 avatar Apr 03 '19 14:04 andreask1