Problems with bulk suggest notes function - repeatedly getting "failed to submit suggestions"

Hi there,

I have been playing around with AnkiHub for a few days now and Iā€™m having ongoing issues with the bulk suggest changes function. It seems to work sporadically, but most of the time, even when Iā€™m doing simple things like removing a particular tag from a selection of cards and then selecting all and clicking > ā€œAnkiHub - bulk suggest notesā€ and submitting it to be updated without review as Iā€™m the deck owner (have tried all the justification options including updated content, updated tags etc.) it just keeps giving me the error ā€œfailed to submit suggestionsā€ as shown below:

.

Itā€™s extremely frustrating as it only seems to work fine if I use AnkiHub on the web and manually remove the unwanted tags from individual cards and then sync with the computer. But every time the error comes up on my computer, I have to ā€œreset local changesā€ and sync with AnkiHub again because otherwise all my edits are stuck locally and none of my changes are being put through to AnkiHub. It seems to work much more consistently if Iā€™m just making edits to one or two cards. I canā€™t put my finger on whatā€™s causing the issue.

EDIT: Iā€™ve seemed to establish that it seems to work if I make additions to the cards rather than simply remove tags. Is this consistent with how its coded; that is - removal of tags or content is not considered a ā€œchangeā€ that will sync with Ankihub?

EDIT #2: The same problem exists when removing stuff from fields; ie. the ā€œMissed Questionsā€ field from some cards for example that were uploaded with someoneā€™s personal content in the MQ field; when I try and remove that and submit changes AnkiHub rejects it. I suspect this all comes down to suggested changes donā€™t except ā€œdeletion/removal of contentā€ and only ā€œaddition of content or change to contentā€.

Hi!

Removal of content is also considered a change so I wonder why it doesnā€™t work for you. Can you send me a link to the deck? Do you have any protected tags and fields?

Hi there - thanks for replying! Hereā€™s the deck link: 5a1160ef-6f41-4d8c-948b-f72275ef0ff7.

I donā€™t have any protected tags and Iā€™ve only just enabled the protected fields to be the ā€œMissed Questionsā€ and ā€œPersonal Notesā€ however I can still replicate the issue if I for example add some content to any field, submit changes (success) and then remove the content and submit changes (unsuccessful sync with AnkiHub).

The only way Iā€™ve discovered to get around the issue is if I remove the content I want to get rid of and then make some other change or add a period or something to the text field and then sync. It just doesnā€™t seem to work if the only change is a net loss of content from anything in the card (either tags or in the fields).

I can still replicate the issue if I for example add some content to any field, submit changes (success) and then remove the content and submit changes (unsuccessful sync with AnkiHub).

Can you try syncing with AnkiHub before submitting the suggestion that removes content? (Main Anki window ā†’ AnkiHub ā†’ Sync with AnkiHub)

Here is an explanation:
The way it works is that the add-on stores a copy of the notes in the deck in its own database. When downloading updates from AnkiHub, this database gets updated. When creating a change suggestion, the contents of the note in the Anki database are compared with the contents of the note in the add-ons database and the change suggestion is only sent to AnkiHub when there are any changes.

So when you add content to a note, then remove it again and try to submit a change suggestion, the notes contents are the same as in the beginning and the add-on does not know yet that the note was updated on AnkiHub. After syncing it knows about it and you can create a suggestion that removes the content again.

Do you think that this could explain the problems you experienced?

1 Like

Ahh yes I see - my problem was I wasnā€™t manually syncing with AnkiHub every time before I tried submitted the suggestions. I feel very silly now. Thanks for all your help! :slight_smile:

2 Likes