Error

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

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

Traceback (most recent call last):

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

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

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

  File "aqt.operations", line 252, in wrapped_done

  File "/Users/roniciabarnes/Library/Application Support/Anki2/addons21/1322529746/gui/operations/ankihub_sync.py", line 210, in on_failure
    on_done(future_with_exception(exception))

  File "/Users/roniciabarnes/Library/Application Support/Anki2/addons21/1322529746/gui/menu.py", line 440, in on_done
    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 "aqt.operations", line 242, in wrapped_op

  File "/Users/roniciabarnes/Library/Application Support/Anki2/addons21/1322529746/gui/operations/ankihub_sync.py", line 199, in <lambda>
    op=lambda _: ah_deck_updater.update_decks_and_media(

  File "/Users/roniciabarnes/Library/Application Support/Anki2/addons21/1322529746/gui/deck_updater.py", line 67, in update_decks_and_media
    self._update_decks(ah_dids)

  File "/Users/roniciabarnes/Library/Application Support/Anki2/addons21/1322529746/gui/deck_updater.py", line 97, in _update_decks
    raise e

  File "/Users/roniciabarnes/Library/Application Support/Anki2/addons21/1322529746/gui/deck_updater.py", line 90, in _update_decks
    should_continue = self._update_single_deck(ah_did)

  File "/Users/roniciabarnes/Library/Application Support/Anki2/addons21/1322529746/gui/deck_updater.py", line 102, in _update_single_deck
    self._update_deck_config(ankihub_did)

  File "/Users/roniciabarnes/Library/Application Support/Anki2/addons21/1322529746/gui/deck_updater.py", line 118, in _update_deck_config
    deck = self._client.get_deck_by_id(ankihub_did)

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

1322529746.ankihub_client.ankihub_client.AnkiHubHTTPError: AnkiHub request error: 502 Bad Gateway
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
</body>
</html>

Sentry link (for developers)

Hello,

This is just a temporary server issue. Everything should be back to normal soon!

Also, your Anki is very outdated. I recommend downloading the latest version here: https://apps.ankiweb.net/

Please restart Anki and let us know if you continue to experience this issue! :blush:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.