Syncing leading to error with updating Anking Step1 and Step2 Decks

Before the error happened, I was…
I clicked “Sync” and a window popped up that Anking notes were updating for Step 1 and Step 2 decks. Following the uploading of a ton of notes, it crashed and left me with the error report down below.

Error message (don't change this)
Anki 23.12.1 (1a1d4d54)  (ao)
Python 3.9.15 Qt 6.6.1 PyQt 6.6.1
Platform: Windows-10-10.0.19045

Traceback (most recent call last):

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

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

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

  File "C:\Users\lkhou\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\ankihub_sync.py", line 43, in on_sync_done
    return

  File "C:\Users\lkhou\AppData\Roaming\Anki2\addons21\1322529746\gui\auto_sync.py", line 101, 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 "C:\Users\lkhou\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\ankihub_sync.py", line 36, in <lambda>
    immediate=True,

  File "C:\Users\lkhou\AppData\Roaming\Anki2\addons21\1322529746\gui\deck_updater.py", line 53, in update_decks_and_media
    self._update_decks(ah_dids)

  File "C:\Users\lkhou\AppData\Roaming\Anki2\addons21\1322529746\gui\deck_updater.py", line 76, in _update_decks
    should_continue = self._update_single_deck(ah_did)

  File "C:\Users\lkhou\AppData\Roaming\Anki2\addons21\1322529746\gui\deck_updater.py", line 90, in _update_single_deck
    result = self._download_updates_for_deck(ankihub_did)

  File "C:\Users\lkhou\AppData\Roaming\Anki2\addons21\1322529746\gui\deck_updater.py", line 131, in _download_updates_for_deck
    import_result = self._importer.import_ankihub_deck(

  File "C:\Users\lkhou\AppData\Roaming\Anki2\addons21\1322529746\main\importing.py", line 138, in import_ankihub_deck
    # Clean up any left over data for this deck in the ankihub database from previous deck imports.

  File "C:\Users\lkhou\AppData\Roaming\Anki2\addons21\1322529746\main\importing.py", line 226, in _import_notes

  File "C:\Users\lkhou\AppData\Roaming\Anki2\addons21\1322529746\main\importing.py", line 379, in _delete_notes_or_mark_as_deleted
    elif (

ValueError: Unknown value for behavior_on_remote_note_deleted=None

Sentry link (for developers)

@lkh001 Go to AnkiHub > Deck Management and toggle this option on or off. Simply changing this option to any state should fix the issue.

@jakub.f any idea about this?

Hi, thanks for your help.

I’m struggling to find this window. To clarify, should I be able to get to this from the topbar in Anki?

Yes, it’s in the top menu of the main window.