Ankihub add-on not working

Before the error happened, I was…
[Replace this text.]

Error message (don't change this)
Anki 24.04 (429bc9e1)  (ao)
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
Platform: macOS-14.6.1-x86_64-i386-64bit

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 "aqt.operations", line 252, in wrapped_done

  File "/Users/morinola/Library/Application Support/Anki2/addons21/1322529746/gui/operations/ankihub_sync.py", line 98, in <lambda>
    ).failure(lambda e: on_done(future_with_exception(e))).with_progress().run_in_background()

  File "/Users/morinola/Library/Application Support/Anki2/addons21/1322529746/gui/auto_sync.py", line 100, 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 "aqt.operations", line 242, in wrapped_op

  File "/Users/morinola/Library/Application Support/Anki2/addons21/1322529746/gui/operations/ankihub_sync.py", line 95, in <lambda>
    op=lambda _: get_subscriptions_and_clean_up(),

  File "/Users/morinola/Library/Application Support/Anki2/addons21/1322529746/gui/operations/ankihub_sync.py", line 88, in get_subscriptions_and_clean_up
    subscribed_decks = client.get_deck_subscriptions()

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

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

Sentry link (for developers)

Hello,

Your Anki is not up to date.

Here are the instructions to update Anki and the AnkiHub add-on:

To update Anki:
Download the latest version here: https://apps.ankiweb.net/.
After downloading, simply run the downloaded file to update your application.

To update the AnkiHub add-on:

  1. On your Anki main screen, go to Tools > Add-ons > Check for Updates.
  2. After the update is complete, please restart Anki.

Thank you! I was able to update it.

1 Like

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