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

Spotify Embed do not work on Disord and will not show up when a song is shared.

Spotify Embed do not work on Disord and will not show up when a song is shared.

Plan

Premium

Country

UK

Device

Samsung A72 and Desktop Windows. (But issue is on Discord)

Operating System

N/A
Discord Version: 0.0.309


My Question or Issue

I have had this issue for a while since spotify updated the embeds where on Discord if I put a embed in it will not work and will just leave a blank space where the Embed is ment to be. This has been going on a while now and I am fustrated with this issue. I remember it just started happening after the new embeds were implemnted and then what happened is the embeds were ok for a while, but then just one day they broke were if you posted a new embed it would not show the song at all and it has been annoying.

If a solution can be found that would be a great help.

Thank You!

 

 

 

 

Example of Spotify.PNG
Reply
59 Replies

Hey!

I've had a similar issue where when I send links (originating from the desktop app) on discord... they sometimes work and sometimes don't. 

When someone else sends a link to a song it will look like the first image...

 

compared to when I send links they just simply don't work or they work and come with no little preview listen option. 

but sometimes it does work and that's cool. but its become hit or miss lol.

 

I also pay for nitro and am also a premium subscriber. I haven't tried reinstalling Spotify yet. I will try doing that. But I have had similar issues to you and it's only been super recently.  Its not the most deal-breaking issue ever but it gets annoying. 

spotify 1.JPG
spotify 2.JPG

Did anyone ever figure a 100% fool proof way on how to get this situation finaly fixed? 

After the issue with the embeds from some time ago, it worked fine now for the past couple weeks, but today when I looked at Discord, all embeds had been removed, that worked just fine yesterday. Pls bring the embeds back, they are very usefull in music conversations 

 

It was working very fine on Discord, however today the embeds are fully gone everywhere and it sucks, because many people post them without saying what song and artist this is, so talking to people on Discord without them and just looking at blank links is a bit sad. Pls give us the embeds back

Ahhhh yea can confoime that it won't work by doing that it is a problem with discord

Still nothing happening. Why are embeds crashing so often? like this is the 3rd time in a year or so and its bugging me. Day 5 and I still sit here not seeing anything 

Unbenannt.png

i used to have the same problem, one day the embeds came back and suddenly they don't work again, i guess the problem come and go and we can't do anything about it

Plan

Premium

Country

UK

Device

PC Laptop

Operating System

Windows

 

My Question or Issue

Copy & pasting a song or playlist link and pasting into Discord no longer shows a preview. The solution offered in Preview of song not working when copying it  doesn't work. I've attached a screenshot showing the spotify URI showing up as text and a second message containing the link below with no preview.

 

Screenshot 2024-08-09 022841.png

I have found a solution to this issue.

every Spotify link has this small piece “si=“

When you post the link, delete everything from that section on.

IMG_9327.jpeg

 The underlined part of the link is what you should delete. It should look like the link on the bottom of the image provided. Do not delete the question mark before the “si=“

I finally found a fix! I went to settings > Chat in my android app. At the bottom there is an option for Sync. Once I turned sync off, it fixed the link embed issue on all of my devices. I think that sync options is somehow broken, and was making it so I could see embed links even if turned on for every single device.

 

this is still an issue by the way

 

Does not work for me :') (yes I kept the question mark)

 

image_2024-09-03_234025177.png

Hi there, sorry for the long reply. Yes, this issue happens to me. Constantly. For years.

 

TL;DR: This is almost certainly a Discord issue.

 

This issue annoys the **bleep** out of me, and has been happening for about 4 years from what I can tell, but has gotten much worse. It used to be you could edit the message and remove some of the URL gunk from the '?' onward. Today at least, this isn't the case for myself.

 

I've seen dozens of threads mentioning this bug over the years, both directed to Spotify and to Discord. Spotify tends to point toward it being a Discord problem (I agree, details below), and Discord tends to obfuscate its bug reporting system so that discussion cannot occur publicly, which means the issue is likely swept under the rug.

 

(side rant): Discord's bug reporting form is awful, and asks for (among other vaguely hostile things) a way to reproduce the bug with 100% certainty. Anyone who has worked in software knows that most bugs are not predictable, ESPECIALLY in ways users can verbalize (usually because of esoteric conditions and variables outside any user's, or developer's comprehension). Yes, computers are deterministic, but expecting a volunteer bug reporter to diagnose their bug for them by outlining the exact string of faulty logic which causes the issue to occur so infrequently— and all without the benefit of source code — is unreasonable.

(end of rant)

 

This bug (as this thread details) is one of those which is not 100% reproducible. Perhaps this is why Discord has not fixed the issue.

 

I'm a developer by trade, so after years of frustration with this one single unfixed bug I decided to turn some of my righteous fury with this bug toward actually getting closer to an answer.

 

Digging into the issue, it seems quite simply that the Discord client is not sending an HTTP GET request to the Spotify API. Why? No clue, but from my perspective this ball is entirely within Discord's court.

 

You can see this for yourself if you open up the Discord app in a web browser and use the developer tools to look over the network requests/headers and console logs.

 

In all cases where the preview widget is working as intended, the HTTP GET request is present. In call cases where the HTTP GET request is missing, the widget embed is missing.

 

I've seen casual mention in threads regarding this bug that perhaps Spotify is refusing connection to the widget for some reason on particular songs, or limiting bandwidth at busy times. My evidence against this line of thought is that Spotify can't send the widget to the Discord client if an HTTP request is never made, so this is almost certainly a Discord issue.

 

As some easily visible evidence for this claim, we can simply ask Spotify's API for the embed which isn't appearing (ourselves). Take the Spotify URL of a song you're not seeing an embed for, and prune it until you just have the song ID. For example:

Step 1) Use Spotify to copy the song share link:
I.e https ://open.spotify.com/track/141hcjVM8lNPxi4wjNLgdX?si=321d066eb2c2484f 

 

Please note, I've added a space after https to try to avoid Spotify auto-embedding widgets (very ironic) on this post.

 

Step 2) Remove everything after the URL's query string (the question mark):
I.e. https ://open.spotify.com/track/141hcjVM8lNPxi4wjNLgdX 

 

Step 3) Remove everything up to the /track/, and then copy what remains:
I.e. Copy `141hcjVM8lNPxi4wjNLgdX`
This is the song ID.

 

Step 4) You can make your own request for an embed widget by pasting it at the end of this partial URL:
https ://open.spotify.com/embed/track/ 
I.e. https ://open.spotify.com/embed/track/141hcjVM8lNPxi4wjNLgdX 

 

Again, please note I've added a space after the https for easier viewing.

 

And then hit enter, and watch as Spotify's API happily and quickly hands you the widget that Discord should be asking for.

 

I'm posting here partly in hopes making a stink outside Discord's bug reporting space will maybe get some traction with Discord.

thank youu!! it worked finally 

i found a fix to this if you add a dot or any character after the link it works

think they'll never fix the links problem Its just annoying trying to send a link and see no preview of the song as before I just don't understand why this hasn't been fix already we need embed links back!!

This trick recovers the mobile embeds but not the desktop ones where we could directly preview the songs inside a Spotify album / playlist

I have noticed that when I edit messages containing Spotify links, the embeds often break after editing. This happened quite a few times. For several links I could not find a feasible workaround to make the embed with the preview widget to show up. (i.e. the embeds are blocked from showing up even when I tried to post it to a diff server)

 

First screenshot is the Spotify desktop embed.

Second screenshot is the Spotify mobile embed.

desktop embed.png
mobile embed.png

would be swell if this got fixed - it's been a frustration for several years at this point.

On Discord, the "https ://open.spotify.com/embed/track/SONG-ID" command doesn't seem to embed within Discord (even with a valid song ID). However, when the link is clicked on (assuming it has a valid song ID), it opens in a new browser tab and embeds within the tab. I'll have to do more tests with this though.

However, "https ://open.spotify.com/track/SONG-ID" seems to embed within Discord (assuming it has a valid song ID), but I'll also have to do more testing.

P.S. I added a space between the "https" and the ":" so it doesn't try to make a weird hyperlink.

If you see this message, please verify this on your end.

Suggested posts