Google STT: object has no attribute 'code'

I have modified my mycroft.conf to use Google STT by changing TO:

“stt”: {
“module”: “google”

When mycroft ties to recognize the sppech I am getting :

2017-02-26 14:08:37,411 - SpeechClient - INFO - Wakeword Detected: hey mycroft
2017-02-26 14:08:37,530 - mycroft.client.speech.listener - ERROR - ‘URLError’ object has no attribute ‘code’
2017-02-26 14:08:37,531 - mycroft.client.speech.listener - ERROR - Speech Recognition could not understand audio

It seems that something is missing in the configuration.
I have set my google api key at