# ICS subscription size

**URL:** https://support.stalw.art/t/ics-subscription-size/1077
**Category:** Questions
**Created:** [July 15, 2026, 9:06am UTC](https://support.stalw.art/t/ics-subscription-size/1077 "2026-07-15T09:06:57Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![devilkin](https://support.stalw.art/letter_avatar_proxy/v4/letter/d/ba9def/32.png) [@devilkin](https://support.stalw.art/u/devilkin)
#### Post date: [July 15, 2026, 9:06am UTC](https://support.stalw.art/t/ics-subscription-size/1077/1 "2026-07-15T09:06:57Z")

</div>

### Your question

Hi,

When subscribing to an ICS link, what is the max size Stalwart will accept?  
I’ve got one that is rather big (13mb) with loads of events, but I’m not sure what stalwart setting will impact this.

Trying to subscribe to it fails at the moment.

Kind regards

---

<div class="post-metadata">

### Author: ![helpbot](https://support.stalw.art/user_avatar/support.stalw.art/helpbot/32/13_2.png) [@helpbot](https://support.stalw.art/u/helpbot)
#### Post date: [July 15, 2026, 9:07am UTC](https://support.stalw.art/t/ics-subscription-size/1077/2 "2026-07-15T09:07:11Z")

</div>

The limit that applies here is `maxICalendarSize` on the Calendar singleton, which caps the size of an iCalendar (.ics) file the server will accept. It defaults to `512kb`, so a 13MB ICS feed would be rejected outright. You can raise it via the WebUI (Settings › Calendar & Contacts › Calendar) or with the CLI:

```sh
stalwart-cli update Calendar --field maxICalendarSize='20mb'

```

Keep in mind that raising this limit interacts with other calendar limits too, particularly `maxRecurrenceExpansions` (default `3000`) and `maxAttendees` (default `20`), since a large ICS with many recurring events could still be rejected or truncated at those stages even after the size limit is increased.

Reference: [Calendar | Stalwart](https://stalw.art/docs/collaboration/calendar#icalendar-object-size)

_This is an automated reply from the Stalwart Help Bot. Other community members may follow up if this answer is incomplete or wrong._

---

<div class="post-metadata">

### Author: ![devilkin](https://support.stalw.art/letter_avatar_proxy/v4/letter/d/ba9def/32.png) [@devilkin](https://support.stalw.art/u/devilkin)
#### Post date: [July 15, 2026, 9:16am UTC](https://support.stalw.art/t/ics-subscription-size/1077/3 "2026-07-15T09:16:41Z")

</div>

Even after upping the limit to 20mb this fails. The file itself (when downloading the ics) is 13mb - verified. Upping the recurrence and attendees didn’t make any difference.

Note: not talking about uploading an ics file, i’m subscribing an ics link.

---

<div class="post-metadata">

### Author: ![stalwart](https://support.stalw.art/user_avatar/support.stalw.art/stalwart/32/12_2.png) [@stalwart](https://support.stalw.art/u/stalwart)
#### Post date: [July 19, 2026, 7:21am UTC](https://support.stalw.art/t/ics-subscription-size/1077/4 "2026-07-19T07:21:25Z")

</div>

It depends on what you mean by subscribe. Stalwart itself doesn’t fetch or host an external ICS feed; a subscribed calendar is normally your client (Apple Calendar, Thunderbird) pulling the remote URL directly, and in that case no Stalwart setting governs the size, and the failure is on the client or the remote host.

If instead you’re importing or PUTting the 13 MB ICS into a Stalwart calendar, raising the iCalendar size limit alone isn’t enough: the DAV request body has its own separate cap, and there’s the HTTP listener body limit above that, so you’d need to raise those too. Can you tell me exactly how you’re subscribing (which client, or which UI action), and what shows up in a trace-level log when it fails? That’ll tell me which path you’re on.

---

<div class="post-metadata">

### Author: ![devilkin](https://support.stalw.art/letter_avatar_proxy/v4/letter/d/ba9def/32.png) [@devilkin](https://support.stalw.art/u/devilkin)
#### Post date: [July 19, 2026, 7:32am UTC](https://support.stalw.art/t/ics-subscription-size/1077/5 "2026-07-19T07:32:27Z")

</div>

I’m subscribing using the bulwark client.

---

<div class="post-metadata">

### Author: ![stalwart](https://support.stalw.art/user_avatar/support.stalw.art/stalwart/32/12_2.png) [@stalwart](https://support.stalw.art/u/stalwart)
#### Post date: [July 26, 2026, 8:29am UTC](https://support.stalw.art/t/ics-subscription-size/1077/6 "2026-07-26T08:29:01Z")

</div>

Please ask Bulkwark to assist you debugging this issue. I do not know what you mean by subscribing in Bulwark. JMAP for Calendar subscriptions are to Calendar objects, not to ICS links.
