You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 31, 2023. It is now read-only.
Hi, new user and absolutely love this project. However, this error message is confusing.
It says "cannot create note because it is empty"
But in this case, the creation fails because of a mismatch of field names. It took me a while to realize.
My fields are not called "Front" and "Back".
Traceback (most recent call last):
File "c:\Users\Matt\Desktop\ankigen\main.py", line 22, in <module>
result = invoke('addNote', note={"deckName": "日本語", "modelName": "Japanese", "fields":{"Front": "what da dog doing", "Back":"bark bark"}})
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "c:\Users\Matt\Desktop\ankigen\main.py", line 19, in invoke
raise Exception(response['error'])
Exception: cannot create note because it is empty
The text was updated successfully, but these errors were encountered:
Hi, new user and absolutely love this project. However, this error message is confusing.
It says "cannot create note because it is empty"
But in this case, the creation fails because of a mismatch of field names. It took me a while to realize.
My fields are not called "Front" and "Back".
The text was updated successfully, but these errors were encountered: