Problem with connecting ankihub to anki

Before the error happened, I did nothing but open the app.
[Replace this text.]

Error message (don't change this)
Anki 25.02 (038d85b1)  (ao)
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
Platform: macOS-13.2-arm64-arm-64bit

Traceback (most recent call last):

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

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

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

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

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

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

  File "decorator", line 232, in fun

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

  File "anki.hooks", line 89, 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)

Please go to Tools > Add-ons > Check for Updates and update the AnkiHub add-on when prompted.

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