When a user tries to create account using Google he sees the google window and after clicking Accept the message "There was an error processing your request."

The Log entry shows:
Exception: User profile request failed! Google returned an invalid response. in Hybrid_Providers_Google->getUserProfile() (line 87 of /home/jaaindia/public_html/sites/all/libraries/hybridauth/hybridauth/Hybrid/Providers/Google.php).

The website is http://www.jaaindia.com

Any help will be highly appreciated

Thanks

Comments

cheureul’s picture

Same thing happening on my website.

Exception : User profile request failed! Google returned an invalid response. dans Hybrid_Providers_Google->getUserProfile() (ligne 83 dans /var/www/sites/all/libraries/hybridauth/Hybrid/Providers/Google.php)

gmasky’s picture

I resolved this thanks to the last comment here: https://groups.google.com/forum/#!topic/hybridauth/dNSUDyWpc5w

Under Your projects at https://code.google.com/apis/console#access

APIs & auth->APIs
Enable: Contacts API and Google+ API

and

APIs & auth->Consent Screen
Make sure to complete the consent screen and save

gmasky’s picture

Status: Active » Fixed
duozersk’s picture

Status: Fixed » Closed (works as designed)
fnandogp’s picture

#2 worked for me.

Thanks.

duozersk’s picture

Component: User interface » Documentation
FranciscoLuz’s picture

#2 fixed it.

mariusm’s picture

Please add #2 to documentation

Thanks

anybody’s picture

Status: Closed (works as designed) » Needs work

I can confirm #2 and because I ran into the same issue and I read nothing about it in the documentation. This should truely be documented, I think.

henrijs.seso’s picture

Title: Exception: User profile request failed! Google returned an invalid response » Document required Google configuration settings
Category: Support request » Task
Status: Needs work » Active

Lets change this to this.

Swarnendu-Dutta’s picture

Status: Active » Patch (to be ported)
StatusFileSize
new1.35 KB

  • duozersk committed 62dc2c2 on 7.x-2.x
    Issue #2339085 by Swarnendu-Dutta, gmasky, duozersk: Document required...
duozersk’s picture

Status: Patch (to be ported) » Fixed

Swarnendu Dutta,

Thank you for a patch. I've just committed refined/improved version of it.

Thanks
AndyB

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.