Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iCal won't accept my ics file

Tags:

icalendar

My web app generates ics files. These can be read successfully by Google Calender, but not iCal, which shows the error "iCal can’t read this calendar file. No events have been added to your iCal calendar.".

Why doesn't my ics file load in iCal?

Here is the file contents:

BEGIN:VCALENDAR
VERSION:1.0
PRODID:-//Third Workplace//EN
BEGIN:VEVENT
SUMMARY:Meeting at Third Workplace in Office #4
DTSTART;TZID=UTC;VALUE=DATE-TIME:20120820T160000Z
DTEND;TZID=UTC;VALUE=DATE-TIME:20120820T170000Z
DTSTAMP;VALUE=DATE-TIME:20120820T084134
UID:[email protected]
LOCATION:Office #4 at Third Workplace Contra Costa Centre
ORGANIZER:MAILTO:[email protected]
END:VEVENT
END:VCALENDAR

Here is the original, binary version.

like image 400
Ram Rachum Avatar asked Aug 25 '12 13:08

Ram Rachum


People also ask

How do I add an event ICS to my Apple Calendar?

send the message to yourself (I used my icloud.com address) open the newly received message and tap on the . ics icon. use the Add Event option to add the event to your calendar.

Does Apple Calendar support ICS?

The ICS file format is a universal calendar format used by calendar and email programs, including Outlook for Microsoft 365, Google Calendar, Yahoo Calendar, and Apple Calendar.


1 Answers

Change that version to 2.0, and watch the magic happen :-)

TG

like image 59
Technologeeks Avatar answered Oct 13 '22 18:10

Technologeeks