Make WordPress Core

Opened 14 months ago

Last modified 14 months ago

#51085 new defect (bug)

oEmbed JSON returning 404/401 when embedding anything from Spotify

Reported by: secondlinethemes Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.5
Component: Embeds Keywords:
Focuses: Cc:


Hi there,

Trying to embed a Spotify track/podcast episode via oEmbed. It worked great in the past.
Right now I'm testing with WP 5.4.2 and 5.5, no plugins, default theme. PHP 7.3/7.4.
This happens both in the block editor and classic editor.

Getting a 404 in the browser console -
Failed to load resource: the server responded with a status of 404 () - https://domain.com/wp-json/oembed/1.0/proxy?url=https%3A%2F%2Fopen.spotify.com%2Falbum%2F7xYnLZK3hR60bzd6sRNOvm%3Fhighlight%3Dspotify%3Atrack%3A3MUeRkKpLxxyRFzqMTj1HY&_locale=user

Then also 401 when trying to access directly but I guess that makes sense -
{"code":"rest_forbidden","message":"Sorry, you are not allowed to make proxied oEmbed requests.","data":{"status":401}}

Trying to embed:


Change History (1)

#1 @SergeyBiryukov
14 months ago

  • Component changed from General to Embeds
Note: See TracTickets for help on using tickets.