Sync error

Before the error happened, I was…
this error keeps popping up when I go to sync my Anki hub

Error message (don't change this)
Anki 2.1.56 (07fd88dd) Python 3.9.15 Qt 6.3.2 PyQt 6.3.1
Platform: macOS-12.6.3-arm64-arm-64bit
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2025-02-12 09:21:24

Traceback (most recent call last):

  File "aqt.webview", line 43, in cmd

  File "aqt.webview", line 150, in _onCmd

  File "aqt.webview", line 620, in _onBridgeCmd

  File "aqt.toolbar", line 168, in _linkHandler

  File "aqt.toolbar", line 192, in _syncLinkHandler

  File "aqt.main", line 975, in on_sync_button_clicked

  File "decorator", line 232, in fun

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

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

  File "/Users/gabeestrada/Library/Application Support/Anki2/addons21/1322529746/auto_sync.py", line 83, in _on_ankiweb_sync
    sync_with_ankiweb(future_with_exception(e))

  File "/Users/gabeestrada/Library/Application Support/Anki2/addons21/1322529746/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 "/Users/gabeestrada/Library/Application Support/Anki2/addons21/1322529746/auto_sync.py", line 80, in _on_ankiweb_sync
    _maybe_sync_with_ankihub(on_done=sync_with_ankiweb)

  File "/Users/gabeestrada/Library/Application Support/Anki2/addons21/1322529746/auto_sync.py", line 100, in _maybe_sync_with_ankihub
    sync_with_ankihub(on_done=on_done)

  File "/Users/gabeestrada/Library/Application Support/Anki2/addons21/1322529746/gui/operations/ankihub_sync.py", line 38, in sync_with_ankihub
    on_done(future_with_exception(e))

  File "/Users/gabeestrada/Library/Application Support/Anki2/addons21/1322529746/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 "/Users/gabeestrada/Library/Application Support/Anki2/addons21/1322529746/gui/operations/ankihub_sync.py", line 36, in sync_with_ankihub
    check_and_install_new_deck_subscriptions(on_done=on_new_deck_subscriptions_done)

  File "/Users/gabeestrada/Library/Application Support/Anki2/addons21/1322529746/gui/operations/new_deck_subscriptions.py", line 38, in check_and_install_new_deck_subscriptions
    on_done(future_with_exception(e))

  File "/Users/gabeestrada/Library/Application Support/Anki2/addons21/1322529746/gui/operations/ankihub_sync.py", line 17, in on_new_deck_subscriptions_done
    on_done(future_with_exception(future.exception()))

  File "/Users/gabeestrada/Library/Application Support/Anki2/addons21/1322529746/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 "/Users/gabeestrada/Library/Application Support/Anki2/addons21/1322529746/gui/operations/new_deck_subscriptions.py", line 18, in check_and_install_new_deck_subscriptions
    decks = _not_installed_ah_decks()

  File "/Users/gabeestrada/Library/Application Support/Anki2/addons21/1322529746/gui/operations/new_deck_subscriptions.py", line 43, in _not_installed_ah_decks
    remote_decks = client.get_deck_subscriptions()

  File "/Users/gabeestrada/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 502, in get_deck_subscriptions
    raise AnkiHubHTTPError(response)

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

Sentry link (for developers)

Hello,

Please update your Anki to the latest version: https://apps.ankiweb.net/

Also update your AnkiHub add-on, tutorial: How to update the AnkiHub Add-on