# Error

**URL:** <https://community.ankihub.net/t/error/608933>\
**Category:** 🐛 Bug\
**Tags:** add-on-error\
**Created:** [August 31, 2026, 1:27am UTC](https://community.ankihub.net/t/error/608933 "2026-08-31T01:27:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![isabelercohen](https://community.ankihub.net/letter_avatar_proxy/v4/letter/i/d26b3c/32.png) [@isabelercohen](https://community.ankihub.net/u/isabelercohen)\
**Post date:** [August 31, 2026, 1:27am UTC](https://community.ankihub.net/t/error/608933/1 "2026-08-31T01:27:13Z")

</div>

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

> **Error message (don't change this)**
>
> ```auto
> Anki 25.09.4 (d52ca669) (ao)
> Python 3.13.5 Qt 6.9.1 PyQt 6.9.1
> Platform: macOS-26.6.2-arm64-arm-64bit-Mach-O
> 
> Traceback (most recent call last):
> 
> File "/Users/isseycohen/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/aqt/taskman.py", line 152, in raise_exception
> raise exception
> 
> File "/Users/isseycohen/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/aqt/taskman.py", line 148, in _on_closures_pending
> closure()
> ~~~~~~~ ^^
> 
> File "/Users/isseycohen/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/isseycohen/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/aqt/taskman.py", line 111, in wrapped_done
> on_done(fut)
> ~~~~~~~ ^^^^^
> 
> File "/Users/isseycohen/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/aqt/operations/ __init__.py", line 253, in wrapped_done
> self._failure(exception)
> ~~~~~~~~~~~~~ ^^^^^^^^^^^
> 
> File "/Users/isseycohen/Library/Application Support/Anki2/addons21/1322529746/gui/operations/ankihub_sync.py", line 214, in on_failure
> on_done(future_with_exception(exception))
> ~~~~~~~ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 
> File "/Users/isseycohen/Library/Application Support/Anki2/addons21/1322529746/gui/auto_sync.py", line 100, in sync_with_ankiweb
> future.result()
> ~~~~~~~~~~~~~ ^^
> 
> File "/Users/isseycohen/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/isseycohen/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/isseycohen/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/isseycohen/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/isseycohen/Library/Application Support/Anki2/addons21/1322529746/gui/operations/ankihub_sync.py", line 203, in <lambda>
> op=lambda _: ah_deck_updater.update_decks_and_media(
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
> ah_dids,
> ^^^^^^^^
> raise_if_full_sync_required=raise_if_full_sync_required,
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> start_media_sync=start_media_sync,
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> ),
> ^
> 
> File "/Users/isseycohen/Library/Application Support/Anki2/addons21/1322529746/gui/deck_updater.py", line 67, in update_decks_and_media
> self._update_decks(ah_dids)
> ~~~~~~~~~~~~~~~~~~ ^^^^^^^^^
> 
> File "/Users/isseycohen/Library/Application Support/Anki2/addons21/1322529746/gui/deck_updater.py", line 97, in _update_decks
> raise e
> 
> File "/Users/isseycohen/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/isseycohen/Library/Application Support/Anki2/addons21/1322529746/gui/deck_updater.py", line 108, in _update_single_deck
> result = self._fetch_and_apply_deck_extension_updates(ankihub_did)
> 
> File "/Users/isseycohen/Library/Application Support/Anki2/addons21/1322529746/gui/deck_updater.py", line 190, in _fetch_and_apply_deck_extension_updates
> deck_extensions = self._client.get_deck_extensions_by_deck_id(ankihub_did)
> 
> File "/Users/isseycohen/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 1214, in get_deck_extensions_by_deck_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)](https://ankihub.sentry.io/issues/?project=6546414&query=id:48837a87661a410b89fabdfbacfa5d94)

---

<div class="post-metadata">

**Author:** ![MarcosZan](https://community.ankihub.net/user_avatar/community.ankihub.net/marcoszan/32/21678_2.png) [@MarcosZan](https://community.ankihub.net/u/MarcosZan)\
**Post date:** [August 31, 2026, 9:23pm UTC](https://community.ankihub.net/t/error/608933/2 "2026-08-31T21:23:37Z")

</div>

Hello,

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

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

---

<div class="post-metadata">

**Author:** ![system](https://community.ankihub.net/user_avatar/community.ankihub.net/system/32/58_2.png) [@system](https://community.ankihub.net/u/system)\
**Post date:** [September 7, 2026, 9:23pm UTC](https://community.ankihub.net/t/error/608933/3 "2026-09-07T21:23:56Z")

</div>

Closed on September 7, 2026, 9:23pm UTC

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