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.5k stars 192 forks source link

ParserError: invalid ical body. component began but did not end #390

Closed amir-ziaei closed 9 months ago

amir-ziaei commented 9 months ago

The problem

Starting facing this error since like last week?

image

Been using the script for ~1 year and everything was alright up until now.

Any idea what might have caused this?

Version of GAS-ICS-Sync

5.6

Additional information & file uploads

No response

jonas0b1011001 commented 9 months ago

Even tough the Error message is different, this sounds awfully similar to #388. Can you please check if #386 solves the problem.

Kucladell commented 9 months ago

This error is what I got when I had the issue in https://github.com/derekantrican/GAS-ICS-Sync/issues/388 and my initial attempt to fix the ICS file was incomplete. To be specific, when I added END:VCALENDAR at the end (so that the parser is given the content of the ICS file) but didn't add END:VEVENT after each event, this error showed up. I agree with @jonas0b1011001 that this may be an identical issue to https://github.com/derekantrican/GAS-ICS-Sync/issues/388 .

derekantrican commented 9 months ago

Going to close as a dupe of #388 as others have mentioned