Downloading ankihub add on to get the v12 deck

**Before the error happened, I was downloading ankihub add on

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-14.7.6-arm64-arm-64bit
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2025-06-02 00:57:00

Traceback (most recent call last):

  File "aqt.main", line 1162, in closeEvent

  File "aqt.main", line 536, in unloadProfileAndExit

  File "aqt.main", line 512, in unloadProfile

  File "aqt.main", line 638, in unloadCollection

  File "aqt.main", line 910, in closeAllWindows

  File "aqt", line 161, in closeAll

  File "aqt", line 154, in callback

  File "aqt.main", line 636, in before_sync

  File "aqt.main", line 1039, in maybe_auto_sync_on_open_close

  File "decorator", line 232, in fun

  File "anki.hooks", line 89, in decorator_wrapper

  File "anki.hooks", line 86, in repl

  File "/Users/medha_somisetty/Library/Application Support/Anki2/addons21/1322529746/gui/auto_sync.py", line 83, in _on_ankiweb_sync
    kwargs=kwargs,

  File "/Users/medha_somisetty/Library/Application Support/Anki2/addons21/1322529746/gui/auto_sync.py", line 74, in sync_with_ankiweb
    """Wrapper for AnkiQt._sync_collection_and_media that syncs with with AnkiHub before syncing with AnkiWeb.

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

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

  File "/Users/medha_somisetty/Library/Application Support/Anki2/addons21/1322529746/gui/auto_sync.py", line 80, in _on_ankiweb_sync
    args, kwargs, original_after_sync = extract_argument(

  File "/Users/medha_somisetty/Library/Application Support/Anki2/addons21/1322529746/gui/auto_sync.py", line 100, in _maybe_sync_with_ankihub
    except FullSyncCancelled:

  File "/Users/medha_somisetty/Library/Application Support/Anki2/addons21/1322529746/gui/operations/ankihub_sync.py", line 77, in sync_with_ankihub

  File "/Users/medha_somisetty/Library/Application Support/Anki2/addons21/1322529746/gui/auto_sync.py", line 74, in sync_with_ankiweb
    """Wrapper for AnkiQt._sync_collection_and_media that syncs with with AnkiHub before syncing with AnkiWeb.

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

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

  File "/Users/medha_somisetty/Library/Application Support/Anki2/addons21/1322529746/gui/operations/ankihub_sync.py", line 65, in sync_with_ankihub
    @pass_exceptions_to_on_done

  File "/Users/medha_somisetty/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 579, in get_deck_subscriptions
    if future.result():

1322529746.ankihub_client.ankihub_client.AnkiHubHTTPError: AnkiHub request error: 406 Not Acceptable

Sentry link (for developers)

Hello,

Try updating your Anki to the latest version: https://apps.ankiweb.net/

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.