ExportXMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Normal
    • None
    • Component/s: API, import tools
    • None

      Hi,

      I tried to import listens from a CSV file on https://listenbrainz.org/settings/import/, selecting Libre.fm as the source of the file.

      Steps:
      1. Go to https://listenbrainz.org/settings/import/ while logged in
      2. Select the CSV file and choose Libre.fm as the source
      3. Start the import

      Result: as soon as the page loads, I get "There was an error retrieving your imports in progress". When I start the import, I get "There was an error creating an import of your data". Both say "TypeError: NetworkError when attempting to fetch resource."

      In the Firefox network tab, the OPTIONS preflight to api.listenbrainz.org/1/import-listens/ and /1/import-listens/list/ returns 404, so the browser cancels the actual requests. The rest of the site loads fine.

      Same result with curl from a server, no browser or extensions involved:

      curl -i -X OPTIONS https://api.listenbrainz.org/1/import-listens/list/ -H "Origin: https://listenbrainz.org" -H "Access-Control-Request-Method: GET" -H "Access-Control-Request-Headers: authorization"

      HTTP/2 404

      {"code":404,"error":"The requested URL was not found on the server. ..."}

      Tested today (2026-10-14) around 07:49 UTC.

            Assignee:
            Unassigned
            Reporter:
            Mambokara
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package