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/taskman.py”, line 87, in _on_closures_pending

File “aqt/taskman.py”, line 59, in

File “aqt/exporting.py”, line 167, in on_done

File “concurrent/futures/_base.py”, line 432, in result

File “concurrent/futures/_base.py”, line 388, in __get_result

File “concurrent/futures/thread.py”, line 57, in run

File “aqt/exporting.py”, line 161, in do_export

File “anki/exporting.py”, line 325, in exportInto

File “anki/exporting.py”, line 333, in doExport

File “anki/exporting.py”, line 238, in exportInto

File “anki/models.py”, line 231, in update

File “anki/rsbackend_gen.py”, line 414, in add_or_update_notetype

File “anki/rsbackend.py”, 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