Active
Project:
SoundCloud Field
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Sep 2023 at 19:24 UTC
Updated:
18 Dec 2024 at 22:50 UTC
Jump to comment: Most recent
We received reports of Soundcloud embeds no longer loading on our D7 sites. I traced it to Soundcloud blocking cURL requests which this issue attempts to fix. This issue relies on that one.
I should mention that the embeds we are using are private. After patching from #3388657: Soundcloud blocking cURL requests, switch to drupal_http_request?, the embeds now load but with the error "You have not provided a valid SoundCloud URL." I don't know the cause but my assumption is something changed in the JSON response from Soundcloud.
Using 7.x or 2.0.x, visit a page with a private Soundcloud embed and see the embed widget loading but showing the error mentioned above.
Comments
Comment #2
vinmassaro commentedComment #3
vinmassaro commentedComment #4
akoepke commentedI have had a look into this issue. The private URL should have a token at the end similar to s-3M4TCI8FWDC
This forms part of the path and the private track will load correctly if this is included.
Comment #5
vinmassaro commented@akoepke: I am using a private URLs that contain the secret token as you mentioned. I am hoping you can take another look at this because it is no longer working and this has been in place for years with nothing changed on our end. If you contact me on Drupal slack or through my contact form, I can point you to some non-working examples. Thanks!
Comment #6
markie commentedCan confirm this is a valid issue. I have tried
https://soundcloud.com/therandomatics/cyber-street/s-u8aRnQedEGm?in=ther...
and even removed all the utm_ parameters. I even tried just using the si parameter but to no avail.
Additionally, I tried shortening the link to https://on.soundcloud.com/V4K39Y8baaXe1seu5 and that gives an immediate error.