Error when exporting deck package

I have all of my decks under a main deck, and when i try to export the main deck, i get the following error.

I tried changing the location I export to but still get the error.
I can export the subdecks one at a time, but before doing that one-by-one I wanted to see what’s causing this error.
I also tried it in safemode but still nothing.
I was successful in exporting my anki as a collection however.

Thanks in advance,

Anki 2.1.35 (84dcaa86) Python 3.8.0 Qt 5.14.2 PyQt 5.14.2

Platform: Mac 10.16

Flags: frz=True ao=False sv=2

Add-ons, last update check: 2021-01-14 16:51:20

Caught exception:

Traceback (most recent call last):

File “aqt/”, line 87, in _on_closures_pending

File “aqt/”, line 59, in

File “aqt/”, line 167, in on_done

File “concurrent/futures/”, line 432, in result

File “concurrent/futures/”, line 388, in __get_result

File “concurrent/futures/”, line 57, in run

File “aqt/”, line 161, in do_export

File “anki/”, line 325, in exportInto

File “anki/”, line 333, in doExport

File “anki/”, line 238, in exportInto

File “anki/”, line 231, in update

File “anki/”, line 414, in add_or_update_notetype

File “anki/”, line 267, in _run_command

anki.rsbackend.TemplateError: Card template ⁨23⁩ has a problem.

2 posts were merged into an existing topic: Card template 23 has a problem