Skip to content
This repository has been archived by the owner on Dec 18, 2019. It is now read-only.

Calendar on event page cannot load #109

Open
srepetsk opened this issue Dec 24, 2015 · 2 comments
Open

Calendar on event page cannot load #109

srepetsk opened this issue Dec 24, 2015 · 2 comments

Comments

@srepetsk
Copy link

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.

@patrickpierson
Copy link

running into the same issue.

@mmercedes
Copy link
Contributor

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants