# Error when exporting deck

**URL:** <https://forums.ankiweb.net/t/error-when-exporting-deck/17095>\
**Category:** Help\
**Created:** [January 27, 2022, 8:57pm UTC](https://forums.ankiweb.net/t/error-when-exporting-deck/17095 "2022-01-27T20:57:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mavard](https://avatars.discourse-cdn.com/v4/letter/m/3e96dc/32.png) [@mavard](https://forums.ankiweb.net/u/mavard)\
**Post date:** [January 27, 2022, 8:57pm UTC](https://forums.ankiweb.net/t/error-when-exporting-deck/17095/1 "2022-01-27T20:57:42Z")

</div>

When I try to export a deck I get this error message. I have already deleted all of my add-ons, checked my database, and restarted my computer.

Anki 2.1.49 (dc80804a) Python 3.8.6 Qt 5.14.2 PyQt 5.14.2  
Platform: Mac 10.16  
Flags: frz=True ao=False sv=2  
Add-ons, last update check: 2022-01-27 12:51:52

Caught exception:  
Traceback (most recent call last):  
File “aqt/taskman.py”, line 101, in \_on\_closures\_pending  
File “aqt/taskman.py”, line 71, in   
File “aqt/exporting.py”, line 173, 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 167, in do\_export  
File “anki/exporting.py”, line 342, in exportInto  
File “anki/exporting.py”, line 350, in doExport  
File “anki/exporting.py”, line 253, in exportInto  
File “anki/models.py”, line 539, in update  
File “anki/\_backend/generated.py”, line 450, in add\_or\_update\_notetype  
File “anki/\_backend/ **init**.py”, line 131, in \_run\_command  
anki.errors.TemplateError: Card template ⁨1⁩ in notetype ‘⁨Cloze-Ash-f088e⁩’ has a problem.  
See the preview for more information.

---

<div class="post-metadata">

**Author:** ![abdo](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/abdo/32/654_2.png) [@abdo](https://forums.ankiweb.net/u/abdo)\
**Post date:** [January 27, 2022, 11:39pm UTC](https://forums.ankiweb.net/t/error-when-exporting-deck/17095/2 "2022-01-27T23:39:32Z")

</div>

> [@mavard](#):
>
> anki.errors.TemplateError: Card template ⁨1⁩ in notetype ‘⁨Cloze-Ash-f088e⁩’ has a problem.  
> See the preview for more information.

As the message says, check the notetype named “⁨Cloze-Ash-f088e⁩” from the [card templates screen](https://docs.ankiweb.net/templates/intro.html). You should see more details about the problem there.

---

<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:34am UTC](https://forums.ankiweb.net/t/error-when-exporting-deck/17095/3 "2023-05-01T04:34:12Z")

</div>


