Skip to content

[SoundCloud] Playlist Loading JSON Parse Error because of specific song #12584

@simonai1254

Description

@simonai1254

Checklist

  • I am able to reproduce the bug with the latest version given here: CLICK THIS LINK.
  • I made sure that there are no existing issues - open or closed - which I could contribute my information to.
  • I have read the FAQ and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug.
  • I have read and understood the contribution guidelines.

Affected version

0.28.0

Steps to reproduce the bug

Preparation:

  1. Go to Soundcloud
  2. Create/find a (public) playlist with at least 6 songs, the 6th (or later) being https://soundcloud.com/roman-bene-939339090/dreams

Reproduce the issue:

  1. Open the playlist in NewPipe
  2. Observe that the first 5 songs are loaded, but the songs after that won't appear. At the same time a message "something went wrong" will show up.

Further testing:
If you move the offending song into the first 5
positions, the loading of all tracks in the playlist will fail.

Expected behavior

The playlist should load (and play) completely.

Actual behavior

The loading of the playlist fails with an error displayed "Something went wrong - Report". Clicking on report a "JSON parse error" is indicated.

If the song is at or after 6th position, the first five songs load and play correctly, but not the ones after.

Screenshots/Screen recordings

No response

Logs

Exception

  • User Action: requested playlist
  • Request: Loading more items: https://soundcloud.com/myusername/sets/someplaylist
  • Content Country: GB
  • Content Language: en-GB
  • App Language: en_GB
  • Service: SoundCloud
  • Timestamp: 2025-09-01T00:07:17.195+02:00
  • Package: org.schabi.newpipe
  • Service: SoundCloud
  • Version: 0.28.0
  • OS: Linux samsung/pa3qxeea/pa3q:15/AP3A.240905.015.A2/S938BXXU3AYE7_OXM3AYE7:user/release-keys 15 - 35
Crash log

org.schabi.newpipe.extractor.exceptions.ParsingException: Could not parse json response
	at org.schabi.newpipe.extractor.services.soundcloud.extractors.SoundcloudPlaylistExtractor.getPage(SoundcloudPlaylistExtractor.java:207)
	at org.schabi.newpipe.extractor.playlist.PlaylistInfo.getMoreItems(PlaylistInfo.java:84)
	at org.schabi.newpipe.util.ExtractorHelper.lambda$getMorePlaylistItems$11(ExtractorHelper.java:190)
	at org.schabi.newpipe.util.ExtractorHelper.$r8$lambda$ex-iFP0sbcZ9pJ1NLRvz96s1ml4(ExtractorHelper.java:0)
	at org.schabi.newpipe.util.ExtractorHelper$$ExternalSyntheticLambda12.call(R8$$SyntheticClass:0)
	at io.reactivex.rxjava3.internal.operators.single.SingleFromCallable.subscribeActual(SingleFromCallable.java:43)
	at io.reactivex.rxjava3.core.Single.subscribe(Single.java:4855)
	at io.reactivex.rxjava3.internal.operators.single.SingleSubscribeOn$SubscribeOnObserver.run(SingleSubscribeOn.java:89)
	at io.reactivex.rxjava3.core.Scheduler$DisposeTask.run(Scheduler.java:644)
	at io.reactivex.rxjava3.internal.schedulers.ScheduledRunnable.run(ScheduledRunnable.java:65)
	at io.reactivex.rxjava3.internal.schedulers.ScheduledRunnable.call(ScheduledRunnable.java:56)
	at java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:307)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
	at java.lang.Thread.run(Thread.java:1012)
Caused by: java.lang.NullPointerException: no track with id -2139744901 in response
	at j$.util.Objects.requireNonNull(SourceFile:244)
	at org.schabi.newpipe.extractor.services.soundcloud.extractors.SoundcloudPlaylistExtractor.getPage(SoundcloudPlaylistExtractor.java:201)
	... 15 more


Affected Android/Custom ROM version

Android 15 / Samsung One UI 7.0

Affected device model

Samsung S25 Ultra

Additional information

This might be closely related to #11605, though having an exact culprit to work with I decided to open up a dedicated issue.

My guess would be that the brackets in the name of the song cause the issue, but couldn't investigate it further. [This was from a faulty assumption - traced it to another song]
My guess would be that the special characters in the poster's name (Roman Beneš).

I was able to identify the song (https://soundcloud.com/roman-bene-939339090/dreams) witch caused the issue loading my playlist because NewPipe started to behave weird only after adding some songs.
After re-ordering/removing the one song I'm now able to listen to all the other songs I added to the playlist.

Metadata

Metadata

Assignees

No one assigned

    Labels

    SoundCloudService, https://soundcloud.com/bugIssue is related to a bug

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions