Error: Calendar is not in this feed

42 views
Skip to first unread message

Chris

unread,
Sep 24, 2010, 12:39:30 PM9/24/10
to gcal4ruby
Great gem! I've been using this pretty well to grab calendars, and
events... however I'm running into a problem when trying to search for
all events for a *specific* calendar.

I keep getting a "Calendar is not in this feed" error.

I'm storing google calendar id's in my db, and using those to try to
pull events.

I've verified that the calendar.google_id is same as the id used in
the google calendar settings. (Basically the id used when google
explains how to embed the calendar/xml/ical etc)

I've also made sure to replace %40 to @ to format it correctly.

timewindow = Time.new + ( days * 24 * 60 * 60 )
service = GoogleCalendar.authenticate(user)
user_calendars = User.find(user.id).calendars

user_calendars.each do |calendar|
gevents = Event.find(service, "*", {'start-min' =>
Time.new.utc.xmlschema, 'start-max' =>
timewindow.utc.xmlschema, :calendar => calendar.google_id} })
events.concat(RemindmeEvent.convert_events(gevents))
end

sege

unread,
Jul 3, 2012, 11:15:07 PM7/3/12
to gcal...@googlegroups.com
Hey Chris,

I am running into the same error here. Have you found a solution?

Cheers,
sege

Ala

unread,
Jul 17, 2012, 1:57:55 PM7/17/12
to gcal...@googlegroups.com
I also ran into this error... any fix?
Reply all
Reply to author
Forward
0 new messages