Problem with ankihub

Before the error happened, I was. trying to sync ankihub deck to my anki .
[Replace this text.]

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-13.2-arm64-arm-64bit
Flags: frz=True ao=True sv=3
Add-ons, last update check: 2025-04-05 21:37:30

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/jesulasanon/Library/Application Support/Anki2/addons21/1322529746/gui/auto_sync.py", line 83, in _on_ankiweb_sync
    sync_with_ankiweb(future_with_exception(e))

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

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

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

  File "/Users/jesulasanon/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 "/Users/jesulasanon/Library/Application Support/Anki2/addons21/1322529746/gui/operations/ankihub_sync.py", line 65, in sync_with_ankihub
    subscribed_decks = client.get_deck_subscriptions()

  File "/Users/jesulasanon/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 580, 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 try updating your Anki as it is outdated, you can update it here: https://apps.ankiweb.net/

Then, make sure to update the AnkiHub addon: How to update the AnkiHub Add-on

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