Fatal error: Uncaught exception 'Google_ServiceException' with
message 'Error calling GET
https://www.googleapis.com/oauth2/v2/userinfo?key=799808818697-9iodgdh9412h7d56h8kvh6ujqrop7dlv%40developer.gserviceaccount.com:
(400) API key not valid. Please pass a valid API key.' in
/var/www/html/google-api-client/io/Google_REST.php:66
Stack trace:
#0 /var/www/html/google-api-client/io/Google_REST.php(36):
Google_REST::decodeHttpResponse(Object(Google_HttpRequest))
#1
/var/www/html/google-api-client/service/Google_ServiceResource.php(177):
Google_REST::execute(Object(Google_HttpRequest))
#2 /var/www/html/google-api-client/contrib/Google_Oauth2Service.php(37):
Google_ServiceResource->__call('get', Array)
#3 /var/www/html/application/controllers/login.php(101):
Google_UserinfoServiceResource->get()
#4 [internal function]: Login->login_in_google()
#5 /var/www/html/system/core/CodeIgniter.php(359):
call_user_func_array(Array, Array)
#6 /var/www/html/index.php(207): require_once('/var/www/html/s...')
#7 {main}
thrown in /var/www/html/google-api-client/io/Google_REST.php on line 66