# Invalid iCalendar File

**URL:** <https://devforum.zoom.us/t/invalid-icalendar-file/29331>\
**Category:** API and Webhooks\
**Created:** [September 6, 2020, 3:56pm UTC](https://devforum.zoom.us/t/invalid-icalendar-file/29331 "2020-09-06T15:56:58Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jerry1](https://avatars.discourse-cdn.com/v4/letter/j/8c91f0/32.png) [@jerry1](https://devforum.zoom.us/u/jerry1)\
**Post date:** [September 6, 2020, 3:56pm UTC](https://devforum.zoom.us/t/invalid-icalendar-file/29331/1 "2020-09-06T15:56:59Z")

</div>

Hello,

```
I would like to interface Zoom announcements to my homemade Perl web calendar. People send me zoom announcements, and there is an option to download a .ics ( iCalendar ) file. OK, I figured I'd shoot it off to a script which would parse it and update my calendar's SQL database.

```

HOWEVER, the files seem to be invalid.  
-------------------- snip -------------------  
BEGIN:VCALENDAR  
PRODID:-[//zoom.us//iCalendar](https://zoom.us//iCalendar) Event//EN  
VERSION:2.0  
CALSCALE:GREGORIAN  
METHOD:PUBLISH  
CLASS:PUBLIC  
BEGIN:VTIMEZONE  
TZID:America/Los\_Angeles  
TZURL:[http://tzurl.org/zoneinfo-outlook/America/Los\_Angeles](http://tzurl.org/zoneinfo-outlook/America/Los_Angeles)  
X-LIC-LOCATION:America/Los\_Angeles  
BEGIN:DAYLIGHT  
TZOFFSETFROM:-0800  
TZOFFSETTO:-0700  
TZNAME:PDT  
DTSTART:19700308T020000  
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU  
END:DAYLIGHT  
BEGIN:STANDARD  
TZOFFSETFROM:-0700  
TZOFFSETTO:-0800  
TZNAME:PST  
DTSTART:19701101T020000  
RRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU  
END:STANDARD  
END:VTIMEZONE  
END:VCALENDAR  
--------------------------------- endsnip ------------------------------------  
First of all, there are no “VEVENT” lines. Each event is supposed to be packaged inside a  
“BEGIN:VEVENT” and “END:VEVENT” pair. That can be worked around - I could just assume there’s  
exactly one event and snarf out the lines that are related to events.

A more serious problem - the dates are wrong:  
“DTSTART:19700308T020000” means - something that starts on the 8th of March, 1970. At, I think Two in the morning.

…and there’s a second DTSTART:

DTSTART:19701101T020000 - The first of November, 1970.

I’m not sure if these files are produced by Zoom at all. Maybe my sender is using some other tool?  
Also, I am by no means an iCal expert. I just started reading RFC5545 yesterday.

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [September 9, 2020, 3:53pm UTC](https://devforum.zoom.us/t/invalid-icalendar-file/29331/2 "2020-09-09T15:53:04Z")

</div>

Hi @jerry1,

Thanks for reaching out! Just to make sure we’re on the same page, can I kindly ask for some clarification on what you’re trying to achieve with .ics files in relation to the Zoom API?

To clarify, at the moment, we don’t have an API endpoint that returns a .ics calendar file for a corresponding Zoom Meeting, though is a great suggestion and I’d encourage you to consider posting in #feature-requests.

Thanks!  
Will

---

<div class="post-metadata">

**Author:** ![jerry1](https://avatars.discourse-cdn.com/v4/letter/j/8c91f0/32.png) [@jerry1](https://devforum.zoom.us/u/jerry1)\
**Post date:** [September 11, 2020, 3:06pm UTC](https://devforum.zoom.us/t/invalid-icalendar-file/29331/3 "2020-09-11T15:06:21Z")

</div>

Thank you, Will. I’m sure you guys are getting tremendously hammered. The ICS files are in emails from other people organizing zoom meetings. I believe they are generated by zoom somehow. The PRODID ( product id ) suggests as much. I’m not sure how these people are generating them.

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [September 14, 2020, 9:44pm UTC](https://devforum.zoom.us/t/invalid-icalendar-file/29331/4 "2020-09-14T21:44:41Z")

</div>

Hey @jerry1,

Thanks for clarifying—it’s possible this could be related to one of the calendar integrations listed in our Marketplace:

> **[App Marketplace](https://marketplace.zoom.us/search?q=calendar)**

As a next step, I might recommend checking out one of these apps under the ‘calendar’ search. That said, if you’re in a pickle and this isn’t helpful, please let me know!

Best,  
Will

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [October 15, 2020, 7:44am UTC](https://devforum.zoom.us/t/invalid-icalendar-file/29331/5 "2020-10-15T07:44:46Z")

</div>

Closed on October 15, 2020, 7:44am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
