derekantrican / GAS-ICS-Sync

A Google Apps Script for syncing ICS/ICAL files faster than the current Google Calendar speed
GNU General Public License v3.0
1.54k stars 197 forks source link

Microsoft calendar does not show #397

Closed vandermark1977 closed 8 months ago

vandermark1977 commented 10 months ago

The problem

I have one calendar which does not show (5 calendars do show): It is a calendar from work. An online Outlook https .ics link. It does show in Google calendar when I add it directly from URL but fails to show when I add it by the script.

I cannot share the link completely, but this is the structure of the ICS link: https://mail.domain.nl/owa/calendar/LONGCODE@domain.nl/LONGCODE/calendar.ics

This is the error I get:

19 dec 2023, 07:59:30 Fout Address unavailable: URL_OfMyCalendar at callWithBackoff(Helpers:1078:9) at fetchSourceCalendars(Helpers:136:5) at startSync(Code:178:21)

The URL link is correct and works when I add it in Google calendar directly through the URL.

I thought the issue is handled here, but I still have the error: https://github.com/derekantrican/GAS-ICS-Sync/pull/386

These are the first lines of the .ics file, perhaps this helps?

BEGIN:VCALENDAR METHOD:PUBLISH PRODID:Microsoft Exchange Server 2010 VERSION:2.0 X-WR-CALNAME:Agenda BEGIN:VTIMEZONE TZID:W. Europe Standard Time BEGIN:STANDARD DTSTART:16010101T030000 TZOFFSETFROM:+0200 TZOFFSETTO:+0100 RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=-1SU;BYMONTH=10 END:STANDARD BEGIN:DAYLIGHT DTSTART:16010101T020000 TZOFFSETFROM:+0100 TZOFFSETTO:+0200 RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=-1SU;BYMONTH=3 END:DAYLIGHT END:VTIMEZONE BEGIN:VTIMEZONE TZID:W. Europe Standard Time 1 BEGIN:STANDARD DTSTART:16010101T000000 TZOFFSETFROM:+0100 TZOFFSETTO:+0100 END:STANDARD BEGIN:DAYLIGHT DTSTART:16010101T000000 TZOFFSETFROM:+0100 TZOFFSETTO:+0100 END:DAYLIGHT END:VTIMEZONE BEGIN:VEVENT DESCRIPTION:\n

Version of GAS-ICS-Sync

5.8

Additional information & file uploads

No response

vandermark1977 commented 9 months ago

This issue is still present. Can anyone advise what to do:

Address unavailable: https://mail.domain.nl/owa/calendar/LONGCODE@domain.nl/b96eabf1a2d34197bbf6fb3d702e992211450308956849429276/calendar.ics at callWithBackoff(Helpers:1078:9) at fetchSourceCalendars(Helpers:136:5) at startSync(Code:178:21)

jonas0b1011001 commented 9 months ago

It's hard to tell why the url is not reachable, to me it looks like access is blocked by the server.

I have one calendar which does not show (5 calendars do show)

Are all 6 calendars from the same work server?