# Template overrides are not mentioned in the error message when they reference a non-existent field

**URL:** <https://forums.ankiweb.net/t/template-overrides-are-not-mentioned-in-the-error-message-when-they-reference-a-non-existent-field/21245>\
**Category:** Help\
**Created:** [July 6, 2022, 3:08pm UTC](https://forums.ankiweb.net/t/template-overrides-are-not-mentioned-in-the-error-message-when-they-reference-a-non-existent-field/21245 "2022-07-06T15:08:15Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aleksej](https://avatars.discourse-cdn.com/v4/letter/a/7c8e57/32.png) [@Aleksej](https://forums.ankiweb.net/u/Aleksej)\
**Post date:** [July 6, 2022, 3:08pm UTC](https://forums.ankiweb.net/t/template-overrides-are-not-mentioned-in-the-error-message-when-they-reference-a-non-existent-field/21245/1 "2022-07-06T15:08:15Z")

</div>

Anki 2.1.54 shows:

```auto
Front template has a problem:
Found '<U+2068>{{#cde}}<U+2069>', but there is no field called '<U+2068>cde<U+2069>'
More information

```

The field is referenced in “Override front template” in “Options” → “Browser Appearance”.

---

<div class="post-metadata">

**Author:** ![Aleksej](https://avatars.discourse-cdn.com/v4/letter/a/7c8e57/32.png) [@Aleksej](https://forums.ankiweb.net/u/Aleksej)\
**Post date:** [July 6, 2022, 6:19pm UTC](https://forums.ankiweb.net/t/template-overrides-are-not-mentioned-in-the-error-message-when-they-reference-a-non-existent-field/21245/3 "2022-07-06T18:19:16Z")

</div>

It is also impossible to see what the problematic note type is when the error appears in the browser, impossible to add tags or whatever.

---

<div class="post-metadata">

**Author:** ![Aleksej](https://avatars.discourse-cdn.com/v4/letter/a/7c8e57/32.png) [@Aleksej](https://forums.ankiweb.net/u/Aleksej)\
**Post date:** [July 6, 2022, 6:48pm UTC](https://forums.ankiweb.net/t/template-overrides-are-not-mentioned-in-the-error-message-when-they-reference-a-non-existent-field/21245/4 "2022-07-06T18:48:34Z")

</div>

Also, the issue I had described but deleted the message was that you can’t fix only a part of the template: Anki won’t let you save it.

---

<div class="post-metadata">

**Author:** ![BlackBeans](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/blackbeans/32/2283_2.png) [@BlackBeans](https://forums.ankiweb.net/u/BlackBeans)\
**Post date:** [July 6, 2022, 8:02pm UTC](https://forums.ankiweb.net/t/template-overrides-are-not-mentioned-in-the-error-message-when-they-reference-a-non-existent-field/21245/5 "2022-07-06T20:02:49Z")

</div>

This error simply states that you are trying to use a field that does not exist, in your case, `cde`. Are you sure this field exists (and the name is exactly `cde`, case-sensitive)?

Besides, I don’t know if that’s related, but it’s a bit strange that if it finds `<U+2068>{{#cde}}<U+2069>` it complains about not finding `<U+2068>cde<U+2069>` (I would have expected it would complain about not finding `cde`), however since `<U+2068>` and `<U+2069>` tags are special tags that do not represent text, but only modify the direction in which is it show (ie. right-to-left or left-to-right), maybe that’s what breaks Anki: it doesn’t consider them as text, so it includes them so it will be shown correctly, but that prevents it from finding a field that contains them in the name. If you try disabling any right-to-left option you may have activated (ie. writing text plainly left-to-right), does it work?

---

<div class="post-metadata">

**Author:** ![Aleksej](https://avatars.discourse-cdn.com/v4/letter/a/7c8e57/32.png) [@Aleksej](https://forums.ankiweb.net/u/Aleksej)\
**Post date:** [July 6, 2022, 8:04pm UTC](https://forums.ankiweb.net/t/template-overrides-are-not-mentioned-in-the-error-message-when-they-reference-a-non-existent-field/21245/6 "2022-07-06T20:04:51Z")

</div>

Are you replying to the latest version of my post, or to the original one?

---

<div class="post-metadata">

**Author:** ![BlackBeans](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/blackbeans/32/2283_2.png) [@BlackBeans](https://forums.ankiweb.net/u/BlackBeans)\
**Post date:** [July 6, 2022, 8:06pm UTC](https://forums.ankiweb.net/t/template-overrides-are-not-mentioned-in-the-error-message-when-they-reference-a-non-existent-field/21245/7 "2022-07-06T20:06:26Z")

</div>

The original one.

---

<div class="post-metadata">

**Author:** ![Rumo](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/rumo/32/1505_2.png) [@Rumo](https://forums.ankiweb.net/u/Rumo)\
**Post date:** [July 6, 2022, 9:27pm UTC](https://forums.ankiweb.net/t/template-overrides-are-not-mentioned-in-the-error-message-when-they-reference-a-non-existent-field/21245/8 "2022-07-06T21:27:07Z")

</div>

I don’t think the control characters matter. Looks as if they’re added by fluent.

I understand your confusion, @Aleksej. Anki should mention if the issue is with a browser template. Also in the card list, we shouldn’t disable the row, but instead put the error message in the question column only.  
However, allowing to fix only part of a notetype isn’t practical. But maybe this doesn’t matter too much, if Anki indicates the faulty template less ambiguously in the future.

---

<div class="post-metadata">

**Author:** ![BlackBeans](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/blackbeans/32/2283_2.png) [@BlackBeans](https://forums.ankiweb.net/u/BlackBeans)\
**Post date:** [July 6, 2022, 9:47pm UTC](https://forums.ankiweb.net/t/template-overrides-are-not-mentioned-in-the-error-message-when-they-reference-a-non-existent-field/21245/9 "2022-07-06T21:47:15Z")

</div>

> [@Rumo](#):
>
> However, allowing to fix only part of a notetype isn’t practical.

Indeed, when I first stumbled into this kind of issues, I found it frustrating that Anki only allows you to have “valid” notetypes, which means that you have to start by fixing “by the good end” otherwise Anki will not save the changes, so you have to start over.

However, I got used to it quite quickly and maybe this drawback is worth the immediate feedback a user gets when they have a broken note type.

---

<div class="post-metadata">

**Author:** ![Rumo](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/rumo/32/1505_2.png) [@Rumo](https://forums.ankiweb.net/u/Rumo)\
**Post date:** [July 6, 2022, 9:52pm UTC](https://forums.ankiweb.net/t/template-overrides-are-not-mentioned-in-the-error-message-when-they-reference-a-non-existent-field/21245/10 "2022-07-06T21:52:27Z")

</div>

Yeah, it can cause some inconvenience for experienced users, but hopefully, the amount of faulty templates it prevents from getting created or shared outweighs this by far.

---

<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:10am UTC](https://forums.ankiweb.net/t/template-overrides-are-not-mentioned-in-the-error-message-when-they-reference-a-non-existent-field/21245/12 "2023-05-01T04:10:59Z")

</div>

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


