A certain amount of changes during bulk suggest don't submit. Any ideas what could cause this?

In this example 20 cards are not submitted. This has repeatedly led to my card changes getting lost when I synced with anki hub and I hadnt relaise that only a portion of my previous submission was accepted into my ankihub deck.
I’m not sure what is specific about these cards. It has happened in other anki hub decks that I created as well.

I do still keep getting thsi error message during every bulk suggestion as well. It does sync fine for the most part though, besides the above described issue.

I tried: restarting anki, logging in and out from anki hub, submitting the cards over and over again but same result. It happened after upgrading to the new version of anki which i’m running on apple silicon with mac os sonoma 14.1.2 (23B92))

Version ⁨23.12.1 (1a1d4d54)⁩
Python 3.9.15 Qt 6.5.3 PyQt 6.5.3

Thank you!

That error message when bulk suggesting to anki hub produces the below error code. I feel like I’ve seen people post about it before so you may already be aware of it but in case I’m wrong here it is:

Anki 23.12.1 (1a1d4d54) (ao)
Python 3.9.15 Qt 6.5.3 PyQt 6.5.3
Platform: macOS-14.1.2-arm64-arm-64bit

File “threading”, line 937, in _bootstrap
File “threading”, line 980, in _bootstrap_inner
File “threading”, line 917, in run
File “concurrent.futures.thread”, line 83, in _worker
File “concurrent.futures.thread”, line 58, in run
File “/Users/ploirodon/Library/Application Support/Anki2/addons21/1322529746/gui/suggestion_dialog.py”, line 206, in
task=lambda: suggest_notes_in_bulk(
File “/Users/ploirodon/Library/Application Support/Anki2/addons21/1322529746/main/suggestions.py”, line 166, in suggest_notes_in_bulk
_rename_and_upload_media_for_suggestions(
File “/Users/ploirodon/Library/Application Support/Anki2/addons21/1322529746/main/suggestions.py”, line 463, in _rename_and_upload_media_for_suggestions
media_upload_cb(media_names=set(media_name_map.values()), ankihub_did=ankihub_did)
File “/Users/ploirodon/Library/Application Support/Anki2/addons21/1322529746/gui/media_sync.py”, line 78, in start_media_upload
AddonQueryOp(
File “aqt.operations”, line 262, in run_in_background
File “aqt.operations”, line 282, in _run
File “aqt.taskman”, line 72, in run_in_background
===Add-ons (active)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
Add Hyperlink [‘318752047’, 2023-06-18T13:39, ‘None’, ‘’]
Additional Card Fields Fork for 21 [‘744725736’, 2022-10-23T12:10, ‘None’, mod]
Advanced Browser [‘874215009’, 2023-10-21T16:34, ‘None’, mod]
Advanced Card Styles [‘1625103157’, 2021-12-28T18:49, ‘None’, ‘’]
AnKing Note Types Easy Customization [‘952691989’, 2024-01-19T22:17, ‘None’, mod]
Anki Palace Butler [‘butler’, 2022-12-27T07:22, ‘None’, mod]
Anki Simulator [‘817108664’, 2023-11-06T18:26, ‘None’, ‘’]
AnkiHub [‘1322529746’, 2024-03-11T19:09, ‘None’, mod]
Batch Editing [‘291119185’, 2023-10-26T02:38, ‘None’, ‘’]
BetterSearch [‘1052724801’, 2024-03-06T17:25, ‘None’, mod]
Bionic Reading [‘649714433’, 2023-10-26T23:24, ‘None’, mod]
Browser Resizer [‘1435775540’, 2023-11-11T18:16, ‘None’, mod]
Clickable Tags v20 [‘1739176371’, 2022-01-30T23:58, ‘None’, ‘’]
Closet For Anki [‘272311064’, 2022-08-12T10:27, ‘None’, ‘’]
Colorful Tags Hierarchical Tags [‘594329229’, 2022-09-15T17:06, ‘None’, ‘’]
Contanki - Controller Support for Anki beta [‘1898790263’, 2024-03-01T02:22, ‘v1.0.2’, mod]
Customize Keyboard Shortcuts [‘24411424’, 2023-11-01T10:17, ‘None’, mod]
Edit Field During Review Cloze [‘385888438’, 2024-01-03T08:19, ‘6.18’, mod]
Export Single Tag For Sharing [‘960563361’, 2022-04-10T23:30, ‘None’, ‘’]
Extended Tag AddEdit Dialog [‘1135507717’, 2023-11-11T17:58, ‘None’, mod]
FSRS4Anki Helper [‘759844606’, 2024-03-20T05:00, ‘None’, mod]
Fastbar- with nightmode support [‘46611790’, 2023-06-27T13:47, ‘None’, ‘’]
Google Translate [‘1536291224’, 2024-02-21T15:34, ‘None’, ‘’]
High Yield Tags [‘1918380616’, 2023-01-10T20:14, ‘None’, mod]
Hint Hotkeys [‘1844908621’, 2023-04-14T16:13, ‘None’, ‘’]
Image Editor [‘307397307’, 2022-09-08T06:09, ‘None’, mod]
Image Occlusion Enhanced [‘image_occlusion_enhanced’, 2022-04-09T08:30, ‘None’, ‘’]
More Decks Stats and Time Left [‘1556734708’, 2023-09-24T16:08, ‘None’, mod]
More Overview Stats 21 [‘738807903’, 2021-07-30T21:13, ‘None’, mod]
Quick Colour Changing [‘2491935955’, 2023-10-19T05:15, ‘None’, mod]
ReColor [‘688199788’, 2024-03-03T02:45, ‘3.0’, mod]
Reset Ease [‘947935257’, 2023-11-12T02:22, ‘None’, ‘’]
Review Heatmap [‘1771074083’, 2022-06-30T03:43, ‘None’, ‘’]
Symbols As You Type [‘2040501954’, 2024-01-20T06:42, ‘None’, ‘’]
Symbols [‘1461102936’, 2024-02-10T17:53, ‘None’, mod]
The KING of Button Add-ons [‘374005964’, 2024-01-27T11:19, ‘None’, ‘’]
Wrapper meta-addon [‘396502676’, 2023-07-22T14:05, ‘None’, ‘’]
add-on dialog searchfilter bar [‘561945101’, 2023-10-18T18:22, ‘None’, ‘’]
rebuildempty some or all filtered decks [‘104518886’, 2023-05-17T00:33, ‘None’, ‘’]

===IDs of active AnkiWeb add-ons===
104518886 1052724801 1135507717 1322529746 1435775540 1461102936 1536291224 1556734708 1625103157 1739176371 1771074083 1844908621 1898790263 1918380616 2040501954 24411424 2491935955 272311064 291119185 307397307 318752047 374005964 385888438 396502676 46611790 561945101 594329229 649714433 688199788 738807903 744725736 759844606 817108664 874215009 947935257 952691989 960563361

===Add-ons (inactive)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
Custom Background Image and Gear Icon [‘1210908941’, 2023-04-19T03:19, ‘None’, mod]
Extended Card Stats During Review [‘1008566916’, 2024-02-26T20:07, ‘None’, ‘’]
Free Weekend - or Any Other Day [‘742185195’, 2020-04-10T13:57, ‘None’, mod]
Highlight Search Results in the Browser [‘225180905’, 2023-10-21T21:17, ‘None’, ‘’]
Load Balanced Scheduler [‘208879074’, 2019-07-24T04:37, ‘None’, ‘’]
Mini Format Pack [‘295889520’, 2023-11-02T19:00, ‘None’, ‘’]
Pop-up Dictionary beta [‘153625306’, 2019-03-23T18:32, ‘None’, ‘’]
Progress Bar [‘2091361802’, 2019-03-03T03:27, ‘None’, ‘’]
Puppy Reinforcement [‘1722658993’, 2023-11-16T13:59, ‘None’, ‘’]
Searching PDF Reading Note-Taking in Add Dialog [‘1781298089’, 2022-08-15T09:22, ‘None’, ‘’]
Special Fields [‘1102281552’, 2024-03-20T00:34, ‘None’, mod]
Speed Focus Mode auto-alert auto-reveal auto-answer [‘1046608507’, 2022-12-16T12:24, ‘None’, ‘’]
Spell Checker with Custom Dictionaries [‘390813456’, 2022-11-26T17:38, ‘None’, mod]
Straight Reward [‘957961234’, 2023-11-01T15:11, ‘None’, ‘’]
Web Browser - Search terms Import texts and images automatically [‘864545277’, 2023-11-17T20:28, ‘None’, mod]

today its even worse …
image

I should maybe say that all of these are edited on the current version iOS mobile app as I study the cards and find things I want to improve, then synched to the mac and bulk suggested. Still, most edits suggest successfully and 99% are simple text edits and maybe a picture added here and there to the extra

@abdo.nh

Thanks for looking into this!

Here’s just a variation of this issue:
I just selected the entire deck (made sure all are selected) of around 1000 cards. I had created a few new cards this evening but also made a few edits on my phone so I just suggest everything together. On top of the already described issue: Most of my new cards get suggested fine. However, a second later I sort by created date, select this time only the newly created cards and bulk suggest them (again). This is the result, 4 cards get suggested as new cards despite having already been suggested a second before… Shouldn’t be possible right?:

image

1 more update:

yesterday I only used my laptop to make edit to cards, not the phone, to see if that would make a difference but still the same result:
image

It’s unfortunate cause I cant sync with anki hub anymore otherwise I’d reset 100s of important cards edits that weren’t successfully suggested. Hope you can find a solution. Much appreciated.

Hi, is anyone still looking into this? The problem persists. Thanks!

Can you go to AnkiHub > Help > Upload logs and post the filename shown?

Hi, thanks for responding: ankihub_addon_logs_288a6_1713796269.log

All failed suggestions show one of the following error messages as the reason:

Suggestion fields and tags don’t have any changes to the original note

A deck can’t contain multiple notes with the same anki_id.

The second one is strange. I can think of a reason why this is happening, but to confirm, can you log in to AnkiHub in a fresh Anki profile, install the deck, and try to submit some suggestions?

Ok, just to clarify: I switched profiles on anki made a new one that I didnt link to ankiweb. Signed in to ankihub, installed the decks, still on my computer made 8 random edits of highlighting text deleting or adding cloze deletions, changing extra etc. All were submitted just fine… Ofc there were always some cards that got submitted and many that didn’t. I’m not sure what sort of edits those few hundred and increasing cards are that are persistently not suggested. Can I import my up to date deck from my normal profile to this new profile and somehow use it override and change these just newly installed cards that don’t have the edits and then check if once replaced, the edits do get submitted or would you expect the same result as on my regular deck?

Also, I did often make edits on a seperate laptop or ios anki which I synched to my main computer via ankiweb and then bulk suggested from this computer. Idk if that would make a difference. Also my friend got that same error message on her computer also apple silicon, latest anki version, when bulk suggesting to contribute to a deck of mine in the past but I think at least all of her edits where suggested…

I just tried in an new profile with a new deck installed from ankihub, to import my current version deck. but even that doesn’t seem to be working. i studied the deck basically every day and imported learning progress and that doen’t seem to have worked.
then i went to bulk suggest the entire supposedly updated deck which should now have all my edits but the result is just 5 cards suggested (these are not previous test edits, its new new profile), and the rest seem to alreday be suggested.


image

next i switch profiles to my normal one, sign back into anki hub, bulk suggest the same 1700 notes and this is the result:

one other thing I tried:

used my older 2015 mac os 12 macbook with anki 23.12.1 signed into to ankihub, synced with ankiweb on m2 mac with lastest os and same anki version, forced one way sync to the macbook, now bulk suggested the whole deck on both devices:

  1. both decks show 1700 notes to begin with
  2. both show the error message me and friends of mine see every time when bulk suggesting.
  3. both still showed the bulk suggestion summary as usual but confusingly with different numbers:

mac: 20 change note suggestions, failed: 1680, notes w/o changes: 1325
macbook: 29 change note suggestions, failed: 1671, notes w/o changes: 1671

i have no idea how thats even possible since I did a correct sync, then one way sync and nothing afterwards besides bulk suggesting

Can you export and share a copy of the deck with some edits that are failing? I want to look into this more closely.

I managed to extract all the cards that were not accepted and it turns out these are all new cards I havent looked at, none of my edits that I do when reviewing. just doesn’t make sense to me anymore. My main issue was that several times after i had made edits and bulk suggested them (without need for review), that once I synched with anki hub, the same notes got reset to an older state (then all showed up as last modified at anki hub sync time). I could confirm this by resetting from an anki back up several times and seeing the changes that that been reset despite having been suggested…

anyway here is the file with a few cards that come up as non-suggested but confirmed as changed in the bulk suggest window. hope this still helps. maybe you can figure out what causes this error message every time.

Selected Notes.apkg (2.0 MB)

If you go to the suggestions page of your deck (Sign In), do the suggestions submitted without review show their as open maybe? I see you have a lot of open suggestions. If that’s actually the case, it’s probably an issue in the “Submit without review” option that I can look further into.

Hi, I think these were unfortunately all from tests that I ran to figure out the issue. I merges yours in case you wanted to see and rejected all teh other ones. Gonna suggest the 2000 possible notes for the deck now and see if anything gets trapped here.

Some other ideas I had for what could cause the issue not based on any actual knowlegde just around stuff I’ve done with the deck:

  • something with iOS chnages that then got suggested from the mac
  • something with making note changes on a macbook with older mac os (although same anki version) and at no anki hub add on since it would sign me out of one when i signed into the other, so i anki web synced the note changes to the mac mini and suggested from there
  • issues with having deleted notes on a card or changing around cloze deletions
  • maybe issues of editing cards that weren;t originally mine to begin with that my friend uploaded and i edited although i dont think this should make a difference
  • maybe having changed the note id somehow of some cards in the past, after they showed up in the wrong order (not the order created) despite correct review options so I sorted by created, then card -reposition, but that was a smaller amount of cards I think

weirdly some of my decks like my histology deck never even gives me this error message when bulk suggesting, that started with the physiology decks which were created on the m2 mac mini while all my older decks were created on an old 2012 imac (just saying this in case newer software couldve introduced issues). anyway just some thoughts.

from just now:
image
image

not sure if this is relevant but bulk suggesting from the physiology p2 deck also takes forever while on the older decks it’s nearly instant like the histology one even if i select lot of notes to suggest

If you take a failing note and try to submit a change suggestion for only that note (not a bulk suggestion), does that make a difference? If the suggestion is still failing, please send me that single note as apkg.

ok here’s the cards i tested first as bulk:

then as a single note suggestion:

that’s the error code:
Anki 23.12.1 (1a1d4d54) (ao)
Python 3.9.15 Qt 6.5.3 PyQt 6.5.3
Platform: macOS-14.4.1-arm64-arm-64bit

Traceback (most recent call last):

File “/Users/ploirodon/Library/Application Support/Anki2/addons21/1322529746/gui/suggestion_dialog.py”, line 455, in accept
self._callback(self.suggestion_meta())

File “/Users/ploirodon/Library/Application Support/Anki2/addons21/1322529746/gui/suggestion_dialog.py”, line 101, in
callback=lambda suggestion_meta: _on_suggestion_dialog_for_single_suggestion_closed(

File “/Users/ploirodon/Library/Application Support/Anki2/addons21/1322529746/gui/suggestion_dialog.py”, line 145, in _on_suggestion_dialog_for_single_suggestion_closed
suggest_new_note(

File “/Users/ploirodon/Library/Application Support/Anki2/addons21/1322529746/main/suggestions.py”, line 129, in suggest_new_note
client.create_new_note_suggestion(

File “/Users/ploirodon/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py”, line 921, in create_new_note_suggestion
raise AnkiHubHTTPError(response)

1322529746.ankihub_client.ankihub_client.AnkiHubHTTPError: AnkiHub request error: 400 Bad Request

so i tried 5 difefrent ones and all show the same result. tried 5x using the browser field to suggest a single note and later also bulk suggesting just one with and w/o the submit w/o review box ticked and it always leads to the same error message above. here just a random note of the ones that i tested:
ankihub note change suggestion test.apkg (292.3 KB)

i didnt tick deck setting and review Hx. if youd like me to lmk

I compared the fields and actually they are no differences between the note on AnkiHub and what you’re trying to suggest, so an error is expected here. AnkiHub should show this message here but there’s a bug preventing that:

Suggestion fields and tags don’t have any changes to the original note