From today my website has a connectivity problem with my GCal. (It’s worked perfectly since from one month).
I call to GCal via jQuery GET:
https://www.googleapis.com/calendar/v3/calendars/{MY_CALENDAR}/events?key={MY_API_KEY}
And the response is (JSON):
{
"error": {
"errors": [
{
"domain": "usageLimits",
"reason": "keyExpired",
"message": "Bad Request"
}
],
"code": 400,
"message": "Bad Request"
}
}
I not understand why key expired. Can you help me, please? I’ve not read about fixed time life on api key. I haven’t exceeded the daily quota.
Sorry for my English level.
Thanks.
The keyExpired event is triggered by the OAuth 1.0 process:
OAuth 2.0 has different expiration triggers that are not time-based.
References