Random error message

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

Error message (don't change this)
Anki 23.12.1 (1a1d4d54)  (ao)
Python 3.9.15 Qt 6.5.3 PyQt 6.5.3
Platform: macOS-13.6.1-arm64-arm-64bit

Traceback (most recent call last):

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

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

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

  File "aqt.operations", line 127, in wrapped_done

  File "aqt.addcards", line 283, in on_success

  File "_aqt.hooks", line 40, in __call__

  File "/Users/anaadiawasthy/Library/Application Support/Anki2/addons21/1322529746/gui/editor.py", line 108, in on_did_add_note
    open_suggestion_dialog_for_single_suggestion(note, parent=editor.widget)

  File "/Users/anaadiawasthy/Library/Application Support/Anki2/addons21/1322529746/gui/suggestion_dialog.py", line 90, in open_suggestion_dialog_for_single_suggestion
    ah_did = _determine_ah_did_for_nids_to_be_suggested([note.id], parent)

  File "/Users/anaadiawasthy/Library/Application Support/Anki2/addons21/1322529746/gui/suggestion_dialog.py", line 236, in _determine_ah_did_for_nids_to_be_suggested
    dids_that_all_notes_could_belong_to = set.intersection(

TypeError: descriptor 'intersection' for 'set' objects doesn't apply to a 'NoneType' object

Sentry link (for developers)

This looks similar to this old issue: Ankihub request for new cards error