# Unable to paste list of domains in group auto-add

**URL:** https://meta.discourse.org/t/unable-to-paste-list-of-domains-in-group-auto-add/356985
**Category:** Support
**Tags:** groups
**Created:** [March 12, 2025, 3:38pm UTC](https://meta.discourse.org/t/unable-to-paste-list-of-domains-in-group-auto-add/356985 "2025-03-12T15:38:34Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![putty](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/putty/32/370902_2.png) [@putty](https://meta.discourse.org/u/putty)
#### Post date: [March 12, 2025, 3:38pm UTC](https://meta.discourse.org/t/unable-to-paste-list-of-domains-in-group-auto-add/356985/1 "2025-03-12T15:38:34Z")

</div>

We’re trying to [auto-add users to a group via a domain](https://meta.discourse.org/t/add-users-to-a-group-based-on-their-email-domain/132875), but I’m having trouble adding multiple domains at once (for context we’re hoping to add 850+ domains). I’m able to enter them in one by one, but I’m having trouble pasting in a list (even if it’s only a few). It always just detects it as a single string, instead of separate entries.

What is the correct procedure for this? I have tried:

- From an Excel sheet, entries separated by a comma
- From an Excel sheet, entries separated by a comma and a space
- We also tried via API but quickly reached the character limit:
  - `Automatic membership email domains is too long (maximum is 1000 characters`

I know I have done a bulk add like this before, granted it may, have just been a hundred or two at a time.

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [April 8, 2025, 7:15pm UTC](https://meta.discourse.org/t/unable-to-paste-list-of-domains-in-group-auto-add/356985/3 "2025-04-08T19:15:32Z")

</div>

I think it prefers a `|` instead of a comma for separating that input. Could you try swopping your commas out for pipes and give that a try?

---

<div class="post-metadata">

### Author: ![putty](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/putty/32/370902_2.png) [@putty](https://meta.discourse.org/u/putty)
#### Post date: [April 17, 2025, 3:35pm UTC](https://meta.discourse.org/t/unable-to-paste-list-of-domains-in-group-auto-add/356985/4 "2025-04-17T15:35:35Z")

</div>

You sir are correct! Using a `|` symbol **and having them all on a single line** solved it! The field would insert a space and error out if each entry was on a separate line.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [May 17, 2025, 3:35pm UTC](https://meta.discourse.org/t/unable-to-paste-list-of-domains-in-group-auto-add/356985/5 "2025-05-17T15:35:59Z")

</div>

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