Anki hub add-on when trying to sync and update to the new Anking deck

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

Error message (don't change this)
Anki 2.1.65 (aa9a734f) Python 3.9.15 Qt 6.5.0 PyQt 6.5.0
Platform: macOS-12.4-arm64-arm-64bit
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2023-08-11 10:15:22

Traceback (most recent call last):

  File "/Users/paolafernandez/Library/Application Support/Anki2/addons21/1322529746/gui/operations/deck_installation.py", line 102, in _download_and_install_decks_inner
    result.append(_download_and_install_single_deck(ah_did))

  File "/Users/paolafernandez/Library/Application Support/Anki2/addons21/1322529746/gui/operations/deck_installation.py", line 120, in _download_and_install_single_deck
    deck = AnkiHubClient().get_deck_by_id(ankihub_did)

  File "/Users/paolafernandez/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 668, in get_deck_by_id
    raise AnkiHubHTTPError(response)

1322529746.ankihub_client.ankihub_client.AnkiHubHTTPError: AnkiHub request error: 403 Forbidden


The above exception was the direct cause of the following exception:


Traceback (most recent call last):

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

  File "aqt.taskman", line 71, in <lambda>

  File "aqt.taskman", line 90, in wrapped_done

  File "/Users/paolafernandez/Library/Application Support/Anki2/addons21/1322529746/gui/operations/deck_installation.py", line 39, in on_install_done
    on_done(future_with_exception(e))

  File "/Users/paolafernandez/Library/Application Support/Anki2/addons21/1322529746/gui/operations/ankihub_sync.py", line 22, in on_new_deck_subscriptions_done
    on_done(future_with_exception(future.exception()))

  File "/Users/paolafernandez/Library/Application Support/Anki2/addons21/1322529746/gui/auto_sync.py", line 74, 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/paolafernandez/Library/Application Support/Anki2/addons21/1322529746/gui/operations/deck_installation.py", line 37, in on_install_done
    import_results: List[AnkiHubImportResult] = future.result()

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

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

  File "concurrent.futures.thread", line 58, in run

  File "/Users/paolafernandez/Library/Application Support/Anki2/addons21/1322529746/gui/operations/deck_installation.py", line 85, in <lambda>
    task=lambda: _download_and_install_decks_inner(ankihub_dids),

  File "/Users/paolafernandez/Library/Application Support/Anki2/addons21/1322529746/gui/operations/deck_installation.py", line 114, in _download_and_install_decks_inner
    raise exceptions[0]

1322529746.gui.exceptions.DeckDownloadAndInstallError: Error while downloading and installing deck e77aedfe-a636-40e2-8169-2fce2673187e: AnkiHub request error: 403 Forbidden

Sentry link (for developers)

Can you try deleting the ankihub addon and reinstalling to see if this issue persists? Also try restaring your computer/laptop

@pbfernandez18 it appears that you don’t have an active membership.