Error message that occured out of nowhere

Before the error happened, I was just editing some of the cards
…

[Replace this text.]

Error message (don't change this)
Anki 2.1.66 (70506aeb) Python 3.9.15 Qt 6.5.2 PyQt 6.5.2
Platform: Windows-10-10.0.19045
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2023-10-31 08:29:30

Traceback (most recent call last):

  File "aqt.taskman", line 122, in _on_closures_pending

  File "aqt.taskman", line 71, in <lambda>

  File "aqt.taskman", line 90, in wrapped_done

  File "C:\Users\gattu\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\ankihub_sync.py", line 46, in on_sync_done
    send_review_data()

  File "C:\Users\gattu\AppData\Roaming\Anki2\addons21\1322529746\main\review_data.py", line 21, in send_review_data
    card_review_data = [

  File "C:\Users\gattu\AppData\Roaming\Anki2\addons21\1322529746\main\review_data.py", line 24, in <listcomp>
    total_card_reviews_last_30_days=_get_review_count_for_ah_deck_since(

  File "C:\Users\gattu\AppData\Roaming\Anki2\addons21\1322529746\main\review_data.py", line 42, in _get_review_count_for_ah_deck_since
    with attached_ankihub_db():

  File "contextlib", line 119, in __enter__

  File "C:\Users\gattu\AppData\Roaming\Anki2\addons21\1322529746\db\db.py", line 84, in attached_ankihub_db
    attach_ankihub_db_to_anki_db_connection()

  File "C:\Users\gattu\AppData\Roaming\Anki2\addons21\1322529746\db\db.py", line 39, in attach_ankihub_db_to_anki_db_connection
    aqt.mw.col.db.execute(

  File "anki.dbproxy", line 67, in all

  File "anki.dbproxy", line 61, in _query

  File "anki._backend", line 92, in db_query

  File "anki._backend", line 116, in _db_command

anki.errors.DBError: Anki already open, or media currently syncing.

Sentry link (for developers)