PHP Fatal error: Uncaught exception 'Google_Auth_Exception' with message 'The OAuth 2.0 access token has
expired, and a refresh token is not available. Refresh tokens are not returned for responses that were a
uto-approved.' in /dolan/google-api-php-client/src/Google/Auth/OAuth2.php:222
Stack trace:
#0 /dolan/google-api-php-client/src/Google/Service/Resource.php(176): Google_Auth_OAuth2->sign(Object(Goo
gle_Http_Request))
#1 /dolan/google-api-php-client/src/Google/Service/YouTube.php(3135): Google_Service_Resource->call('inse
rt', Array, 'Google_Service_...')
#2 /home/osu/osurecord/osurecord.php(574): Google_Service_YouTube_Videos_Resource->insert('status,snippet
', Object(Google_Service_YouTube_Video))
#3 {main}
thrown in /dolan/google-api-php-client/src/Google/Auth/OAuth2.php on line 222
expired, and a refresh token is not available. Refresh tokens are not returned for responses that were a
uto-approved.' in /dolan/google-api-php-client/src/Google/Auth/OAuth2.php:222
Stack trace:
#0 /dolan/google-api-php-client/src/Google/Service/Resource.php(176): Google_Auth_OAuth2->sign(Object(Goo
gle_Http_Request))
#1 /dolan/google-api-php-client/src/Google/Service/YouTube.php(3135): Google_Service_Resource->call('inse
rt', Array, 'Google_Service_...')
#2 /home/osu/osurecord/osurecord.php(574): Google_Service_YouTube_Videos_Resource->insert('status,snippet
', Object(Google_Service_YouTube_Video))
#3 {main}
thrown in /dolan/google-api-php-client/src/Google/Auth/OAuth2.php on line 222