Error after Syncronizing (after changing card type html)

Before the error happened, I was…

Changing the html part of the Backside of card type. And after i finished my changes i clicked on Syncronize to make the change take effect on every card of this card type.

Error message (don't change this)
Anki 24.11 (87ccd24e)  (ao)
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
Platform: Windows-10-10.0.19045

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 "C:\Users\olav_\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\ankihub_sync.py", line 96, in <lambda>
    lambda e: on_done(future_with_exception(e))

  File "C:\Users\olav_\AppData\Roaming\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 "concurrent.futures.thread", line 58, in run

  File "aqt.operations", line 243, in wrapped_op

  File "C:\Users\olav_\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\ankihub_sync.py", line 92, in <lambda>
    op=lambda _: get_subscriptions_and_clean_up(),

  File "C:\Users\olav_\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\ankihub_sync.py", line 83, in get_subscriptions_and_clean_up
    subscribed_decks = client.get_deck_subscriptions()

  File "C:\Users\olav_\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 626, in get_deck_subscriptions
    raise AnkiHubHTTPError(response)

1322529746.ankihub_client.ankihub_client.AnkiHubHTTPError: AnkiHub request error: 502 Bad Gateway

Sentry link (for developers)

Hello,

Try restarting your Anki and see if this still occurs, if it does, try updating your Anki to the latest version: https://apps.ankiweb.net/

Hello Ahmed7,

this probably a very good idea, my version is still 24.11. Thank you for the answer, i will see if the error keeps occuring and write again if necessary.

1 Like