406 Error Master Thread

Hello,

In order to fix this, you will want to update your Ankihub add-on:

Tutorial: How to update the AnkiHub Add-on

Additionally, if not already using the most current version of Anki you may need to update: https://apps.ankiweb.net/

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

Error message (don't change this)
Anki 23.12.1 (1a1d4d54)  (ao)
Python 3.9.15 Qt 6.5.3 PyQt 6.5.3
Platform: macOS-14.5-arm64-arm-64bit

Traceback (most recent call last):

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

  File "/Users/rishiada/Library/Application Support/Anki2/addons21/1322529746/gui/auto_sync.py", line 99, 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/rishiada/Library/Application Support/Anki2/addons21/1322529746/gui/operations/utils.py", line 39, in wrapper
    return func(*args, **kwargs)

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

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

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

Sentry link (for developers)

Hello,

In order to fix this, you will want to update your Ankihub add-on:

Tutorial: How to update the AnkiHub Add-on

Additionally, if not already using the most current version of Anki you may need to update: https://apps.ankiweb.net/

Before the error happened, I was…
Every time my anki opens i shows an error message and shows add ons that need to be updated.

Error message (don't change this)
Anki 24.06.3 (d678e393)  (ao)
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
Platform: macOS-14.2.1-arm64-arm-64bit

Traceback (most recent call last):

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

  File "/Users/user/Library/Application Support/Anki2/addons21/1322529746/gui/auto_sync.py", line 99, 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/user/Library/Application Support/Anki2/addons21/1322529746/gui/operations/utils.py", line 39, in wrapper
    return func(*args, **kwargs)

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

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

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

Sentry link (for developers)

Hello,

In order to fix this, you will want to update your Ankihub add-on:

Tutorial: How to update the AnkiHub Add-on

Additionally, if not already using the most current version of Anki you may need to update: https://apps.ankiweb.net/

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

Error message (don't change this)
Anki 24.06.3 (d678e393)  (ao)
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
Platform: macOS-11.5.2-x86_64-i386-64bit

Traceback (most recent call last):

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

  File "/Users/baofengyu/Library/Application Support/Anki2/addons21/1322529746/gui/menu.py", line 335, in on_done
    future.result()

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

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

  File "/Users/baofengyu/Library/Application Support/Anki2/addons21/1322529746/gui/operations/utils.py", line 39, in wrapper
    return func(*args, **kwargs)

  File "/Users/baofengyu/Library/Application Support/Anki2/addons21/1322529746/gui/operations/ankihub_sync.py", line 75, in _sync_with_ankihub_inner
    client = AnkiHubClient()

  File "/Users/baofengyu/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 614, in get_deck_subscriptions
    if response.status_code != 200:

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

Sentry link (for developers)

Hello,

In order to fix this, you will want to update your Ankihub add-on:

Tutorial: How to update the AnkiHub Add-on

Additionally, if not already using the most current version of Anki you may need to update: https://apps.ankiweb.net/

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

Error message (don't change this)
Anki 24.06.2 (33a92379)  (ao)
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
Platform: macOS-14.6.1-arm64-arm-64bit

Traceback (most recent call last):

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

  File "/Users/gabecohlmia/Library/Application Support/Anki2/addons21/1322529746/gui/auto_sync.py", line 99, 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/gabecohlmia/Library/Application Support/Anki2/addons21/1322529746/gui/operations/utils.py", line 39, in wrapper
    return func(*args, **kwargs)

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

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

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

Sentry link (for developers)

Hello,

In order to fix this, you will want to update your Ankihub add-on:

Tutorial: How to update the AnkiHub Add-on

Additionally, if not already using the most current version of Anki you may need to update: https://apps.ankiweb.net/

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

Error message (don't change this)
Anki 23.12.1 (1a1d4d54)  (ao)
Python 3.9.15 Qt 6.5.3 PyQt 6.5.3
Platform: macOS-15.1-arm64-arm-64bit

Traceback (most recent call last):

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

  File "/Users/jaymewarner/Library/Application Support/Anki2/addons21/1322529746/gui/auto_sync.py", line 99, 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/jaymewarner/Library/Application Support/Anki2/addons21/1322529746/gui/operations/utils.py", line 39, in wrapper
    return func(*args, **kwargs)

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

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

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

Sentry link (for developers)

Hello,

In order to fix this, you will want to update your Ankihub add-on:

Tutorial: How to update the AnkiHub Add-on

Additionally, if not already using the most current version of Anki you may need to update: https://apps.ankiweb.net/

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

Error message (don't change this)
Anki 24.06.3 (d678e393)  (ao)
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
Platform: macOS-12.0.1-arm64-arm-64bit

Traceback (most recent call last):

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

  File "/Users/ehsan/Library/Application Support/Anki2/addons21/1322529746/gui/auto_sync.py", line 99, 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/ehsan/Library/Application Support/Anki2/addons21/1322529746/gui/operations/utils.py", line 39, in wrapper
    return func(*args, **kwargs)

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

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

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

Sentry link (for developers)

Hello,

In order to fix this, you will want to update your Ankihub add-on:

Tutorial: How to update the AnkiHub Add-on

Additionally, if not already using the most current version of Anki you may need to update: https://apps.ankiweb.net/

Before the error happened, I was… trying to login to ankihub from the anki desktop app but keep getting this error message.

Error message (don't change this)
Anki 2.1.66 (70506aeb) Python 3.9.15 Qt 6.5.2 PyQt 6.5.2
Platform: Windows-10-10.0.19045
Flags: frz=True ao=True sv=3
Add-ons, last update check: 2024-11-12 12:51:08

Traceback (most recent call last):

  File "C:\Users\AND\AppData\Roaming\Anki2\addons21\1322529746\gui\menu.py", line 197, in login
    raise e

  File "C:\Users\AND\AppData\Roaming\Anki2\addons21\1322529746\gui\menu.py", line 188, in login
    token = ankihub_client.login(credentials=credentials)

  File "C:\Users\AND\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 283, in login
    raise AnkiHubHTTPError(response)

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

Sentry link (for developers)

Hello,

In order to fix this, you will want to update your Ankihub add-on:

Tutorial: How to update the AnkiHub Add-on

Additionally, if not already using the most current version of Anki you may need to update: https://apps.ankiweb.net/

**New Bug

Error message (don't change this)
Anki 23.12.1 (1a1d4d54)  (ao)
Python 3.9.15 Qt 6.5.3 PyQt 6.5.3
Platform: macOS-15.0.1-arm64-arm-64bit

Traceback (most recent call last):

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

  File "/Users/Jasmine/Library/Application Support/Anki2/addons21/1322529746/gui/auto_sync.py", line 99, 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/Jasmine/Library/Application Support/Anki2/addons21/1322529746/gui/operations/utils.py", line 39, in wrapper
    return func(*args, **kwargs)

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

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

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

Sentry link (for developers)

Hello,

In order to fix this, you will want to update your Ankihub add-on:

Tutorial: How to update the AnkiHub Add-on

Additionally, if not already using the most current version of Anki you may need to update: https://apps.ankiweb.net/

**Before the error happened, I just opened anki on my desktop.

Error message (don't change this)
Anki 24.04 (429bc9e1)  (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\Mariam Khvedeliani\AppData\Roaming\Anki2\addons21\1322529746\gui\auto_sync.py", line 99, in sync_with_ankiweb
    future.result()

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

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

  File "C:\Users\Mariam Khvedeliani\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\utils.py", line 39, in wrapper
    return func(*args, **kwargs)

  File "C:\Users\Mariam Khvedeliani\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\ankihub_sync.py", line 75, in _sync_with_ankihub_inner
    client = AnkiHubClient()

  File "C:\Users\Mariam Khvedeliani\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 614, in get_deck_subscriptions
    if response.status_code != 200:

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

Sentry link (for developers)

Hello,

In order to fix this, you will want to update your Ankihub add-on:

Tutorial: How to update the AnkiHub Add-on

Additionally, if not already using the most current version of Anki you may need to update: https://apps.ankiweb.net/

I have been getting this error over and over everytime I sync my Anki

Error message (don't change this)
Anki 24.06.3 (d678e393)  (ao)
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
Platform: macOS-14.5-arm64-arm-64bit

Traceback (most recent call last):

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

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

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

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

Sentry link (for developers)