Collection needs to be updated to V3. keeps giving this message every time starting anki

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

Error message (don't change this)
Anki 25.02.6 (6381f184)  (ao)
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
Platform: Windows-10-10.0.26100

Traceback (most recent call last):

  File "C:\Users\achar\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\deck_installation.py", line 193, in _download_and_install_decks_inner
    _download_and_install_single_deck(

  File "C:\Users\achar\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\deck_installation.py", line 226, in _download_and_install_single_deck
    result = _install_deck(

  File "C:\Users\achar\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\deck_installation.py", line 263, in _install_deck
    import_result = importer.import_ankihub_deck(

  File "C:\Users\achar\AppData\Roaming\Anki2\addons21\1322529746\main\importing.py", line 175, in import_ankihub_deck
    ) = self._cleanup_first_time_deck_import(created_did=self._local_did)

  File "C:\Users\achar\AppData\Roaming\Anki2\addons21\1322529746\main\importing.py", line 578, in _cleanup_first_time_deck_import
    aqt.mw.col.set_deck(cids, existing_deck_id)

  File "anki.collection", line 619, in set_deck

  File "anki._backend_generated", line 306, in set_deck

  File "anki._backend", line 172, in _run_command

anki.errors.SchedulerUpgradeRequired: Your collection needs to be upgraded to the v3 scheduler.
Please select Learn More before proceeding.


The above exception was the direct cause of the following exception:


Traceback (most recent call last):

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

  File "C:\Users\achar\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\db_check\ah_db_check.py", line 66, in on_download_and_install_done
    raise e

  File "C:\Users\achar\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\db_check\ah_db_check.py", line 57, in on_download_and_install_done
    future.result()

  File "concurrent.futures._base", line 439, in result

  File "concurrent.futures._base", line 391, in __get_result

  File "C:\Users\achar\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\utils.py", line 36, in wrapper
    return func(*args, **kwargs)

  File "C:\Users\achar\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\deck_installation.py", line 90, in _on_install_done
    import_results: List[AnkiHubImportResult] = future.result()

  File "concurrent.futures._base", line 439, in result

  File "concurrent.futures._base", line 391, in __get_result

  File "concurrent.futures.thread", line 58, in run

  File "C:\Users\achar\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\deck_installation.py", line 78, in <lambda>
    task=lambda: _download_and_install_decks_inner(

  File "C:\Users\achar\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\deck_installation.py", line 210, in _download_and_install_decks_inner
    raise exceptions[0]

1322529746.gui.exceptions.DeckDownloadAndInstallError: Error while downloading and installing deck 17c5eb70-714f-483f-9b0f-6c7044651512: Your collection needs to be upgraded to the v3 scheduler.
Please select Learn More before proceeding.

Sentry link (for developers)

You should see a message at the top of the main Anki screen prompting you to update the scheduler to V3. Once you accept it, the error will go away.

It goes away but comes back again after sync or restarting anki

Do you use Anki on your mobile device? Please try this:

  1. Accept the update prompt if it’s appearing.
  2. Go to Tools > Preferences > Syncing.
  3. Toggle the On next sync, force changes in one direction option.
  4. Sync with AnkiWeb.