morgue icon indicating copy to clipboard operation
morgue copied to clipboard

Calendar on event page cannot load

Open srepetsk opened this issue 9 years ago • 2 comments

After setting up a Google Calendar through the API to use to manage events, the feature appears broken on the events page. When loading an existing event, I see several errors regarding the Google API calls:

event

In the Calendar setup itself, I have substituted in the clientId, apiKey, id, and a new facilitators_email and attendees_email.

srepetsk avatar Dec 24 '15 05:12 srepetsk

running into the same issue.

patrickpierson avatar Feb 29 '16 18:02 patrickpierson

Does this error only occur on the events page and not on the calendar page? If the error occurs on both you might have to follow step 1e of the quickstart guide and add your domain as an authorized Javascript origin.

Also, the checkEventExists function makes a request to Events.get endpoint. If no event exists with the id provided, a 404 response is returned and is logged in the console. This could be fixed by instead making a call to the Events.list endpoint and looping over all events to see if a specific one exists, though this might cause some significant overhead as the number of events grows.

mmercedes avatar Mar 01 '16 18:03 mmercedes