Anki Encountered a problem window, not allowing me to continue doing anki

Hello,

Out of nowhere, this pop-up showed up on my Anki application on mac. I tried all the troubleshooting tips, and none of them worked. The only way that I was able to go back to doing anki was by creating a new profile and importing the cards from the old profile. The issue with this was that my progress was lost. I found another way to import that saves your progress. However, my progress was saved on the new profile. The new profile started having issues as soon as I imported my progress. I tried deleting all add-ons, and nothing is helping.

Can you paste whatever Copy Debug Info is returning?

2 Likes
Anki 25.07.5 (7172b2d2) (ao)
Python 3.13.5 Qt 6.9.1 PyQt 6.9.1
Platform: macOS-15.6.1-x86_64-i386-64bit-Mach-O

Traceback (most recent call last):
  File "/Users/mohammedmalik/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/aqt/taskman.py", line 152, in raise_exception
    raise exception
  File "/Users/mohammedmalik/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/aqt/taskman.py", line 148, in _on_closures_pending
    closure()
    ~~~~~~~^^
  File "/Users/mohammedmalik/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/aqt/taskman.py", line 88, in <lambda>
    lambda future: self.run_on_main(lambda: on_done(future))
                                            ~~~~~~~^^^^^^^^
  File "/Users/mohammedmalik/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/aqt/taskman.py", line 111, in wrapped_done
    on_done(fut)
    ~~~~~~~^^^^^
  File "/Users/mohammedmalik/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/aqt/operations/__init__.py", line 128, in wrapped_done
    self._success(result)
    ~~~~~~~~~~~~~^^^^^^^^
  File "/Users/mohammedmalik/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/aqt/reviewer.py", line 557, in after_answer
    self._after_answering(ease)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^
  File "/Users/mohammedmalik/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/aqt/reviewer.py", line 570, in _after_answering
    self.nextCard()
    ~~~~~~~~~~~~~^^
  File "/Users/mohammedmalik/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/aqt/reviewer.py", line 250, in nextCard
    self._get_next_v3_card()
    ~~~~~~~~~~~~~~~~~~~~~~^^
  File "/Users/mohammedmalik/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/aqt/reviewer.py", line 266, in _get_next_v3_card
    output = self.mw.col.sched.get_queued_cards()
  File "/Users/mohammedmalik/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/anki/scheduler/v3.py", line 55, in get_queued_cards
    return self.col._backend.get_queued_cards(
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
        fetch_limit=fetch_limit, intraday_learning_only=intraday_learning_only
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/Users/mohammedmalik/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/anki/_backend_generated.py", line 819, in get_queued_cards
    raw_bytes = self._run_command(13, 3, message.SerializeToString())
  File "/Users/mohammedmalik/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/anki/_backend.py", line 171, in _run_command
    raise backend_exception_to_pylib(err)
anki.errors.InvalidInput: invalid params provided

===Add-ons (active)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
AnkiHub ['1322529746', 2025-08-25T08:39, 'None', '']
Contanki - Controller Support for Anki beta ['1898790263', 2024-02-29T19:22, 'v1.0.2', '']

===IDs of active AnkiWeb add-ons===
1322529746 1898790263

===Add-ons (inactive)===
(add-on provided name [Add-on folder, installed at, version, is config changed])


1 Like
  • Go into your deck Options preset – select “Options” from the More menu (on the study screen).
  • Copy your FSRS parameters and paste them here. [This might help us track down what is causing this error for folks.]
  • Blank out your FSRS parameters.
  • Click Optimize and Save.

It went haywire when I tried to do this, and now won’t let me access the deck at all, giving the message “invalid params provided”. The app is also not shutting down now that I am trying to “quit” it.

Update: noticed this is only happening with one deck. Other decks are working.

There are two things I could think of in this case:

  1. You are calling some functions in your card templates with invalid parameters.
  2. You are calling some functions in Custom Scheduling for the preset you are using for this deck with invalid parameters.

I wonder if you can sneak in around the edge?

  • Create a new (temporary) deck and open the Options for it – it will be assigned to the “Default” preset.
  • In the dropdown at the top, switch the deck to use the preset that has the problem.
  • Then proceed with the steps I described above.
  • When you’re all done, you can delete the temporary deck.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.