Can't bulk suggest IO cards to my deck but suggesting them one by one works

edit: when the error happens i get the native anki error dialogue not the one included in the addon. that’s why this report doesn’t conform to your bug report template.

as the title says i am trying to bulk suggest ~750 IO cards to my deck but i get this error:

Anki 23.12.1 (1a1d4d54)  (ao)
Python 3.9.15 Qt 5.15.2 PyQt 5.15.5
Platform: Windows-10-10.0.22621

  File "threading", line 937, in _bootstrap
  File "threading", line 980, in _bootstrap_inner
  File "threading", line 917, in run
  File "concurrent.futures.thread", line 83, in _worker
  File "concurrent.futures.thread", line 58, in run
  File "C:\Anki2\addons21\1322529746\gui\suggestion_dialog.py", line 206, in <lambda>
    task=lambda: suggest_notes_in_bulk(
  File "C:\Anki2\addons21\1322529746\main\suggestions.py", line 166, in suggest_notes_in_bulk
    _rename_and_upload_media_for_suggestions(
  File "C:\Anki2\addons21\1322529746\main\suggestions.py", line 463, in _rename_and_upload_media_for_suggestions
    media_upload_cb(media_names=set(media_name_map.values()), ankihub_did=ankihub_did)
  File "C:\Anki2\addons21\1322529746\gui\media_sync.py", line 78, in start_media_upload
    AddonQueryOp(
  File "aqt.operations", line 262, in run_in_background
  File "aqt.operations", line 282, in _run
  File "aqt.taskman", line 72, in run_in_background

tried suggesting a single IO card and it works fine. shows up as a suggestion on the web app.
Unfortunately, it is not feasible to suggest 750 cards one by one.

the deck i am trying to upload to is Deck details (ankihub.net)

it already has an IO notetype associated with it

Details that may be useful:

Anki version 23.12.1 Qt5
Ankihub addon updated to latest version
Windows 11 22H2

Steps i did to troubleshoot:

  • Restart Anki
  • Check database
  • Check media
  • Sync ankihub

@ProductTeam We got several reports of this. Can we triage the issue?

Original report: