Tried to submit a suggestion to a card and this error appeared:
Anki 2.1.66 (70506aeb) Python 3.9.15 Qt 6.5.2 PyQt 6.5.2
Platform: Windows-10-10.0.19045
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2023-12-30 07:14:19
Traceback (most recent call last):
File “C:\Users\Daniyal\AppData\Roaming\Anki2\addons21\1322529746\gui\suggestion_dialog.py”, line 412, in accept
self._callback(self.suggestion_meta())
File “C:\Users\Daniyal\AppData\Roaming\Anki2\addons21\1322529746\gui\suggestion_dialog.py”, line 95, in
callback=lambda suggestion_meta: _on_suggestion_dialog_for_single_suggestion_closed(
File “C:\Users\Daniyal\AppData\Roaming\Anki2\addons21\1322529746\gui\suggestion_dialog.py”, line 116, in _on_suggestion_dialog_for_single_suggestion_closed
if suggest_note_update(
File “C:\Users\Daniyal\AppData\Roaming\Anki2\addons21\1322529746\main\suggestions.py”, line 81, in suggest_note_update
client.create_change_note_suggestion(
File “C:\Users\Daniyal\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py”, line 793, in create_change_note_suggestion
raise AnkiHubHTTPError(response)
1322529746.ankihub_client.ankihub_client.AnkiHubHTTPError: AnkiHub request error: 400 Bad Request
if you try suggesting some change to another note in the AnKing deck or any other deck, do you still get the error? It’d be helpful if you enable error reporting from the config and post the link copied when you click Report error.
Thank you!
I just checked, and the error appears in other notes as well.
I did Click Report error but mistakenly deleted the pre-written text to add my own not knowing it included the error code.
I’ll try posting it again.
I’m unable to submit a suggestion to AnkiHub. An error appears saying, “Oh no! An AnkiHub add-on error has occurred.”
I’ve tried submitting a suggestion to other notes as well but the same error appears.
Error message (don't change this)
Anki 2.1.66 (70506aeb) Python 3.9.15 Qt 6.5.2 PyQt 6.5.2
Platform: Windows-10-10.0.19045
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2024-01-03 11:18:05
Traceback (most recent call last):
File "C:\Users\Daniyal\AppData\Roaming\Anki2\addons21\1322529746\gui\suggestion_dialog.py", line 412, in accept
self._callback(self.suggestion_meta())
File "C:\Users\Daniyal\AppData\Roaming\Anki2\addons21\1322529746\gui\suggestion_dialog.py", line 95, in <lambda>
callback=lambda suggestion_meta: _on_suggestion_dialog_for_single_suggestion_closed(
File "C:\Users\Daniyal\AppData\Roaming\Anki2\addons21\1322529746\gui\suggestion_dialog.py", line 116, in _on_suggestion_dialog_for_single_suggestion_closed
if suggest_note_update(
File "C:\Users\Daniyal\AppData\Roaming\Anki2\addons21\1322529746\main\suggestions.py", line 81, in suggest_note_update
client.create_change_note_suggestion(
File "C:\Users\Daniyal\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 793, in create_change_note_suggestion
raise AnkiHubHTTPError(response)
1322529746.ankihub_client.ankihub_client.AnkiHubHTTPError: AnkiHub request error: 400 Bad Request
Sentry link (for developers)
The logs show this message:
Suggestion fields and tags don’t have any changes to the original note
This is probably because the First Aid field is protected by default.
@ProductTeam the add-on should be improved to show the error message returned by the server.
So I can’t suggest a change to a note if I have protected First Aid field?
You can only suggest changes to unprotected fields.