Can't log in to ankihub

Before the error happened, I was opening 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-13.5.2-x86_64-i386-64bit

Traceback (most recent call last):

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

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

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

Before the error happened, I log out of ankihub, did sync and tried to log in again
[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-13.5.2-x86_64-i386-64bit

Traceback (most recent call last):

  File "/Users/mac/Library/Application Support/Anki2/addons21/1322529746/gui/menu.py", line 195, in login
    return

  File "/Users/mac/Library/Application Support/Anki2/addons21/1322529746/gui/menu.py", line 186, in login
    else:

  File "/Users/mac/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 267, in login

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

Sentry link (for developers)

Hello,

Please try updating your AnkiHub add-on by going to Tools at the top left → Addons → AnkiHub → Check for Updates

Let us know if that fixes your issue