Can't import big Spotify playlists in ListenBrainz

Hello,

I’m trying to import a relatively big (397 songs) playlist from Spotify to ListenBrainz
However, when trying to import it I get the following error :

Something went wrong
We could not save your playlist: Error: An unknown error occured.

I can import smaller playlists (51 songs for example). I actually don’t know if it’s related to size, but it seems to be it

3 Likes

I’m experiencing the same issue, the only playlist I could import is the smallest one (18 tracks), the others give the exact same error.

2 Likes

Hi! Thanks for bringing this to our attention!

The issue is, indeed, related to size. We are already working on a solution, and it should be resolved within the next 1-2 days.
Thank you for your patience!

6 Likes

I have 2 Spotify playlists

  • A, 10 songs
  • B, 1500 songs

A shows in the import popup, B doesn’t.

A gets imported fine.

When manually trying to import B (by sending GET https://api.listenbrainz.org/1/playlist/spotify/{spotify-playlist-id}/tracks), only the first 84 songs get imported.

That’s unfortunate.

1 Like

This issue persists; I have a Spotify playlist containing 362 songs and only 190 get imported

Peeking at the response from a direct call to the API via RestMan, it appears the server is hitting a timeout:

<body>
    <div id="bg">
        <img src="/.custom_error_pages/MusicBrainzLogo-Z.png" />
    </div>
    <h1>Sleepy Server</h1>
    <p>One of our servers appears not to be responding quickly enough.&nbsp; Please try again later.</p>
    <p id="http">504 Gateway Timeout</p>
</body>

Hello everyone!
Last week and this week I have been working on playlist importing issues.
I have already fixed an issue on the Spotify side limiting importing to 100 tracks, and currently working on fixing Apple Music which suffers the same issue.

I am also looking at issue swith exporting to Spotify, where newlines in our descriptions seem to be causing the playlists to be rejected.

Once that is all deployed I will come back here to ask for more testing.

5 Likes

Could the current track/artist matching logic be revised?

Right now a lot of tracks are missing on export (even if a simple search on spotify outputs the right tracks as first result), making the feature a bit useless since most times I spend less time directly creating the playlist in spotify than using ListenBrainz first.

@Isabelxxx this is not the right place to bring up your issue. Please do not hijack threads. This thread is about the limit on importing large playlists from Spotify. If you need help with something else, please create a new thread.

I am also looking at issue swith exporting to Spotify, where newlines in our descriptions seem to be causing the playlists to be rejected.

I’m just answering to this part, since the entire logic of Spotify playlist exporting has problems and the dev was revising it. No intention to hijack the thread.

i have already found a bug with the importer (for apple music)
sometimes it can’t find a match for a song and then it just give you an error message that it didn’t work.

i wrote a comment on https://tickets.metabrainz.org/browse/LB-1700