Import page fails with "Failed to fetch" / "Load failed" (Spotify extended history zip)

Hi all,

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.

My username is lovekynsilo .

Thanks.

9 Likes

Hi,

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

N

5 Likes

Same error here. Started at 14th of October

1 Like

same issue here,

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

Hope this helps

4 Likes

I have the same issue since October 11th (never tried before that, to be clear)

4 Likes

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.

Same. Tried different browsers. Different machines. Different networks. No change.

Edit: didn’t realise there were a bunch of tickets, added 'em all for now :stuck_out_tongue:
(some should probably be closed as duplicates, if someone has time)

That issue tracker URL Log into Atlassian - MetaBrainz Tickets also seems to be not opening. Throws:

Jira had problems starting up
Database: Jira couldn’t connect to your database
…

Thanks for the reports everyone, we are in the process of fixing the issue.
A fix is created, and just needs to be deployed on our gateways

The issue is fixed now, please let me know if you’re still having issues with importing files

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:

@import_api_bp.post("/")
@web_listenstore_needed
@crossdomain
@ratelimit()
def create_import_task():

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().

I just tried and the error box has disappeared and the import is working!

OS: NixOS
Browser: Firefox

1 Like

Excellent! Thanks @aerozol and @mr_monkey, working for me now (Linux and Firefox, not the OP)

1 Like

Thank you everyone. Works now on CachyOS with Firefox and also Windows 11 with Firefox.

Thanks Monkey. All fixed on my end.