Announcements

Help Wizard

Step 1

NEXT STEP

FAQs

Please see below the most popular frequently asked questions.

Loading article...

Loading faqs...

VIEW ALL

Ongoing Issues

Please see below the current ongoing issues which are under investigation.

Loading issue...

Loading ongoing issues...

VIEW ALL

All embedded Spotify playlists on my website show error message: 404 | This page could not be found

All embedded Spotify playlists on my website show error message: 404 | This page could not be found

As of today, and possibly for a month or so as I haven't been able to use Spotify on my main business computer for several months because Mac OS 10.10 was deprecated by Spotify, all of the embedded Spotify curated playlists on my website (https://www.ancient-future.com) return this error message: 404 | This page could not be found. These playlists have been working for many years without issue.

 

Here's a page that is filled with playlists that don't work:

 

https://www.ancient-future.com/radio/broadcasts.html

 

The embeds that are single albums or tracks (not playlists) still work.

 

Has there been a recent problem with playlists no longer functioning? Or could my Spotify account have been hacked during this period when I can't use Spotify on my main computer?

 

Reply
3 Replies

I was able to log on to my Spotify account from my music recording computer, and I found that my playlists are still there. However, the suggested embed code has changed, including completely different identifiers. When I pasted the new code into a test page next to the old embed, the playlist with the new code played. I deleted the old embed code, and then the playlist with the new code also returned the 404 | Page not found error message. This is absolutely weird.

Old Embed Code Only.png
Old Embed Code Followed by New.png
New Embed Code Only.png

I did find this solution to the problem. I had to search and replace on my website to find all of the old embed codes with user names or user numbers. Then I replaced the first part of the old embed codes up to the playlist numbers and letters with the first part of the new embed code. For my website, I had to use these three basic searches for every user name and number, and I have multiple user names and numbers because the website features playlists from many of the musicians who are part of our world music collaboration. It was a huge effort to accomplish. Spotify should start to respect the work of musicians and artists, and not change codes causing problems for artist's websites unless absolutely necessary due to a security issue or something along those lines, and in such cases, there needs to be a major campaign to let artists and websites know of the coming changes with at least six months of lead time. Content is what is important, not tech for tech sake or shareholder profits.

Here’s the necessary search and replace code. First search your website using these codes after inserting the user name or user number:

<iframe src="https://embed.spotify.com/?uri=spotify%3Auser%3AInsertUserNameHere%3Aplaylist%3A

<iframe src="https://embed.spotify.com/?uri=spotify:user:InsertUserNumberHere:playlist:

<iframe src="https://open.spotify.com/embed/user/InsertUserNumberHere/playlist/

Then replace that part of the code with this:

<iframe style="border-radius:12px" src="https://open.spotify.com/embed/playlist/

Here’s the necessary search and replace code. First search your website using these codes after inserting the user name or user number:

<iframe src="https://embed.spotify.com/?uri=spotify%3Auser%3AInsertUserNameHere%3Aplaylist%3A

<iframe src="https://embed.spotify.com/?uri=spotify:user:InsertUserNumberHere:playlist:

<iframe src="https://open.spotify.com/embed/user/InsertUserNumberHere/playlist/

Then replace that part of the code with this:

<iframe style="border-radius:12px" src="https://open.spotify.com/embed/playlist/

 

And just posting the code to my solution did cause the dreaded "404 | This page could not be found." error message, so you will have to work around those those to figure out what the code is. Someone at Spotify should post detailed instructions in such a way that it won't cause the error message here as well!

Suggested posts