Anki not syncing

Before the error happened, I was…
[syncing ankihub.]

Error message (don't change this)
Anki 24.11 (87ccd24e)  (ao)
Python 3.9.18 Qt 5.14.2 PyQt 5.14.1
Platform: macOS-14.7.4-x86_64-i386-64bit

Traceback (most recent call last):

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

  File "/Users/elizabethturchin/Library/Application Support/Anki2/addons21/1322529746/gui/operations/ankihub_sync.py", line 214, in _on_sync_done
    sync_with_ankiweb(on_done=partial(on_done, future=future_with_result(None)))

  File "/Users/elizabethturchin/Library/Application Support/Anki2/addons21/1322529746/gui/utils.py", line 757, in sync_with_ankiweb
    on_done()

  File "/Users/elizabethturchin/Library/Application Support/Anki2/addons21/1322529746/gui/auto_sync.py", line 109, in sync_with_ankiweb
    original_sync_collection_and_media(

  File "aqt.main", line 1093, in _sync_collection_and_media

  File "aqt.sync", line 97, in sync_collection

Exception: expected auth


During handling of the above exception, another exception occurred:


Traceback (most recent call last):

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

  File "/Users/elizabethturchin/Library/Application Support/Anki2/addons21/1322529746/gui/auto_sync.py", line 104, in sync_with_ankiweb
    original_sync_collection_and_media(

  File "aqt.main", line 1093, in _sync_collection_and_media

  File "aqt.sync", line 97, in sync_collection

Exception: expected auth

Sentry link (for developers)

Hello,

Try updating your Anki to the latest version here: https://apps.ankiweb.net/

Then make sure your AnkiHub addon is up to date: How to update the AnkiHub Add-on