I cannot sync my Anki with AnkiHub

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

Error message (don't change this)
Anki 2.1.65 (aa9a734f) Python 3.9.15 Qt 6.4.3 PyQt 6.4.0
Platform: Windows-10-10.0.22631
Flags: frz=True ao=True sv=3
Add-ons, last update check: 2024-09-23 21:43:51

Traceback (most recent call last):

  File "aqt.taskman", line 122, in _on_closures_pending

  File "C:\Users\marwa\AppData\Roaming\Anki2\addons21\1322529746\gui\menu.py", line 329, in on_done
    future.result()

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

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

  File "C:\Users\marwa\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\ankihub_sync.py", line 66, in sync_with_ankihub
    subscribed_decks = client.get_deck_subscriptions()

  File "C:\Users\marwa\AppData\Roaming\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 update to the latest Anki version to fix this issue: https://apps.ankiweb.net/

thank you for your reply! i did update it to Version ⁨24.06.3 using the same link provided but the error is persisting. any other solutions would be immensely appreciated

Can you copy paste the error here?

sure

Anki 24.06.3 (d678e393) (ao)
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
Platform: Windows-10-10.0.22631

Traceback (most recent call last):

File “aqt.taskman”, line 142, in _on_closures_pending

File “C:\Users\marwa\AppData\Roaming\Anki2\addons21\1322529746\gui\menu.py”, line 329, in on_done
future.result()

File “concurrent.futures._base”, line 439, in result

File “concurrent.futures._base”, line 391, in __get_result

File “C:\Users\marwa\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\ankihub_sync.py”, line 66, in sync_with_ankihub
subscribed_decks = client.get_deck_subscriptions()

File “C:\Users\marwa\AppData\Roaming\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

Please use AnkiHub > Help > Upload logs and data and let us know the filename shown.

@abdo.nh

sure, it’s taking some time. i’ll share the result once it’s done

hi, it’s been ongoing for 4 hours. i’m not sure what to do now as it’s still not done…
image

A developer will have a look at this for you soon @abdo.nh

thank you so much!!

You have an outdated version of the add-on. Can you try updating from Tools > Add-ons > Check for Updates?

1 Like