Anki error, help please

Grant V's Avatar

Grant V

24 Jan, 2020 08:00 PM

This issue started happening recently, I keep getting this error message when trying to sync.

Syncing failed:
Traceback (most recent call last):
  File "aqt/", line 376, in _sync
  File "aqt/", line 356, in _abortingSync
  File "anki/", line 119, in sync
  File "anki/", line 199, in sanityCheck
  File "anki/", line 53, in reset
  File "anki/", line 736, in _resetRev
  File "anki/", line 733, in _resetRevCount
  File "anki/", line 195, in _walkingCount
  File "anki/", line 557, in parents
KeyError: 'CFA'

Any help would be appreciated!

  1. Support Staff 1 Posted by Damien Elmes on 25 Jan, 2020 11:31 PM

    Damien Elmes's Avatar

    It seems to indicate a problem with one of your deck names, but I can't see the problem in your AnkiWeb collection. If you're still having issues, can you reproduce them after updating to the latest Anki version?

  2. 2 Posted by Grant V on 26 Jan, 2020 02:05 AM

    Grant V's Avatar


    I just updated anki on my mac to version 2.1.19 and I got a similar looking error.

    Syncing failed:
    Traceback (most recent call last):
      File "aqt/", line 449, in _sync
      File "aqt/", line 429, in _abortingSync
      File "anki/", line 140, in sync
      File "anki/", line 222, in sanityCheck
      File "anki/", line 54, in reset
      File "anki/", line 808, in _resetRev
      File "anki/", line 805, in _resetRevCount
      File "anki/", line 205, in _walkingCount
      File "anki/", line 588, in parents
    KeyError: 'CFA'

    Any further guidance? Thanks for your help.

  3. Support Staff 3 Posted by Damien Elmes on 26 Jan, 2020 03:57 AM

    Damien Elmes's Avatar

    Please force a one way sync in the preferences screen, choosing upload or download depending on which side you want to keep. If you choose to upload, please let me know after you've done so and I'll take a look at your collection. If you download, it shouldn't need my intervention as AnkiWeb appears ok.

  4. 4 Posted by Grant V on 26 Jan, 2020 04:05 AM

    Grant V's Avatar

    The one way sync fixed my issue (uploading from my mac to ankiweb). Thanks again for your help with this Damien, have a great weekend.

  5. Support Staff 5 Posted by Damien Elmes on 26 Jan, 2020 04:29 AM

    Damien Elmes's Avatar

    No problem, glad to hear that's resolved it.

Comments are closed, but you can start a new discussion.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac