# Adding synonym to the same tag gets stuck

**URL:** <https://meta.discourse.org/t/adding-synonym-to-the-same-tag-gets-stuck/169801>\
**Category:** Bug\
**Created:** [November 11, 2020, 4:52am UTC](https://meta.discourse.org/t/adding-synonym-to-the-same-tag-gets-stuck/169801 "2020-11-11T04:52:00Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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 11, 2020, 5:47pm UTC](https://meta.discourse.org/t/adding-synonym-to-the-same-tag-gets-stuck/169801/2 "2020-11-11T17:47:26Z")

</div>

> [@MarcP](#):
>
> I accidently added tag A as synonym under tag A

That seems like something that should not be allowed to happen. I’m assuming that you ended up with something like this:

 ![image](https://global.discourse-cdn.com/meta/original/3X/3/3/3302541660e98f2a8c47a9315db01d122214c75d.png)

I’m testing this on my local development site. After creating the synonym, clicking the “Remove Synonym” button gives a `422` error. Clicking the trash icon for the synonym doesn’t give me a `500` error, instead it completely deletes the tag.

I think some protection should be added to prevent a tag from being set as its own synonym.

---

_[View the full topic](https://meta.discourse.org/t/adding-synonym-to-the-same-tag-gets-stuck/169801)._
