# Getting Error in Google assistant when running the project

**URL:** <https://forum.rasa.com/t/getting-error-in-google-assistant-when-running-the-project/11607>\
**Category:** Rasa Open Source\
**Created:** [June 17, 2019, 10:42am UTC](https://forum.rasa.com/t/getting-error-in-google-assistant-when-running-the-project/11607 "2019-06-17T10:42:25Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bunny99](https://avatars.discourse-cdn.com/v4/letter/b/48db29/32.png) [@Bunny99](https://forum.rasa.com/u/Bunny99)\
**Post date:** [June 17, 2019, 10:42am UTC](https://forum.rasa.com/t/getting-error-in-google-assistant-when-running-the-project/11607/1 "2019-06-17T10:42:25Z")

</div>

Hi,

I am trying to connect RASA with Google Assistant as mentioned in the blog [Going beyond ‘Hey Google’: building a Rasa-powered Google Assistant](https://blog.rasa.com/going-beyond-hey-google-building-a-rasa-powered-google-assistant/?_ga=2.208296923.899105857.1559368846-362141642.1559368846)

Rasa version: 1.0.0 rasa\_core: 0.14.5

I am running this project using “rasa run” command .But it showing one error.That is

Exception: Failed to find input channel class for ‘credentials’. Unknown input channel. Check your credentials configuration to make sure the mentioned channel is not misspelled. If you are creating your own channel, make sure it is a proper name of a class in a module.

How to solve this error.please help me

Thank you

---

<div class="post-metadata">

**Author:** ![erohmensing](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/erohmensing/32/1789_2.png) [@erohmensing](https://forum.rasa.com/u/erohmensing)\
**Post date:** [June 20, 2019, 3:43pm UTC](https://forum.rasa.com/t/getting-error-in-google-assistant-when-running-the-project/11607/2 "2019-06-20T15:43:46Z")

</div>

Hi there @Bunny99, We are currently working on fixing this tutorial to run on the new versions of `rasa`, and we will let the community know when it is up to date!

---

<div class="post-metadata">

**Author:** ![CyrilBjn](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/cyrilbjn/32/2812_2.png) [@CyrilBjn](https://forum.rasa.com/u/CyrilBjn)\
**Post date:** [June 27, 2019, 10:47am UTC](https://forum.rasa.com/t/getting-error-in-google-assistant-when-running-the-project/11607/3 "2019-06-27T10:47:03Z")

</div>

Hi

Is it solve ? I’m checking everyday and I can’t get rid of the error with trying to put ga\_connector\_updated in credentials

---

<div class="post-metadata">

**Author:** ![Bunny99](https://avatars.discourse-cdn.com/v4/letter/b/48db29/32.png) [@Bunny99](https://forum.rasa.com/u/Bunny99)\
**Post date:** [June 27, 2019, 10:54am UTC](https://forum.rasa.com/t/getting-error-in-google-assistant-when-running-the-project/11607/4 "2019-06-27T10:54:10Z")

</div>

Yes it is solved.

---

<div class="post-metadata">

**Author:** ![CyrilBjn](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/cyrilbjn/32/2812_2.png) [@CyrilBjn](https://forum.rasa.com/u/CyrilBjn)\
**Post date:** [June 27, 2019, 11:46am UTC](https://forum.rasa.com/t/getting-error-in-google-assistant-when-running-the-project/11607/5 "2019-06-27T11:46:00Z")

</div>

But right now I got the error. I generate the action.json I add to credentials I put the ga\_connector.yml I put the ga\_connector.py I try rasa run and i have the error. I checked, make sur I have the proper name.

I need to update rasa ? I don’t understand why I still have the error.

---

<div class="post-metadata">

**Author:** ![Bunny99](https://avatars.discourse-cdn.com/v4/letter/b/48db29/32.png) [@Bunny99](https://forum.rasa.com/u/Bunny99)\
**Post date:** [June 27, 2019, 11:50am UTC](https://forum.rasa.com/t/getting-error-in-google-assistant-when-running-the-project/11607/6 "2019-06-27T11:50:32Z")

</div>

can you show me the Error please…!

which rasa version you are using (we need rasa 1.0.0)

---

<div class="post-metadata">

**Author:** ![CyrilBjn](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/cyrilbjn/32/2812_2.png) [@CyrilBjn](https://forum.rasa.com/u/CyrilBjn)\
**Post date:** [June 27, 2019, 11:58am UTC](https://forum.rasa.com/t/getting-error-in-google-assistant-when-running-the-project/11607/7 "2019-06-27T11:58:39Z")

</div>

I m using rasa 1.0.0 File “c:\users\cyril\anaconda3\lib\site-packages\rasa\core\run.py”, line 56, in \_create\_single\_channel

```
"is a proper name of a class in a module.".format(channel)

```

The error Exception: Failed to find input channel class for ‘ga\_connector\_updated.GoogleConnector’. Unknown input channel. Check your credentials configuration to make sure the mentioned channel is not misspelled. If you are creating your own channel, make sure it is a proper name of a class in a module.

My credentials rest: slack: slack\_token: “xoxb-XXXXXXXX” rasa: url: “[http://localhost:5002/api](http://localhost:5002/api)” facebook: verify: “XXXXXX” secret: “XXXXXXXXXXXXX” page-access-token: “XXXXXXXXX” ga\_connector\_updated.GoogleConnector username: “Julien”

---

<div class="post-metadata">

**Author:** ![Nasr](https://avatars.discourse-cdn.com/v4/letter/n/ee59a6/32.png) [@Nasr](https://forum.rasa.com/u/Nasr)\
**Post date:** [July 1, 2019, 8:39am UTC](https://forum.rasa.com/t/getting-error-in-google-assistant-when-running-the-project/11607/8 "2019-07-01T08:39:38Z")

</div>

I believe you need to add the folder which contains ‘ga\_connector\_updated.py’ to Python path. I am using anaconda on Windows10 and I did that by running: set PYTHONPATH=%PYTHONPATH%;C:\path-to-module

---

<div class="post-metadata">

**Author:** ![paraparata](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/paraparata/32/3741_2.png) [@paraparata](https://forum.rasa.com/u/paraparata)\
**Post date:** [July 1, 2019, 8:40am UTC](https://forum.rasa.com/t/getting-error-in-google-assistant-when-running-the-project/11607/9 "2019-07-01T08:40:17Z")

</div>

Hello Bunny99,

I face the same problem as you in credentials.yml . When I `rasa run` it gave the same error as you.

How you solve it? How do I know the `username: "jp"` value? Is the `"jp"` replaced by our own email? And how do I put the google api’s key in this credentials.yml file?

Sorry for my english. Thankyou.

---

<div class="post-metadata">

**Author:** ![Bunny99](https://avatars.discourse-cdn.com/v4/letter/b/48db29/32.png) [@Bunny99](https://forum.rasa.com/u/Bunny99)\
**Post date:** [July 1, 2019, 9:24am UTC](https://forum.rasa.com/t/getting-error-in-google-assistant-when-running-the-project/11607/10 "2019-07-01T09:24:18Z")

</div>

That username is not a problem. You can specify the credentials.yml file like below.Evereyone providing normal api key. But we are providing Geolocation api key in credentials.yml

credentials.yml

credentials:

```
     GOOGLE_KEY: XXXXXXXXXXXXXXXXXXXX(Your Geolocation Map api key)
```

---

<div class="post-metadata">

**Author:** ![CyrilBjn](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/cyrilbjn/32/2812_2.png) [@CyrilBjn](https://forum.rasa.com/u/CyrilBjn)\
**Post date:** [July 1, 2019, 1:24pm UTC](https://forum.rasa.com/t/getting-error-in-google-assistant-when-running-the-project/11607/11 "2019-07-01T13:24:57Z")

</div>

Great, it was this. Thank you!

---

<div class="post-metadata">

**Author:** ![Nasr](https://avatars.discourse-cdn.com/v4/letter/n/ee59a6/32.png) [@Nasr](https://forum.rasa.com/u/Nasr)\
**Post date:** [July 6, 2019, 1:45am UTC](https://forum.rasa.com/t/getting-error-in-google-assistant-when-running-the-project/11607/13 "2019-07-06T01:45:13Z")

</div>

did it work for you with rasa 1.0?

I have no errors but I keep getting an error from ngrok and no reply from google assistant Refer to this post for full details:

> [@Google Assistant with Rasa - ngrok error](http://forum.rasa.com/t/google-assistant-with-rasa-ngrok-error/12299):
>
> I followed the tutorial on [Going beyond ‘Hey Google’: building a Rasa-powered Google Assistant](https://blog.rasa.com/going-beyond-hey-google-building-a-rasa-powered-google-assistant/?_ga=2.138232432.1944407419.1561910194-1141225091.1560973991) I know that this is compatible with an old version of rasa so I used the github to update the codes. I fixed all errors, updated gactions and ran the test commands and ran ngrok using adminstrative previliges on the same port as rasa (5005 by default). Everything works fine with no errors. However, when I test the Action on Google Assistant, I get the following response: Social Robot isn’t responding …

Your help would be greatly appreciated.

---

<div class="post-metadata">

**Author:** ![Juste](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/juste/32/15_2.png) [@Juste](https://forum.rasa.com/u/Juste)\
**Post date:** [July 9, 2019, 5:21pm UTC](https://forum.rasa.com/t/getting-error-in-google-assistant-when-running-the-project/11607/14 "2019-07-09T17:21:38Z")

</div>

The tutorial just has been updated. Give it a try 🙂

---

<div class="post-metadata">

**Author:** ![Bunny99](https://avatars.discourse-cdn.com/v4/letter/b/48db29/32.png) [@Bunny99](https://forum.rasa.com/u/Bunny99)\
**Post date:** [July 10, 2019, 4:39am UTC](https://forum.rasa.com/t/getting-error-in-google-assistant-when-running-the-project/11607/15 "2019-07-10T04:39:03Z")

</div>

Thank you Juste

---

<div class="post-metadata">

**Author:** ![paraparata](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/paraparata/32/3741_2.png) [@paraparata](https://forum.rasa.com/u/paraparata)\
**Post date:** [July 10, 2019, 10:30am UTC](https://forum.rasa.com/t/getting-error-in-google-assistant-when-running-the-project/11607/16 "2019-07-10T10:30:24Z")

</div>

wow that’s great thank you Juste
