# Unable to update group membership settings if Automatic email domain list is empty

**URL:** https://meta.discourse.org/t/unable-to-update-group-membership-settings-if-automatic-email-domain-list-is-empty/357825
**Category:** Bug
**Tags:** groups
**Created:** [March 18, 2025, 6:36pm UTC](https://meta.discourse.org/t/unable-to-update-group-membership-settings-if-automatic-email-domain-list-is-empty/357825 "2025-03-18T18:36:44Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Adam-Young](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/adam-young/32/494567_2.png) [@Adam-Young](https://meta.discourse.org/u/Adam-Young)
#### Post date: [March 18, 2025, 6:36pm UTC](https://meta.discourse.org/t/unable-to-update-group-membership-settings-if-automatic-email-domain-list-is-empty/357825/1 "2025-03-18T18:36:44Z")

</div>

A recent update has caused an error to occur when saving a group’s membership settings if the Automatic email domain list is empty. After entering a email domain, it will allow it to save. Removing the domain will cause the error to occur again.

Here is the error.

 ![image](https://global.discourse-cdn.com/meta/original/4X/2/b/8/2b8aa1dbbc934af236b2bf3b5186f9dd6d45f911.png)

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [March 18, 2025, 8:41pm UTC](https://meta.discourse.org/t/unable-to-update-group-membership-settings-if-automatic-email-domain-list-is-empty/357825/2 "2025-03-18T20:41:57Z")

</div>

@ted could it be related to [https://github.com/discourse/discourse/pull/31854](https://github.com/discourse/discourse/pull/31854) ?

---

<div class="post-metadata">

### Author: ![ted](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ted/32/283882_2.png) [@ted](https://meta.discourse.org/u/ted)
#### Post date: [March 19, 2025, 4:06am UTC](https://meta.discourse.org/t/unable-to-update-group-membership-settings-if-automatic-email-domain-list-is-empty/357825/4 "2025-03-19T04:06:43Z")

</div>

Thanks for the report, @Adam-Young!

This was fixed here:

[https://github.com/discourse/discourse/pull/31896](https://github.com/discourse/discourse/pull/31896)

And the fix has been deployed.

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [March 22, 2025, 4:06am UTC](https://meta.discourse.org/t/unable-to-update-group-membership-settings-if-automatic-email-domain-list-is-empty/357825/5 "2025-03-22T04:06:56Z")

</div>

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.
