Google Assistant trouble shooting

thanks for letting us know about this fix. editing the actions.yaml file is not totally clear for me. what did you delete exactly?

First remove the [ from beginning and ] from the end of the file. Then find (its closer to the end) and remove:

"googleFulfillments":[{"endpoint":{"baseUrl":"https://url.toyourserver.com/api/google_assistant"},"name":"actions.fulfillment.devices"}],

don’t miss the , at the end of the removed part

You can also use json editor to make it easier for yourself.

2 Likes

action.json right (not yaml)

Remove the opening and closing brackets [ … ], and remove the following block:

  "googleFulfillments": [
    {
      "endpoint": {
        "baseUrl": "[URL]"
      },
      "name": "actions.fulfillment.devices"
    }
  ],
2 Likes

arf not fast enough ^^
it is much easier once indented :-p

Yea, but the output file was not indented for me so I thought it would be easier to understand for people not familiar with json. :slight_smile:

I don’t have that section in my file! I wonder if that’s because I have a current test running ok?

I’ll be interested in 2 days if you can just re-enable the simulation instead of creating a new draft or going through this manual procedure. I think I have 6 days till my test will stop…

THanks team - OK all those steps seems to run ok and I got

Pushing the app for the Assistant for testing…
Your app for the Assistant for project [PROJID] is now ready for testing on Actions on Google enabled devices or the Actions Web Simulator at https://console.actions.google.com/project/[PROJID]/simulator/

Is there a next step now needed or should this be ready for testing in HA?

Cheers

Should be ready

OK - now its enable and offered the "share’ i was trying to see if my unique approach would work!..

My google actions setup is on gMail Account XYZ but my google home is using gmail Account ABC. After getting the above workaround done, I could now get XYZ to share the project to ABC but it does now show up as a test device to add in home for ABC! Also cannot add XYZ to the google home as it requires XYZ to login to google home on a mobile device which is already used by ABC. Confused - me too. but was trying to keep all this dev/automation separated from normal gmail account.

any suggestions/thoughts?

in the documentation on HA site , there is a way to share it with other accounts

Haven’t been able to find anything-- got a link by any chance?

yes, here … share with household users

ah yes - that one i had done those steps after being able to complete the workaround today - but it does not show up. wondering if there is something else needed,

can anyone make a full tutorial step by step to fix the google fulfill error please? I will be very grateful. Sorry I’m a newbie.

Scroll above

  1. ./gactions list --project homeassistant-000000
    -> No versions of your app for the Assistant exist.

  2. ./gactions get --project homeassistant-000000 --version draft > action.json

download and remove
“googleFulfillments”:[{“endpoint”:{“baseUrl”:“https://xxxxxxx/api/google_assistant"},“name”:"actions.fulfillment.devices”}],

  1. ./gactions test --project homeassistant-000000 --action_package action.json

-> Internal error processing ActionPackage: not an object

help me…

Did you remove [ from the beginning of the file and ] from the end of the file ?

oh! thanks!!

Just got it working too! Thank you all!