# Error with sync

**URL:** <https://community.ankihub.net/t/error-with-sync/344548>\
**Category:** 🐛 Bug\
**Tags:** add-on-error\
**Created:** [November 20, 2024, 5:21pm UTC](https://community.ankihub.net/t/error-with-sync/344548 "2024-11-20T17:21:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ssaye005](https://community.ankihub.net/letter_avatar_proxy/v4/letter/s/22d042/32.png) [@ssaye005](https://community.ankihub.net/u/ssaye005)\
**Post date:** [November 20, 2024, 5:21pm UTC](https://community.ankihub.net/t/error-with-sync/344548/1 "2024-11-20T17:21:27Z")

</div>

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

> **Error message (don't change this)**
>
> ```auto
> Anki 24.06.3 (d678e393) (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 142, in _on_closures_pending
> 
> File "C:\Users\ssaye\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 "C:\Users\ssaye\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\utils.py", line 39, in wrapper
> return func(*args, **kwargs)
> 
> File "C:\Users\ssaye\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\ankihub_sync.py", line 76, in _sync_with_ankihub_inner
> subscribed_decks = client.get_deck_subscriptions()
> 
> File "C:\Users\ssaye\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 615, in get_deck_subscriptions
> raise AnkiHubHTTPError(response)
> 
> 1322529746.ankihub_client.ankihub_client.AnkiHubHTTPError: AnkiHub request error: 502 Bad Gateway
> 
> ```

[Sentry link (for developers)](https://ankihub.sentry.io/issues/?project=6546414&query=id:eb55556e56604e029ac97df7a8b12615)

---

<div class="post-metadata">

**Author:** ![Brian\_BH](https://community.ankihub.net/user_avatar/community.ankihub.net/brian_bh/32/25738_2.png) [@Brian\_BH](https://community.ankihub.net/u/Brian_BH)\
**Post date:** [November 20, 2024, 5:21pm UTC](https://community.ankihub.net/t/error-with-sync/344548/2 "2024-11-20T17:21:53Z")

</div>

Hello,

This is in relation to the scheduled downtime. It was announced in this email: [🛠 AnkiHub Downtime for Maintenance](https://community.ankihub.net/t/ankihub-downtime-for-maintenance/344485)

It should be done soon. 🙂
