Fatal error: Uncaught Google\Service\Exception: { "error": { "code": 400, "message": "API key not valid. Please pass a valid API key.", "errors": [ { "message": "API key not valid. Please pass a valid API key.", "domain": "global", "reason": "badRequest" } ], "status": "INVALID_ARGUMENT", "details": [ { "@type": "type.googleapis.com/google.rpc.ErrorInfo", "reason": "API_KEY_INVALID", "domain": "googleapis.com", "metadata": { "service": "books.googleapis.com" } }, { "@type": "type.googleapis.com/google.rpc.LocalizedMessage", "locale": "en-US", "message": "API key not valid. Please pass a valid API key." } ] } } in /www/wwwroot/googlehome.winhui.com.cn/vendor/google/apiclient/src/Http/REST.php:134 Stack trace: #0 /www/wwwroot/googlehome.winhui.com.cn/vendor/google/apiclient/src/Http/REST.php(107): Google\Http\REST::decodeHttpResponse() #1 [internal function]: Google\Http\REST::doExecute() #2 /www/wwwroot/googlehome.winhui.com.cn/vendor/google/apiclient/src/Task/Runner.php(187): call_user_func_array() #3 /www/wwwroot/googlehome.winhui.com.cn/vendor/google/apiclient/src/Http/REST.php(66): Google\Task\Runner->run() #4 /www/wwwroot/googlehome.winhui.com.cn/vendor/google/apiclient/src/Client.php(922): Google\Http\REST::execute() #5 /www/wwwroot/googlehome.winhui.com.cn/vendor/google/apiclient/src/Service/Resource.php(238): Google\Client->execute() #6 /www/wwwroot/googlehome.winhui.com.cn/vendor/google/apiclient-services/src/Books/Resource/Volumes.php(86): Google\Service\Resource->call() #7 /www/wwwroot/googlehome.winhui.com.cn/index.php(29): Google\Service\Books\Resource\Volumes->listVolumes() #8 {main} thrown in /www/wwwroot/googlehome.winhui.com.cn/vendor/google/apiclient/src/Http/REST.php on line 134