A weird bug that just happened to me

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

Error message (don't change this)
Anki 25.02.6 (6381f184)  (ao)
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
Platform: macOS-26.4-arm64-arm-64bit

Traceback (most recent call last):

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

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

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

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

  File "/Users/sergiozamora/Library/Application Support/Anki2/addons21/1322529746/gui/operations/ankihub_sync.py", line 106, in <lambda>
    .failure(lambda e: on_done(future_with_exception(e)))

  File "/Users/sergiozamora/Library/Application Support/Anki2/addons21/1322529746/gui/auto_sync.py", line 100, in sync_with_ankiweb
    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 243, in wrapped_op

  File "/Users/sergiozamora/Library/Application Support/Anki2/addons21/1322529746/gui/operations/ankihub_sync.py", line 102, in <lambda>
    op=lambda _: get_subscriptions_and_clean_up(),

  File "/Users/sergiozamora/Library/Application Support/Anki2/addons21/1322529746/gui/operations/ankihub_sync.py", line 89, in get_subscriptions_and_clean_up
    subscribed_decks = client.get_deck_subscriptions()

  File "/Users/sergiozamora/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 633, in get_deck_subscriptions
    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>
<hr><center>nginx/1.25.2</center>
</body>
</html>

Sentry link (for developers)

Hello,

Please ensure you are on the latest version of Anki. You can download it here: https://apps.ankiweb.net/. After downloading, simply run the downloaded file to update your application.

Additionally, please update the AnkiHub add-on:

  • On your Anki main screen, go to Tools > Add-ons > Check for Updates
  • After the update is complete, please restart Anki.

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