Type in your question below and we'll check to see what answers we can find...
Loading article...
Submitting...
If you couldn't find any answers in the previous step then we need to post your question in the community and wait for someone to respond. You'll be notified when that happens.
Simply add some detail to your question and refine the title if needed, choose the relevant category, then post.
Before we can post your question we need you to quickly make an account (or sign in if you already have one).
Don't worry - it's quick and painless! Just click below, and once you're logged in we'll bring you right back here and post your question. We'll remember what you've already typed in so you won't have to do it again.
I'm trying to implement automatic embedding of spotify tracks/albums etc in a blog site.
But it is being blocked.
When I try this at home:
curl -v "https://open.spotify.com/episode/7makk4oTQel546B0PZlDM5"
I get the JSON returned just fine. It includes a JSON object containing the html to make this:
https://open.spotify.com/episode/7makk4oTQel546B0PZlDM5
If I try it from an amazon aws instance, I get a 403 from spotify.
Should I be trying to get the client to do the embed request? I suspect that will fail with XSS issues.
Does spotify dislike websites doing embed lookups?
Info and example URL taken from here:
https://developer.spotify.com/documentation/embeds/references/oembed-api/#/operations/oembed
Solved! Go to Solution.
Hello, the issue has been fixed on our end.
I can confirm that you should get the correct response with HTTP 200.
.
We're experiencing the same issue on our app hosted on Heroku (which uses AWS infrastructure, if I'm not mistaken). Doing the same requests from my local machine works as expected.
Getting the same issue for our oEmbed plugin (hosted on AWS Lambda). Works fine locally.
Same 403 error here.
Hosted on GCP asia-east1.
Works fine locally too.
I have a Discourse instance running on a Vultr cloud server and am experiencing the same issue. Pasting a Spotify link into a post used to generate a nice preview; now the attempt to generate a preview yields 403 Forbidden. I'd love to find out why this suddenly stopped working.
Hello, the issue has been fixed on our end.
I can confirm that you should get the correct response with HTTP 200.
Can confirm the problem is fixed now...
Hey there you, Yeah, you! 😁 Welcome - we're glad you joined the Spotify Community! While you here, let's have a fun game…