Error during sync attempt

App wouldn’t sync. Gives an error related to add-on

Error message (don't change this)
Anki 2.1.65 (aa9a734f) Python 3.9.15 Qt 6.5.0 PyQt 6.5.0
Platform: macOS-12.2.1-arm64-arm-64bit
Flags: frz=True ao=True sv=3
Add-ons, last update check: 2023-09-23 18:26:09

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/amandasieverts/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/amandasieverts/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/amandasieverts/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/amandasieverts/Library/Application Support/Anki2/addons21/1322529746/gui/deck_updater.py", line 46, in update_decks_and_media
    self._update_decks(ah_dids)

  File "/Users/amandasieverts/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/amandasieverts/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/amandasieverts/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/amandasieverts/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/amandasieverts/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/amandasieverts/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/amandasieverts/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 223, in update_dict

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

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

anki.errors.CardTypeError: Card template <U+2068>1<U+2069> in notetype '<U+2068>Image Occlusion Enhanced-9d5bf (Touro Deck Lecture / bradleyboman)-89105<U+2069>' has a problem.<br>Expected to find a field replacement on the front of the card template.

Sentry link (for developers)

Please don’t make duplicate posts. Let’s follow up in the other post.

A post was merged into an existing topic: Ankihub Sync Error, how can i fix this?