morgue
morgue copied to clipboard
Calendar on event page cannot load
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:
In the Calendar setup itself, I have substituted in the clientId, apiKey, id, and a new facilitators_email and attendees_email.
running into the same issue.
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.