You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
REST API Media 404 while Searching for a Block in Editor #727
The error is coming from a pattern - https://wordpress.org/patterns/pattern/bold-sale-banner-with-geometric-background/.
It provides an id attribute for a Cover block. When the ID exists, the editor assumes the image is in the media library and tries to fetch related data, resulting in an error.
This isn't a block editor issue, nor can it be resolved on our end.
Here is the rest of the bug report:
A 404 for wp-json/wp/v2/media with ID 333 or 334 keeps popping in the console
It feels like there is some resource on the search API that had this ID or something.
I've also seen 334 and 61 ID in a clean WP Playground.
Step-by-step reproduction instructions
Open the Browsers console
Create a new post
Start adding a new block straight inside the editor area (click the +)
Add for example a b in the search bar
🐞 A 404 error appears in the console
It seems that i happens also in the left sidebar blocks search bar.
Activity