Closed mikavilpas closed 1 year ago
Thanks for pointing this out Error handling doesn't really happen very well here but since it's an easy one for you to avoid I don't think this is a priority issue for me to fix Going to close for now because off that but feel free to comment further/reopen or PR for this to be fixed 👍
I discovered a weird thing that doesn't happen with the desktop ankiconnect app but happens with AnkiconnectAndroid. With the addNote api, if I try to add a note and leave out any optional field, the api crashes with a pretty cryptic error message.
Here's a failed call:
The response:
I can work around this issue by having any empty fields be set to the empty string.