title: Errors on google cloud api - Uncaught exception 'Google_Service_Exception'
body: <p>I'm using Google cloud api.</p>
  
  <p>Following errors make my page blank. Debug log file shows the following errors on loading each blank page.</p>
  
  <pre><code>Fatal error:  Uncaught exception 'Google_Service_Exception' with message '{
   "error": {
    "errors": [
     {
      "domain": "global",
      "reason": "backendError",
      "message": "Backend Error"
     }
    ],
    "code": 500,
    "message": "Backend Error"
   }
  }
  ' in /var/www/html/wp-content/plugins/test/google_api/src/Google/Http/REST.php:123
  Stack trace:
  #0 /var/www/html/wp-content/plugins/test/google_api/src/Google/Http/REST.php(82): Google_Http_REST::decodeHttpResponse(Object(GuzzleHttp\Psr7\Response), Object(Guzz
  leHttp\Psr7\Request), 'Google_Service_...')
  #1 [internal function]: Google_Http_REST::doExecute(Object(GuzzleHttp\Client), Object(GuzzleHttp\Psr7\Request), 'Google_Service_...')
  #2 /var/www/html/wp-content/plugins/test/google_api/src/Google/Task/Runner.php(181): call_user_func_array(Array, Array)
  #3 /var/www/html/wp-content/plugins/test/google_api/src/Google/Http/REST.php(57): Google_Task_Runner-&gt;run()
  #4 /var/www/html/wp-content/plugins/test/google_api/src/Google/Client.p in /var/www/html/wp-content/plugins/test/google_api/src/Google/Http/REST.php on li
  ne 123
  
  Fatal error:  Uncaught exception 'Google_Service_Exception' with message 'Not Found' in /var/www/html/wp-content/plugins/test/google_api/src/Google/Http/REST.php:123
  Stack trace:
  #0 /var/www/html/wp-content/plugins/test/google_api/src/Google/Http/REST.php(82): Google_Http_REST::decodeHttpResponse(Object(GuzzleHttp\Psr7\Response), Object(Guzz
  leHttp\Psr7\Request), 'Google_Service_...')
  #1 [internal function]: Google_Http_REST::doExecute(Object(GuzzleHttp\Client), Object(GuzzleHttp\Psr7\Request), 'Google_Service_...')
  #2 /var/www/html/wp-content/plugins/test/google_api/src/Google/Task/Runner.php(181): call_user_func_array(Array, Array)
  #3 /var/www/html/wp-content/plugins/test/google_api/src/Google/Http/REST.php(57): Google_Task_Runner-&gt;run()
  #4 /var/www/html/wp-content/plugins/test/google_api/src/Google/Client.php(758): Google_Http_REST::execute(Object(GuzzleHttp\Client), Object(GuzzleHttp\Psr7\Request)
  , 'Google_Service_...', Array)
  #5 /var/www/html/wp-content/plugins/test in /var/www/html/wp-content/plugins/test/google_api/src/Google/Http/REST.php on line 123
  </code></pre>
  
  <p>I think both errors are related. 
  Thanks in advance.</p>