Failed to renew Enterprise license - Resource too large

Your question

I have paid for a yearly Stalwart license. However I cannot use it in my upgraded system. The logs say;

2026-05-25T19:13:57Z INFO Server licensing event (server.licensing) details = "Failed to renew Enterprise license", reason = "Resource too large: https://license.stalw.art/api/license/"

I have re-entered the keys in the WebUI and will attempt a restart.

I understand that topics in this category are triaged by a bot first but a human reply will follow up. If I’d prefer a human-only reply, I’ll add the no-ai tag to my topic.

on

The “Resource too large” error comes from the server’s HTTP fetch logic – it fires when the response body returned by https://license.stalw.art/api/license/ exceeds the server’s internal size limit. This is almost certainly a transient or network-level issue (e.g. the licensing server returning an unexpected large error page, a proxy injecting HTML, or a connectivity problem) rather than a problem with your key itself.

Here are the steps to try:

  1. Re-enter the license key manually in the WebUI under Settings > Enterprise > licenseKey (it sounds like you’ve already done this – good).
  2. Reload the configuration via the CLI after saving (stalwart-cli reload config or equivalent), then log out and back in so the session picks up the new license.
  3. Check the apiKey field – the automatic renewal requires a separate API key (generated from your subscription page on the Stalwart Labs Licensing Portal). If that key is missing or incorrect, automatic renewal attempts will fail with this kind of error.
  4. If the issue persists, check whether your server has unrestricted outbound HTTPS access to license.stalw.art – a firewall, reverse proxy, or content filter could be intercepting the request and returning an oversized response body.

Since this touches the billing/licensing backend, a human from Stalwart Labs will need to follow up if the above steps don’t resolve it.

Reference: Enterprise License docs

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

Did those things but they didn’t seem to help. I logged out, logged in again a couple times with different users and things have returned to normal. I don’t need a human anymore - deus ex machina.