# Job exception: Holidays::InvalidRegion

**URL:** https://meta.discourse.org/t/job-exception-holidays-invalidregion/384873
**Category:** Bug
**Tags:** events, fixed
**Created:** [October 7, 2025, 9:37am UTC](https://meta.discourse.org/t/job-exception-holidays-invalidregion/384873 "2025-10-07T09:37:07Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![selase](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/selase/32/270909_2.png) [@selase](https://meta.discourse.org/u/selase)
#### Post date: [October 7, 2025, 1:43pm UTC](https://meta.discourse.org/t/job-exception-holidays-invalidregion/384873/2 "2025-10-07T13:43:37Z")

</div>

This is likely due to a recent update to the holiday definitions, which may have caused the generated [region list](https://github.com/discourse/discourse/blob/039d3ffd0a33869f1cf390279fd6d5d5ff7b9757/plugins/discourse-calendar/vendor/holidays/lib/generated_definitions/REGIONS.rb) to change without updating users’ existing **Calendar Region** preferences.

The error occurs for users who previously selected one of the now-removed regions as their **Calendar Region**.

You’re seeing that many instances of the exception because the scheduled job that triggers this runs every 10 minutes.

We’ll need to handle this more gracefully, by accounting for holiday definition updates that remove regions from the generated region list.

---

_[View the full topic](https://meta.discourse.org/t/job-exception-holidays-invalidregion/384873)._
