# CategoryTag no\_content message doesn't describe what is happening

**URL:** https://meta.discourse.org/t/categorytag-no-content-message-doesnt-describe-what-is-happening/102333
**Category:** UX
**Created:** [November 19, 2018, 7:43pm UTC](https://meta.discourse.org/t/categorytag-no-content-message-doesnt-describe-what-is-happening/102333 "2018-11-19T19:43:49Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [November 19, 2018, 7:43pm UTC](https://meta.discourse.org/t/categorytag-no-content-message-doesnt-describe-what-is-happening/102333/1 "2018-11-19T19:43:51Z")

</div>

If a tag cannot be used in a category because the tag is either a `CategoryTag` or in a `CategoryTagGroup` for another category, the message that appears when trying to add the tag doesn’t tell the user why the tag cannot be used:

 ![48%20AM](https://global.discourse-cdn.com/meta/original/3X/6/7/6786cdf083756a994b301a0182fa5b05197c50cd.png)

A slight improvement would be something like this:

 ![13%20AM](https://global.discourse-cdn.com/meta/original/3X/1/6/16cd1f14601f50d097502e6dd7c38b084266c9d2.png)

For staff users, it would be helpful if they could also be told which category the tag was restricted to:

 ![20%20AM](https://global.discourse-cdn.com/meta/original/3X/b/0/b0eaedf5d08100908af8c5121026b677d6776663.png)

---

<div class="post-metadata">

### Author: ![vinothkannans](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vinothkannans/32/86465_2.png) [@vinothkannans](https://meta.discourse.org/u/vinothkannans)
#### Post date: [January 3, 2019, 7:06pm UTC](https://meta.discourse.org/t/categorytag-no-content-message-doesnt-describe-what-is-happening/102333/6 "2019-01-03T19:06:42Z")

</div>

Now we displaying three types of messages

> “health” cannot be used in this category  
> “health” is restricted to the “Walking” category  
> “health” is restricted to the following categories: Walking, Jogging

[https://github.com/discourse/discourse/commit/385829d7be7cc85b2eb561b7a2640768bc7710de](https://github.com/discourse/discourse/commit/385829d7be7cc85b2eb561b7a2640768bc7710de)

---

<div class="post-metadata">

### Author: ![vinothkannans](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vinothkannans/32/86465_2.png) [@vinothkannans](https://meta.discourse.org/u/vinothkannans)
#### Post date: [January 7, 2019, 12:39pm UTC](https://meta.discourse.org/t/categorytag-no-content-message-doesnt-describe-what-is-happening/102333/7 "2019-01-07T12:39:39Z")

</div>

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