JoshuaStorm / meetable

A free web application for simplifying the process of scheduling individual and group meetings.
https://meetable-us.herokuapp.com/
4 stars 3 forks source link

wrappedGetEventList() API call error #204

Open davidmelvin opened 7 years ago

davidmelvin commented 7 years ago

This is low priority because it looks kind of difficult to solve and doesn't seem to break anything, but we should comment here if we find out how to replicate the bug.

I can't seem to replicate this bug but occasionally, we get this error in the meteor terminal. I think the difficulty here is that Meteor only returns "Error: Not Found" instead of the real Google API error message on wrapped async functions. This could actually be an oauth issue but it doesn't look like it.

I20170504-22:52:48.283(-4)?     at Object.Future.wait (/Users/david/.meteor/packages/meteor-tool/.1.4.3_2.1bvf0xf++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:449:15)
I20170504-22:52:48.283(-4)?     at packages/meteor.js:213:24
I20170504-22:52:48.284(-4)?     at [object Object].Meteor.methods.getFullCalendarEvents (server/googleCalendarAPI.js:138:24
davidmelvin commented 7 years ago

It may happen when the page refreshes after Meteor restarts when you switch branches.. so it probably is a routing issue like @JoshuaStorm suggested. The calendars don't load until you refresh the page

davidmelvin commented 7 years ago

has anyone got this recently?