Bug Reported

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

Error message (don't change this)
Anki 25.07.5 (7172b2d2) (ao)
Python 3.13.5 Qt 6.9.1 PyQt 6.9.1
Platform: macOS-15.6.1-arm64-arm-64bit-Mach-O

Traceback (most recent call last):

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

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

  File "/Users/bole/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/bole/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/aqt/operations/__init__.py", line 253, in wrapped_done
    self._failure(exception)
    ~~~~~~~~~~~~~^^^^^^^^^^^

  File "/Users/bole/Library/Application Support/Anki2/addons21/1322529746/gui/reviewer.py", line 438, in on_failure
    raise exception

  File "/Users/bole/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/bole/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/bole/Library/Application Support/Anki2/addons21/1322529746/gui/operations/user_details.py", line 70, in <lambda>
    op=lambda _: AnkiHubClient().get_user_details(),
                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^

  File "/Users/bole/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 1242, in get_user_details
    raise AnkiHubHTTPError(response)

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

Sentry link (for developers)

Hello,

This should be a temporary error, but please update the AnkiHub add-on to make sure everything is alright:

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

Are you still facing this issue?

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