https://github.com/google/google-api-php-client/blob/master/examples/service-account.php
this $client->setAccessToken($_SESSION['access_token']);
should be $client->setAccessToken($_SESSION['service_token']);
removes auth library caching
Fix: Uncaught RuntimeException: Unable to read from stream
Activity
removes auth library caching
Fix: Uncaught RuntimeException: Unable to read from stream