# 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:** 4

<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, 3:22pm UTC](https://meta.discourse.org/t/job-exception-holidays-invalidregion/384873/4 "2025-10-07T15:22:03Z")

</div>

I’ve moved this topic to #Contribute > Bug, so there’s no need to make another report.

Since we haven’t actually removed any major regions [here](https://github.com/discourse/discourse/tree/16a2ff65b2a31d1c08a799a01ce0083e6599a9a3/plugins/discourse-calendar/vendor/holidays/definitions), I suspect the issue is related to state- or territory-level region definitions similar to what you see below for the US:

 ![Screenshot 2025-10-07 at 2.25.09 PM](https://global.discourse-cdn.com/meta/original/4X/1/5/b/15b020cf208b6e924fec910e41282f5fadfeac5a.png)

The change most likely happened between these two commits

- [FEATURE: Update US Holidays (#34558) · discourse/discourse@eabbac1 · GitHub](https://github.com/discourse/discourse/commit/eabbac18cf786541268941191bffbd3070b8ee46)
- [CHORE: Import holiday definition updates. (#34835) · discourse/discourse@1983a44 · GitHub](https://github.com/discourse/discourse/commit/1983a448126b36548c4cb2f60b4eeae554832cc5)

> [@one1](#):
>
> 1. there is nothing I can do about this and

That depends on your comfort level with poking around the internals. You’ll need to:

1. Identify users who have a **Calendar Region** preference set.
2. Check which of those values are not in the current list of valid regions:  
[REGIONS.rb](https://github.com/discourse/discourse/blob/039d3ffd0a33869f1cf390279fd6d5d5ff7b9757/plugins/discourse-calendar/vendor/holidays/lib/generated_definitions/REGIONS.rb#L3)
3. Update those users’ region preferences to a valid top-level region. For example, a preference setting like `United States (us_id)` should become `United States`

> <https://github.com/discourse/discourse/blob/039d3ffd0a33869f1cf390279fd6d5d5ff7b9757/plugins/discourse-calendar/vendor/holidays/lib/generated_definitions/REGIONS.rb#L3>

> [@one1](#):
>
> 1. it doesn’t really matter much?

It does if your site uses holiday calendar events. For affected users, no holiday events will be generated until their **Calendar Region** is fixed.

---

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