Error 400 trying to make a suggestion

I was just trying to suggest a new image to a card in the Anking deck.

Error message (don't change this)
Anki 24.04.1 (ccd9ca1a)  (ao)
Python 3.9.18 Qt 5.15.2 PyQt 5.15.5
Platform: Windows-10-10.0.22631

Traceback (most recent call last):

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

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

  File "C:\Users\PRIMARY\AppData\Roaming\Anki2\addons21\1322529746\gui\suggestion_dialog.py", line 128, in _on_suggestion_dialog_for_single_suggestion_closed
    suggestion_result = suggest_note_update(

  File "C:\Users\PRIMARY\AppData\Roaming\Anki2\addons21\1322529746\main\suggestions.py", line 102, in suggest_note_update
    raise e

  File "C:\Users\PRIMARY\AppData\Roaming\Anki2\addons21\1322529746\main\suggestions.py", line 95, in suggest_note_update
    client.create_change_note_suggestion(

  File "C:\Users\PRIMARY\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 907, 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 Additional Resources field is protected by default. You have to unprotect it to be able to suggest changes to it, but I don’t think any changes to this field are accepted. @Ahmed7 can confirm.

2 Likes

While simple changes are okay (size changes for pictures), in general no changes are usually allowed

1 Like

Gotcha, maybe there’s a way to improve the error message in the AnkiHub app to preempt the confusion.