# Give an option to stop the bulk user invite process on warning (and make that the default option)

**URL:** <https://meta.discourse.org/t/give-an-option-to-stop-the-bulk-user-invite-process-on-warning-and-make-that-the-default-option/292445>\
**Category:** Feature\
**Tags:** invites\
**Created:** [January 22, 2024, 2:41am UTC](https://meta.discourse.org/t/give-an-option-to-stop-the-bulk-user-invite-process-on-warning-and-make-that-the-default-option/292445 "2024-01-22T02:41:38Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![jericson](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jericson/32/116215_2.png) [@jericson](https://meta.discourse.org/u/jericson)\
**Post date:** [January 22, 2024, 2:41am UTC](https://meta.discourse.org/t/give-an-option-to-stop-the-bulk-user-invite-process-on-warning-and-make-that-the-default-option/292445/1 "2024-01-22T02:41:39Z")

</div>

I’m trying to move a group\[1\] that currently coordinates activity via email to a group on my Discourse server. I decided to use the bulk invite function and my CSV file looked something like this:

```plaintext
user1@example.com, family_writing, 57
user2@example.com, family_writing, 57
. . . 

```

After submitting this file, I got this report:

> Your bulk user invite file was processed, 10 invites mailed, 0 skipped and 10 warning(s).
> 
> ```plaintext
> [2024-01-21 05:29:08 +0000] Invalid Group ' family_writing'
> [2024-01-21 05:29:08 +0000] Invalid Group ' family_writing'
> ...
> 
> ```

My error was assuming the process would strip spaces from the group name fields. Afterall, group names can’t have spaces:

![Screenshot 2024-01-21 at 6.28.01 PM](https://global.discourse-cdn.com/meta/original/4X/f/a/8/fa8c1d7c1e4745a0a8198ac7f6342a762530701e.png)

Thankfully I was able to change the 10 invites to go to the proper group before the recipients read their mail. I couldn’t find a way to edit the invites other than manually opening each invite and editing the “Ad to groups” field.\[2\]

Once the email is gone, it’s gone. In retrospect, I should have tested with [the Gmail plus trick](https://gmail.googleblog.com/2008/03/2-hidden-ways-to-get-more-from-your.html) to invite myself. Still, the system saw there was a problem and yoloed the emails anyway. I’d have appreciated on option (ideally enabled by default) to not send those emails so that I could fix my file instead of fixing the invites.

* * *

1. It’s theoretically a writers’ group, but we actually spend most of our time talking about family stuff. 

2. Using the rails console would be the right choice for 100+ invites, but 10 is in the awkward place where manual editing is faster.

---

_[View the full topic](https://meta.discourse.org/t/give-an-option-to-stop-the-bulk-user-invite-process-on-warning-and-make-that-the-default-option/292445)._
