I can’t use the history import page. I’m trying to import my Spotify extended streaming history and the page fails in two ways.
What happens
Uploading my_spotify_data.zip (18.4 MB, straight from Spotify, not extracted) at Sign in - MetaBrainz Foundation ends with: “There was an error creating an import of your data … TypeError: Failed to fetch”.
Simply loading or refreshing the page shows: “There was an error retrieving your imports in progress … TypeError: Failed to fetch”. The “Your imports” list stays blank, so I don’t think any import was created.
What I’ve tried
Edge on Windows 11, in a normal window and an InPrivate window.
The original zip and a plain local copy (the original sits in a synced OneDrive folder).
iPhone, Safari, mobile data with Wi-Fi off, signed in: the same page fails with “TypeError: Load failed”.
Upload settings were Spotify, start 1 Sep 2026, end 14 Oct 2026, default timezone.
Other parts of the site work. I’m signed in, my profile loads, and my Navidrome scrobbles show up as “listening now”.
The first failure was around 1 pm Australian Eastern time on 15 October 2026, and it was still failing about two hours later.
Is the import service having problems, or is there something about my account I should check? I’m happy to share more detail, though I’d rather not post the zip because it holds personal data.
Just to say you’re not the only one. I have different browser and different O.S. so I doubt it’s “our side”… I’ve cross-posted here too to help tie the stories together
5mb data
Tested on Chromium based browsers and Firefox based browsers, from MacOS 26.7.1
On the UI:
There was an error creating an import of your data
Please try again and contact us if the issue persists. TypeError: Failed to fetch
Browser console logs:
import/:1 Access to fetch at 'https://api.listenbrainz.org/1/import-listens/' from origin 'https://listenbrainz.org' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status.
ImportListens.tsx:407 POST https://api.listenbrainz.org/1/import-listens/ net::ERR_FAILED
I’m having the same issue. Fails on Firefox. Disabled all extensions. Disabled my network adblocking. I even dusted off Microsoft Edge and it still failed. It’s just broken.
I’m not going to join the Discord or whatever, but I noticed a potential issue in the code that may be contributing to this problem.
From git@github.com``:metabrainz/listenbrainz-server.git@122b4f4d:listenbrainz/webserver/decorators.py:32:
def crossdomain(f):
""" Decorator to add CORS headers to flask endpoints.
This decorator should be applied just after the route to ensure the provide_automatic_options
is set correctly.
"""
And then from git@github.com``:metabrainz/listenbrainz-server.git@122b4f4d:listenbrainz/webserver/views/import_listens.py:37:
So create_import_task() (along with other endpoint methods in the same file) does not respect the decorator order mentioned in the comments of crossdomain().