Error when trying to Export Decks

Hey there. I keep getting an error when exporting my decks. The error said to disable addons and check database, and I did, but still get this error when trying to export the deck:

Error
An error occurred. Please use Tools > Check Database to see if that fixes the problem.
If problems persist, please report the problem on our support site. Please copy and paste the information below into your report.
Anki 2.1.49 (dc80804a) Python 3.8.6 Qt 5.14.2 PyQt 5.14.2
Platform: Windows 10
Flags: frz=True ao=False sv=2
Add-ons, last update check: 2022-04-21 10:34:00

Caught exception:
Traceback (most recent call last):
File “aqt\exporting.py”, line 156, in accept
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: ‘C:/Users/owent/Documents/AUA/Anki Decks/Boards and Beyond (Big-O-Lightyear).apkg’

Please advise.

Does exporting to a different folder help?

I’ve tried that and also have tried exporting on my desktop, same/similar error. The first error log was from my laptop, and this log is from my desktop (brand new computer that was built a week or two ago):

Error
An error occurred. Please use Tools > Check Database to see if that fixes the problem.
If problems persist, please report the problem on our support site. Please copy and paste the information below into your report.
Anki 2.1.49 (dc80804a) Python 3.8.6 Qt 5.14.2 PyQt 5.14.2
Platform: Windows 10
Flags: frz=True ao=False sv=2
Add-ons, last update check: 2022-04-22 10:45:46

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 ⁨2⁩ in notetype ‘⁨Basic (and reversed card)⁩’ has a problem.
The front side is identical to card template ⁨1⁩.

Update: I was able to export the deck on my desktop after reading through the new error log. So turns out there was some error with the template “⁨Basic (and reversed card)⁩”, I just deleted it since no notes used it. Going to try the export on my laptop to make sure this is resolved.

Update to the Update: I was able to export the deck on my laptop. Consider this issue resolved!