AMBOSS Add-on Issue

I’ve been encountering this issue with my Anki. I’ve pasted the debug info below.

Anki 25.09.2 (3890e12c) (ao)
Python 3.13.5 Qt 6.9.1 PyQt 6.9.1
Platform: macOS-13.7.8-x86_64-i386-64bit-Mach-O

Traceback (most recent call last):
File “/Users/monicahsu/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/aqt/progress.py”, line 121, in handler
func()
~~~~^^
File “/Users/monicahsu/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/aqt/main.py”, line 231, in on_window_init
fn()
~~^^
File “/Users/monicahsu/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/aqt/main.py”, line 330, in setupProfile
self.loadProfile()
~~~~~~~~~~~~~~~~^^
File “/Users/monicahsu/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/aqt/main.py”, line 568, in loadProfile
gui_hooks.profile_did_open()
~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File “/Users/monicahsu/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/_aqt/hooks.py”, line 4136, in call
hook()
~~~~^^
File “/Users/monicahsu/Library/Application Support/Anki2/addons21/1322529746/entry_point.py”, line 126, in _on_profile_did_open
_after_profile_setup()
~~~~~~~~~~~~~~~~~~~~^^
File “/Users/monicahsu/Library/Application Support/Anki2/addons21/1322529746/entry_point.py”, line 179, in _after_profile_setup
_adjust_ankihub_note_type_templates()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File “/Users/monicahsu/Library/Application Support/Anki2/addons21/1322529746/entry_point.py”, line 305, in _adjust_ankihub_note_type_templates
mids_filtered = [mid for mid in mids if aqt.mw.col.models.get(mid)]
~~~~~~~~~~~~~~~~~~~~~^^^^^
File “/Users/monicahsu/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/anki/models.py”, line 167, in get
notetype = from_json_bytes(self.col._backend.get_notetype_legacy(id))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^
File “/Users/monicahsu/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/anki/_backend_generated.py”, line 1309, in get_notetype_legacy
raw_bytes = self._run_command(23, 7, message.SerializeToString())
File “/Users/monicahsu/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/anki/_backend.py”, line 171, in _run_command
raise backend_exception_to_pylib(err)
anki.errors.BackendError: ProtoError { info: “failed to decode Protobuf message: Config.q_format: invalid string value: data is not UTF-8 encoded” }

===Add-ons (active)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
AMBOSS Official Medical School Step Shelf Study Resource [‘1044112126’, 2998-12-31T16:00, ‘None’, mod]
AnkiHub [‘1322529746’, 2025-11-12T06:49, ‘None’, ‘’]
Custom Background Image and Gear Icon [‘1210908941’, 2025-12-17T05:00, ‘None’, mod]
Image Occlusion Enhanced [‘1374772155’, 2022-04-09T00:15, ‘None’, ‘’]
Puppy Reinforcement [‘1722658993’, 2023-11-16T04:59, ‘None’, ‘’]
Review Heatmap [‘1771074083’, 2022-06-29T18:43, ‘None’, ‘’]
UpToDate Addon [‘utd_anki_addon’, 2023-05-08T08:16, ‘None’, ‘’]

===IDs of active AnkiWeb add-ons===
1044112126 1210908941 1322529746 1374772155 1722658993 1771074083

===Add-ons (inactive)===
(add-on provided name [Add-on folder, installed at, version, is config changed])

This looks like it’s related to AnkiHub, not AMBOSS. If so, you should search for answers to this question in the AnkiHub support community – https://community.ankihub.net/ .

But first – try everything on the Troubleshooting Checklist, even the things you don’t think are relevant.

This looks like a data corruption issue. Make sure to try Tools > Check Database.

1 Like