Google-api-javascript-client: gapi.client.calendar is undefined

Created on 7 Jan 2015  路  2Comments  路  Source: google/google-api-javascript-client

_From [email protected] on November 07, 2012 23:56:07_

What steps will reproduce the problem? If possible, provide a live demo of the issue. When I execute the page attached at the issue, all OAuth 2 works fine, but when I load the calendar v3 apis nothing is loaded; in fact when I call gapi.client.calendar.events I have the error attached in the image (''gapi.client.calendar.events' is null or not an object').
I can't understand why... What version of the product are you using? On what operating system? V3 on windows server 2003

Please HELP!!!

Attachment: Error.png Default.aspx

_Original issue: http://code.google.com/p/google-api-javascript-client/issues/detail?id=61_

1 star Priority-Medium bug imported

All 2 comments

_From [email protected] on January 18, 2013 10:19:39_

This line:

var ret = gapi.client.load('calendar', 'V3', makeApiCall());

Should be:

var ret = gapi.client.load('calendar', 'V3', makeApiCall);

Status: Done

Was this page helpful?
0 / 5 - 0 ratings