Google assistant add-on Sdk error

I am trying to install the google assistant add-on but keep failing. I have got the model id and project id

{
“client_secrets”: “google_assistant.json”,
“project_id”: “xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.apps.googleusercontent.com”,
“model_id”: “credentials.json”
}

in the logs, it showing…

[Error] You need initialize GoogleAssistant with a client secret json!

I have put the google_assistant.json and the credentials.json in the same folder where my configuration.yaml is. I have been researching about this topic but no one is getting this error in my knowledge.

Follow this guide

I think you got the wrong project_id

it is still giving that same error

the project_id didn’t come in that format like you post. Follow the guide and see that how the project_id look like.

This is the video how to

tried it but no luck

Did you complete the google assistant setup on google cloud?

you see the project_id look like this
project_id
(string)(Required)Project ID from the Google Developer console (looks like words-2ab12)

Yes I did, I found the project ID in the project settings in the actions page

did you test at google assistant console. See if it can connect to your ha.

It doesn’t connect

I got the same [Error] You need initialize GoogleAssistant with a client secret json!
I found this link regarding the json file https://developers.google.com/assistant/sdk/guides/configure-developer-project. But it don’t solve the issue.

I have ssl and duckdns running, with a dual router setup.
So port forwarding can be an issue for me. e.g. port 9324 is not accessible.

I also get error “405: Method Not Allowed” on url:
https://[domain].duckdns.org/api/google_assistant

Hi!
Where do I get credentials.json and google_assistant.json? And in which folder do I put them?
Thanks in advance!

1 Like

The same problem 4/19/2020

  1. Go to the Google Cloud Console
  2. Create a new project or select an existing project.
  3. Navigate to the “APIs & Services” > “Credentials” section.
  4. Under Client ID OAuth 2.0 you will see the name of your project, and at the right side under Actions you will see the Download Icon