# Change error-text for blacklisted email domains

**URL:** https://meta.discourse.org/t/change-error-text-for-blacklisted-email-domains/67457
**Category:** Support
**Created:** [2017年八月4日 14:41 UTC](https://meta.discourse.org/t/change-error-text-for-blacklisted-email-domains/67457 "2017-08-04T14:41:11Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Bas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bas/32/294929_2.png) [@Bas](https://meta.discourse.org/u/Bas)
#### Post date: [2017年八月4日 14:41 UTC](https://meta.discourse.org/t/change-error-text-for-blacklisted-email-domains/67457/1 "2017-08-04T14:41:11Z")

</div>

![05](https://global.discourse-cdn.com/meta/original/3X/9/7/9761233c3a2532ab48c1b18f8c202da49d2f6e80.png)

Is there a way to replace this “Primary email is invalid” message?

I couldn’t find it in the list of customisable Text Content and I think it could be a tad more descriptive 🙂

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [2017年八月4日 17:20 UTC](https://meta.discourse.org/t/change-error-text-for-blacklisted-email-domains/67457/2 "2017-08-04T17:20:38Z")

</div>

Did you search for “primary email is invalid”?

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [2017年八月5日 00:05 UTC](https://meta.discourse.org/t/change-error-text-for-blacklisted-email-domains/67457/3 "2017-08-05T00:05:59Z")

</div>

He’s right there isn’t a direct match in Admin, Text Content – this might be because we’re using that built in Rails validation stuff, so it could be of the form

`{fieldname} is invalid`

---

<div class="post-metadata">

### Author: ![Bas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bas/32/294929_2.png) [@Bas](https://meta.discourse.org/u/Bas)
#### Post date: [2017年八月7日 08:06 UTC](https://meta.discourse.org/t/change-error-text-for-blacklisted-email-domains/67457/4 "2017-08-07T08:06:10Z")

</div>

@pfaffman yes I did 🙂

@codinghorror looks like there’s no label containing `{fieldname}`, but I do see a generic `activerecord.errors.messages.invalid = is invalid` and a few others like it. I’ve changed all three and it turns out to be the active record one.

 ![45](https://global.discourse-cdn.com/meta/original/3X/6/c/6cd617ab79c308c5b193a72602492bd38f2c2196.png)

It’s a very trivial nuisance, but it would help guide the user a bit 🙂

---

<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: [2019年七月26日 13:07 UTC](https://meta.discourse.org/t/change-error-text-for-blacklisted-email-domains/67457/5 "2019-07-26T13:07:57Z")

</div>



---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [2019年七月26日 13:41 UTC](https://meta.discourse.org/t/change-error-text-for-blacklisted-email-domains/67457/6 "2019-07-26T13:41:06Z")

</div>


