Why won't my .ics file import?

Most calendar import failures have a provable cause inside the file. Google Calendar, Outlook and Apple Calendar reject, drop or mangle events for reasons that are written down — in RFC 5545, the iCalendar specification, and in documented importer behaviour. The failure message, when there is one, rarely tells you which line did it.

icslint checks an .ics file locally against 67 such rules and reports every finding with the file, the line, the rule ID, a plain-language explanation, and its source — an RFC 5545 section, or a named importer source. The two are never blended silently. Nothing is uploaded: the check runs on your machine, offline, with no timezone database.

Common import failures it catches

What is wrongRuleWhat importers do
A VEVENT with no DTSTAMPV02The documented cause of Google Calendar's "Unable to launch event" failure.
The same UID used by two eventsV04Google treats the repeat as an update to the first event; Outlook may refuse.
DTEND not later than DTSTARTE02A zero-length or backwards event; some importers drop equal all-day dates.
An RRULE carrying both COUNT and UNTILR03RFC 5545 forbids the combination; importers handle it inconsistently.
An unescaped ; or , in a SUMMARYW01Outlook truncates the value at the unescaped semicolon.
Lines ending in bare LF instead of CRLFS01Strict parsers reject or misread the file.
VERSION missing, or not 2.0C04 / C05The VCALENDAR envelope RFC 5545 requires is incomplete.
A TZID with no VTIMEZONE in the fileT03A warning, not an error: Google, Outlook and Apple resolve known IANA names without one.

The full rule table — all 67 rules, each with its source — is in the repository README.

Install

icslint is pure Python (3.10+), with zero dependencies:

pip install git+https://github.com/RakTikoo/icslint
icslint check <file-or-folder>

Other routes — a release wheel, pipx, uv, Homebrew, Scoop, and a composite GitHub Action for CI — are in the repository.

Exit codes

Exit codeMeaning
0No errors (warnings allowed).
1At least one error — or any warning under --strict.
2Usage error or unreadable input, always as a one-line message, never a traceback.

The exit codes make icslint usable as a CI gate: check the calendar files a build generates, before anyone tries to import them.

Guides

What this is not

icslint reports only what can be proven from the file alone. Stated plainly, it does not: