Choose a Calendar first:
Fatal error: Uncaught Google_Service_Exception: {
"error": {
"code": 401,
"message": "Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.",
"errors": [
{
"message": "Login Required.",
"domain": "global",
"reason": "required",
"location": "Authorization",
"locationType": "header"
}
],
"status": "UNAUTHENTICATED",
"details": [
{
"@type": "type.googleapis.com/google.rpc.ErrorInfo",
"reason": "CREDENTIALS_MISSING",
"domain": "googleapis.com",
"metadata": {
"method": "calendar.v3.CalendarList.List",
"service": "calendar-json.googleapis.com"
}
}
]
}
}
in /www/htdocs/w008895a/google_calendar_api_live_demo/google-api-php-client-2.1.0_PHP54/src/Google/Http/REST.php:118
Stack trace:
#0 /www/htdocs/w008895a/google_cal in /www/htdocs/w008895a/google_calendar_api_live_demo/google-api-php-client-2.1.0_PHP54/src/Google/Http/REST.php on line 118