Unable to merge cards

Before the error happened, I was…

[I am a maintainer for my school’s in-house deck. Trying to merge cards people have uploaded, but for some reason it is failing. Deck is the SHSU-COM deck. Unsure if the current AI rolling out has messed anything up on this side, or if there’s an issue with the cards themselves.

For example:

Failure Time: 2024-11-20 21:29:34

Here are the IDs of the first 10 suggestions that were attempted:

  • 582368
  • 582369
  • 582370
  • 582347
  • 582348
  • 582356
  • 582357
  • 582358
  • 582359
  • 582360]
Error message (don't change this)
Anki 24.04.1 (ccd9ca1a)  (ao)
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
Platform: macOS-15.1-arm64-arm-64bit

Traceback (most recent call last):

  File "aqt.taskman", line 142, in _on_closures_pending

  File "/Users/jamyl-mac/Library/Application Support/Anki2/addons21/1322529746/gui/menu.py", line 335, in on_done
    future.result()

  File "concurrent.futures._base", line 439, in result

  File "concurrent.futures._base", line 391, in __get_result

  File "/Users/jamyl-mac/Library/Application Support/Anki2/addons21/1322529746/gui/operations/utils.py", line 39, in wrapper
    return func(*args, **kwargs)

  File "/Users/jamyl-mac/Library/Application Support/Anki2/addons21/1322529746/gui/operations/ankihub_sync.py", line 75, in _sync_with_ankihub_inner
    subscribed_decks = client.get_deck_subscriptions()

  File "/Users/jamyl-mac/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 614, in get_deck_subscriptions
    raise AnkiHubHTTPError(response)

1322529746.ankihub_client.ankihub_client.AnkiHubHTTPError: AnkiHub request error: 406 Not Acceptable

Sentry link (for developers)

Hello,

Can you try updating the AnkiHub add-on to see if that fixes your issue?

Tutorial: How to update the AnkiHub Add-on

Hi, Ahmed. The issue is on the website side. I’m in the deck maintainer for the specific deck and am looking at suggested new cards.

:man_facepalming: My bad

When trying to merge these new cards, what happens on the website? Does it disappear and say accepted or do they stay there? (as in you merge them, then you refresh, and they’re still there?)

When I try to bulk merge AFTER hitting “Select all from this page”, it says “Suggestions submitted for processing.” But, if I refresh it stays there.

When I try to bulk merge AFTER hitting “Select all from this page” and then “Select all # suggestions” it says “Suggestions submitted for processing.” But, if I refresh it stays there.

When I try to just merge a single card it does not say anything.

*I was able to process another contributor’s cards, but for some reason I am unable to do so from one specific person. However, I was able to merge SOME cards by individually selecting them, but not all of them

Okay, I figured it out.

I think something happened during the AI rollout on the server side.

The contributor submitted new cards AND THEN submitted changes to those cards BEFORE the new cards were added.

Usually there’s an error for that (tried it just now).

But, I guess there wasn’t one yesterday? So, it was multiple identical card IDs (my guess) on Akihub with changes. between them, and that’s why the processing failed.

1 Like

@abdo.nh I remember this happening once before which shouldn’t be able to happen correct?

Yes, might be some processing delay issue in the server.