Answer the question
In order to leave comments, you need to log in
google calendar api?
Good afternoon! I use google calendar via api key. When calling a method
$results = $service->events->listEvents($calendarId, $optParams);
$service->events->insert($calendarId, $event);
Fatal error: Uncaught exception 'Google_Service_Exception' with message '{
"error": {
"errors": [
{
"domain": "global",
"reason": "required",
"message": "Login Required",
"locationType": "header",
"location": "Authorization"
}
],
"code": 401,
"message": "Login Required"
}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question