New Card Suggestion Bug

Before the error happened, I was…
Suggesting a new card for my AnkiHub Deck.

Error message (don't change this)
Anki 23.12.1 (1a1d4d54)  (ao)
Python 3.9.15 Qt 6.6.1 PyQt 6.6.1
Platform: Windows-10-10.0.22631

Traceback (most recent call last):

  File "C:\Users\Rhorn\AppData\Roaming\Anki2\addons21\1322529746\gui\suggestion_dialog.py", line 548, in accept
    self._callback(self.suggestion_meta())

  File "C:\Users\Rhorn\AppData\Roaming\Anki2\addons21\1322529746\gui\suggestion_dialog.py", line 112, in <lambda>
    callback=lambda suggestion_meta: _on_suggestion_dialog_for_single_suggestion_closed(

  File "C:\Users\Rhorn\AppData\Roaming\Anki2\addons21\1322529746\gui\suggestion_dialog.py", line 229, in _on_suggestion_dialog_for_single_suggestion_closed
    suggest_new_note(

  File "C:\Users\Rhorn\AppData\Roaming\Anki2\addons21\1322529746\main\suggestions.py", line 129, in suggest_new_note
    client.create_new_note_suggestion(

  File "C:\Users\Rhorn\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 944, in create_new_note_suggestion
    raise AnkiHubHTTPError(response)

1322529746.ankihub_client.ankihub_client.AnkiHubHTTPError: AnkiHub request error: 500 Internal Server Error

Sentry link (for developers)

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

ankihub_addon_logs_a96a7_1720609817.log

Does the card have a lot of tags or a field with a lot of contents? Can you export the card as apkg and upload it here?

No it doesn’t. Only two tags. Thank you
Link to example note

The note has an image in the Extra field stored internally as a huge chunk of text, which is hitting a database limit (55 KB). You can use the Localize Media add-on to fix the issue.

UPDATE: it turned out this my diagnosis was wrong. Please see my reply here for the solution:

1 Like