Persistent "400 Bad Request" error

Hi,

I’m getting a persistent “400 Bad Request” error when trying to install my own AnkiHub deck on another device.

Environment

  • Anki version: 25.02.7 (1b882285) (ao)
    Python 3.9.18, Qt 6.6.2, PyQt 6.6.1
    Platform: macOS 14 (Apple Silicon)
  • AnkiHub add-on: latest version from AnkiWeb (1322529746)

Deck

  • AnkiHub deck ID: 3a3ca140-d3e3-461f-9030-03b17d193c74

What I did

  1. Created a new deck in Anki and added notes.
  2. Used the AnkiHub add-on to upload it as a new AnkiHub deck.
    • During upload I saw a warning about “empty fields” in some notes, but the upload finished and the deck appears on AnkiHub.
  3. On another device, logged into the same AnkiHub account in the add-on.
  4. Subscribed to that deck and tried to install it.
  5. Got the generic “Oh no, an AnkiHub add-on error has occurred“ message and this traceback:

AnkiHubHTTPError: AnkiHub request error: 400 Bad Request
File “…/ankihub_client.py”, line 623, in download_deck
s3_url_suffix = self._presigned_url_suffix_from_key(key=deck_info.csv_notes_filename, action=“download”)
File “…/ankihub_client.py”, line 974, in _presigned_url_suffix_from_key
raise AnkiHubHTTPError(response)

1322529746.gui.exceptions.DeckDownloadAndInstallError: Error while downloading and installing deck 3a3ca140-d3e3-461f-9030-03b17d193c74: AnkiHub request error: 400 Bad Request

This also happened earlier with older decks in my account, so it seems something is wrong with how the deck’s notes file (csv_notes_filename / S3 key) is generated or stored.

Could someone from the AnkiHub team please check this deck ID on the server side and see if its metadata / notes file is broken or missing, or advise how to regenerate it?

Thanks in advance!

I can’t find this deck. Have you deleted it? There’s another deck under your name, but apparently it doesn’t have the issue.