406 Error Master Thread

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-14.6.1-x86_64-i386-64bit

Traceback (most recent call last):

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

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

  File "/Users/shantanuamin/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/shantanuamin/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/

Started popping up when I try to sync with AnkiHub

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.3.1-arm64-arm-64bit

Traceback (most recent call last):

  File "/Users/afiorentino/Library/Application Support/Anki2/addons21/1322529746/gui/menu.py", line 245, in _confirm_sign_out
    _sign_out_action()

  File "/Users/afiorentino/Library/Application Support/Anki2/addons21/1322529746/gui/menu.py", line 251, in _sign_out_action
    AnkiHubClient().signout()

  File "/Users/afiorentino/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 295, in signout
    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 5.15.2 PyQt 5.15.5
Platform: Windows-10-10.0.19045

Traceback (most recent call last):

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

  File "C:\Users\gordy\AppData\Roaming\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 "C:\Users\gordy\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\utils.py", line 39, in wrapper
    return func(*args, **kwargs)

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

  File "C:\Users\gordy\AppData\Roaming\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-14.5-arm64-arm-64bit

Traceback (most recent call last):

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

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

  File "/Users/philong/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/philong/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

Restarted my computer because I have not been able to log in to ankihub for a while.

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 "/Users/josiahharsh/Library/Application Support/Anki2/addons21/1322529746/gui/menu.py", line 197, in login
    raise e

  File "/Users/josiahharsh/Library/Application Support/Anki2/addons21/1322529746/gui/menu.py", line 188, in login
    token = ankihub_client.login(credentials=credentials)

  File "/Users/josiahharsh/Library/Application Support/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/

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-15.1-arm64-arm-64bit

Traceback (most recent call last):

  File "/Users/gpkashyap/Library/Application Support/Anki2/addons21/1322529746/gui/menu.py", line 197, in login
    raise e

  File "/Users/gpkashyap/Library/Application Support/Anki2/addons21/1322529746/gui/menu.py", line 188, in login
    token = ankihub_client.login(credentials=credentials)

  File "/Users/gpkashyap/Library/Application Support/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/

Before the error happened, I was
 trying to sync, not sure why but it wouldn’t complete.

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-15.0.1-arm64-arm-64bit

Traceback (most recent call last):

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

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

  File "/Users/shahrozkhan/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/shahrozkhan/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

[just started anki app on mac pro.]

Anki 23.12.1 (1a1d4d54) (ao)
Python 3.9.15 Qt 6.5.3 PyQt 6.5.3
Platform: macOS-15.0.1-x86_64-i386-64bit

Traceback (most recent call last):

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

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

File “/Users/jacobsuh/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/jacobsuh/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

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-x86_64-i386-64bit

Traceback (most recent call last):

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

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

  File "/Users/jacobsuh/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/jacobsuh/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/

(topic deleted by author)

**Before the error happened, I was syncing

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.6.1-arm64-arm-64bit

Traceback (most recent call last):

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

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

  File "/Users/allabengizi/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/allabengizi/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 sync my anki and I get an error that says:

Anki 23.12.1 (1a1d4d54) (ao)
Python 3.9.15 Qt 6.5.3 PyQt 6.5.3
Platform: macOS-15.1-x86_64-i386-64bit

Traceback (most recent call last):

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

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

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

File “/Users/Tim/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

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-x86_64-i386-64bit

Traceback (most recent call last):

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

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

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

  File "/Users/Tim/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)