# Error in tag renaming

**URL:** <https://forums.ankiweb.net/t/error-in-tag-renaming/15696>\
**Category:** Help\
**Created:** [December 6, 2021, 6:44pm UTC](https://forums.ankiweb.net/t/error-in-tag-renaming/15696 "2021-12-06T18:44:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pablofbe](https://avatars.discourse-cdn.com/v4/letter/p/7bcc69/32.png) [@pablofbe](https://forums.ankiweb.net/u/pablofbe)\
**Post date:** [December 6, 2021, 6:44pm UTC](https://forums.ankiweb.net/t/error-in-tag-renaming/15696/1 "2021-12-06T18:44:02Z")

</div>

Since I installed the 2.1.49 Anki update (I previously used 2.1.44), when I try to rename tags by right clicking on the sidebar I get the following error message: “You can’t rename a tag that has no notes”, but the tag does have notes.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/2X/9/98746c841b54cecd263a9f7cc5df2caf42d42e4c.png)  
This also happens if I try to remove tags with the right click: remove tags function. In my tags I use non-breaking spaces (unicode U+00A0), which don’t create a separation into different tags as normal spaces and I think it has something to do with this because the error does not occur in tags that don’t contain non-breaking spaces. However I have been using these tags for a long time without any issues so I would like to know if there is a solution that doesn’t imply taking way non-breaking spaces, in which case I would prefer to downgrade my anki version.  
Thanks in advance

---

<div class="post-metadata">

**Author:** ![dae](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/dae/32/65_2.png) [@dae](https://forums.ankiweb.net/u/dae)\
**Post date:** [December 7, 2021, 10:40am UTC](https://forums.ankiweb.net/t/error-in-tag-renaming/15696/2 "2021-12-07T10:40:29Z")

</div>

I had a quick look, but the cause of this was not obvious. You might want to consider using find&replace to replace the non-breaking spaces with hyphens or underscores instead, as it would be less confusing that way.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/1X/8f1279ababc5879d54e4838989f606cfe55af8c7.jpeg) [@system](https://forums.ankiweb.net/u/system)\
**Post date:** [May 1, 2023, 4:40am UTC](https://forums.ankiweb.net/t/error-in-tag-renaming/15696/3 "2023-05-01T04:40:40Z")

</div>

Closed on May 1, 2023, 4:40am UTC


