Anki Forums

I got a Error screen when I add a card after upgrading 2.1.40 to 2.1.43

After 2.1.40 → 2.1.43
when I added a card into a customized deck.
but, when I added a card into default format deck, there was no error.

The Error was like below :

Error
An error occurred. Please use Tools > Check Database to see if that fixes the problem.
If problems persist, please report the problem on our support site. Please copy and paste the information below into your report.
Anki 2.1.43 (0fbae6bc) Python 3.8.6 Qt 5.14.2 PyQt 5.14.2
Platform: Windows 10
Flags: frz=True ao=False sv=2
Add-ons, last update check: 2021-04-05 14:24:34

Caught exception:
Traceback (most recent call last):
File “aqt\webview.py”, line 526, in handler
File “aqt\editor.py”, line 534, in
File “aqt\addcards.py”, line 192, in addCards
File “aqt\editor.py”, line 660, in saveAddModeVars
File “anki\models.py”, line 104, in save
File “anki\models.py”, line 246, in update
File “anki_backend\generated.py”, line 488, in add_or_update_notetype
File "anki_backend_init
.py", line 106, in _run_command
anki.errors.InvalidInput: Invalid input: ⁨Empty field name⁩

There is a field with an empty name in the note type you’re using. Anki does more strict checking with field names now, so that’s why the error started to appear. Invalid characters in names include :, ", {, }.

Could you post a screenshot of the editor screen?

1 Like

Thinks for your effort.

Screen shot as follows.
screen shot

According to your feedback, I think that filed name “#” would be a source of the problem. I’ll try to change the filed name (#) to normal characters.

1 Like

It’s working properly after changing the filed name “#” into another alphabet string.
Great!

Thank you again, abdo.
Have a nice day.