Error even after updating ankihub add on

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

Error message (don't change this)
Anki 25.09.2 (3890e12c) (ao)
Python 3.13.5 Qt 6.9.1 PyQt 6.9.1
Platform: macOS-26.0.1-arm64-arm-64bit-Mach-O

Traceback (most recent call last):

  File "/Users/kylezelenski/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/aqt/taskman.py", line 152, in raise_exception
    raise exception

  File "/Users/kylezelenski/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/aqt/taskman.py", line 148, in _on_closures_pending
    closure()
    ~~~~~~~^^

  File "/Users/kylezelenski/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/aqt/taskman.py", line 88, in <lambda>
    lambda future: self.run_on_main(lambda: on_done(future))
                                            ~~~~~~~^^^^^^^^

  File "/Users/kylezelenski/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/aqt/taskman.py", line 111, in wrapped_done
    on_done(fut)
    ~~~~~~~^^^^^

  File "/Users/kylezelenski/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/aqt/operations/__init__.py", line 253, in wrapped_done
    self._failure(exception)
    ~~~~~~~~~~~~~^^^^^^^^^^^

  File "/Users/kylezelenski/Library/Application Support/Anki2/addons21/1322529746/gui/operations/ankihub_sync.py", line 99, in <lambda>
    ).failure(lambda e: on_done(future_with_exception(e))).with_progress().run_in_background()
                        ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/Users/kylezelenski/Library/Application Support/Anki2/addons21/1322529746/gui/auto_sync.py", line 100, in sync_with_ankiweb
    future.result()
    ~~~~~~~~~~~~~^^

  File "/Users/kylezelenski/Library/Application Support/AnkiProgramFiles/python/cpython-3.13.5-macos-aarch64-none/lib/python3.13/concurrent/futures/_base.py", line 449, in result
    return self.__get_result()
           ~~~~~~~~~~~~~~~~~^^

  File "/Users/kylezelenski/Library/Application Support/AnkiProgramFiles/python/cpython-3.13.5-macos-aarch64-none/lib/python3.13/concurrent/futures/_base.py", line 401, in __get_result
    raise self._exception

  File "/Users/kylezelenski/Library/Application Support/AnkiProgramFiles/python/cpython-3.13.5-macos-aarch64-none/lib/python3.13/concurrent/futures/thread.py", line 59, in run
    result = self.fn(*self.args, **self.kwargs)

  File "/Users/kylezelenski/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/aqt/operations/__init__.py", line 243, in wrapped_op
    return self._op(mw.col)
           ~~~~~~~~^^^^^^^^

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

  File "/Users/kylezelenski/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/kylezelenski/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 589, in get_deck_subscriptions
    raise AnkiHubHTTPError(response)

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

Sentry link (for developers)

Hi,

This is likely just a temporary server issue. Are you still facing this issue?

It has been resolved. Thank you

1 Like

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