Tested on latest Anki version: Version 24.04.1 (ccd9ca1a) Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
File used: yaku.json
Tested with FSRS turned on and off (neither worked).
File "<string>", line 1, in <module>
File "aqt", line 519, in run
File "aqt", line 733, in _run
File "C:\Users\ruuna\AppData\Roaming\Anki2\addons21\541896873\__init__.py", line 30, in import_jpdb
stats = imp.run()
File "C:\Users\ruuna\AppData\Roaming\Anki2\addons21\541896873\importer.py", line 136, in run
'notes_created': self.create_notes(vocabulary),
File "C:\Users\ruuna\AppData\Roaming\Anki2\addons21\541896873\importer.py", line 126, in create_notes
self.backfill(note, vocab)
File "C:\Users\ruuna\AppData\Roaming\Anki2\addons21\541896873\importer.py", line 102, in backfill
self.backfill_reviews(jp_en_card, vocab.jp_en_reviews)
File "C:\Users\ruuna\AppData\Roaming\Anki2\addons21\541896873\importer.py", line 69, in backfill_reviews
current_state, new_state = self.card_state_current_next(card, rating)
File "C:\Users\ruuna\AppData\Roaming\Anki2\addons21\541896873\importer.py", line 49, in card_state_current_next
states = self.anki.col.backend.get_scheduling_states(card.id)
File "anki.collection", line 170, in backend
Accessing the backend directly will break in the future. Please use the public methods on Collection instead.
Tested on latest Anki version: Version 24.04.1 (ccd9ca1a) Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
File used: yaku.json
Tested with FSRS turned on and off (neither worked).
Review date in Anki does not match the review date from JPDB:

Notably, this error continues to show up in the console:
I have a feeling it relates to this error: https://forums.ankiweb.net/t/answering-a-card-programmatically/24075/3
However, I have not been able to successfully implement the filtered deck solution from that post.