# Auto translation google api key not working

**URL:** <https://forums.rocket.chat/t/auto-translation-google-api-key-not-working/813>\
**Category:** Community Support\
**Created:** [May 25, 2018, 10:17am UTC](https://forums.rocket.chat/t/auto-translation-google-api-key-not-working/813 "2018-05-25T10:17:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![gurmeet.khanchi](https://avatars.discourse-cdn.com/v4/letter/g/e19b73/32.png) [@gurmeet.khanchi](https://forums.rocket.chat/u/gurmeet.khanchi)\
**Post date:** [May 25, 2018, 10:17am UTC](https://forums.rocket.chat/t/auto-translation-google-api-key-not-working/813/1 "2018-05-25T10:17:25Z")

</div>

Hi,

I have enabled auto translation feature. I have google api key in the JSON format. I want to configure the google API key in the message -\> AutoTranslation -\> GoogleAPIKey.

I tried to copy the JSON, private key from the JSON, privete key id from the JSON but it’s giving error:  
“message”: “API key not valid. Please pass a valid API key.”

Can someone please help me to tell in which format I have to configure the google key.

I am using the same KEY in my other application and it’s working fine there.

---

<div class="post-metadata">

**Author:** ![aaron.ogle](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/aaron.ogle/32/15_2.png) [@aaron.ogle](https://forums.rocket.chat/u/aaron.ogle)\
**Post date:** [May 31, 2018, 6:30pm UTC](https://forums.rocket.chat/t/auto-translation-google-api-key-not-working/813/2 "2018-05-31T18:30:59Z")

</div>

What version of Rocket.Chat?

Also after you save if you look at the key, do you see any special characters? Make sure not a bunch of spaces before / after it.

---

<div class="post-metadata">

**Author:** ![gurmeet.khanchi](https://avatars.discourse-cdn.com/v4/letter/g/e19b73/32.png) [@gurmeet.khanchi](https://forums.rocket.chat/u/gurmeet.khanchi)\
**Post date:** [June 22, 2018, 7:00am UTC](https://forums.rocket.chat/t/auto-translation-google-api-key-not-working/813/3 "2018-06-22T07:00:56Z")

</div>

I was using Google API key in Json format but when i used a String version of API key it’s working now.

But I found that the AutoTranslation feature is not available for LiveChat. To translate a particular message using ‘Toggle Original/translated’ option is available in LiveChat but the Auto Translation is not there.

Are you planning to support the Auto Translation fetaure for LiveChat also in upcoming versions ?

I am using version 0.65.1

---

<div class="post-metadata">

**Author:** ![aaron.ogle](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/aaron.ogle/32/15_2.png) [@aaron.ogle](https://forums.rocket.chat/u/aaron.ogle)\
**Post date:** [June 23, 2018, 7:50am UTC](https://forums.rocket.chat/t/auto-translation-google-api-key-not-working/813/5 "2018-06-23T07:50:57Z")

</div>

> [@gurmeet.khanchi](#):
>
> Are you planning to support the Auto Translation fetaure for LiveChat also in upcoming versions ?

Feel free to open a topic in feature requests so this can be upvoted
