Constantly getting a pop up saying there was an error

Before the error happened, I was…
[Replace this text.]

Error message (don't change this)
Anki 2.1.66 (70506aeb) Python 3.9.15 Qt 6.5.0 PyQt 6.5.0
Platform: macOS-13.2.1-arm64-arm-64bit
Flags: frz=True ao=True sv=?
Add-ons, last update check: 2023-10-24 21:54:13

Traceback (most recent call last):

  File "aqt.taskman", line 122, in _on_closures_pending

  File "aqt.taskman", line 71, in <lambda>

  File "aqt.taskman", line 90, in wrapped_done

  File "/Users/farahel-choum/Library/Application Support/Anki2/addons21/1322529746/gui/operations/ankihub_sync.py", line 39, in on_sync_done
    on_done(future_with_exception(future.exception()))

  File "/Users/farahel-choum/Library/Application Support/Anki2/addons21/1322529746/gui/auto_sync.py", line 74, in sync_with_ankiweb
    future.result()

  File "concurrent.futures._base", line 439, in result

  File "concurrent.futures._base", line 391, in __get_result

  File "concurrent.futures.thread", line 58, in run

  File "/Users/farahel-choum/Library/Application Support/Anki2/addons21/1322529746/gui/operations/ankihub_sync.py", line 32, in <lambda>
    task=lambda: ah_deck_updater.update_decks_and_media(to_sync_ah_dids),

  File "/Users/farahel-choum/Library/Application Support/Anki2/addons21/1322529746/gui/deck_updater.py", line 46, in update_decks_and_media
    self._update_decks(ah_dids)

  File "/Users/farahel-choum/Library/Application Support/Anki2/addons21/1322529746/gui/deck_updater.py", line 69, in _update_decks
    should_continue = self._update_single_deck(ah_did)

  File "/Users/farahel-choum/Library/Application Support/Anki2/addons21/1322529746/gui/deck_updater.py", line 81, in _update_single_deck
    result = self._download_updates_for_deck(ankihub_did)

  File "/Users/farahel-choum/Library/Application Support/Anki2/addons21/1322529746/gui/deck_updater.py", line 119, in _download_updates_for_deck
    import_result = self._importer.import_ankihub_deck(

  File "/Users/farahel-choum/Library/Application Support/Anki2/addons21/1322529746/main/importing.py", line 115, in import_ankihub_deck
    self._import_note_types(note_types=note_types)

  File "/Users/farahel-choum/Library/Application Support/Anki2/addons21/1322529746/main/importing.py", line 148, in _import_note_types
    _adjust_note_types_in_anki_db(note_types)

  File "/Users/farahel-choum/Library/Application Support/Anki2/addons21/1322529746/main/importing.py", line 499, in _adjust_note_types_in_anki_db
    _ensure_local_and_remote_fields_are_same(remote_note_types)

  File "/Users/farahel-choum/Library/Application Support/Anki2/addons21/1322529746/main/importing.py", line 558, in _ensure_local_and_remote_fields_are_same
    aqt.mw.col.models.update_dict(local_note_type)

  File "anki.models", line 224, in update_dict

  File "anki._backend_generated", line 880, in update_notetype_legacy

  File "anki._backend", line 151, in _run_command

anki.errors.CardTypeError: Card template <U+2068>1<U+2069> in notetype '<U+2068>AnKingOverhaul (AnKing / AnKingMed)<U+2069>' has a problem.<br>Expected to find a field replacement on the front of the card template.

Sentry link (for developers)

You should be able to fix this by removing the “AnKingOverhaul (AnKing / AnKingMed)” notetype from Tools > Manage Notetypes. Can you confirm it’s unused by any cards? If it’s actually used, I assume it’ll be broken and will not have all the usual fields in the AnKing deck.