Template Part: 403 request error occurs in edit mode #68670
Labels
[Feature] Site Editor
Related to the overarching Site Editor (formerly "full site editing")
REST API Interaction
Related to REST API
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature does not function as intended
Description
When I open any template part in the site editor, a 403 error is recorded in the browser console:
After investigating the problem, it appears that this issue occurred in #61273.
For example, if I temporarily comment out the
Header
component as shown below, the console error will disappear:It is likely that some request in the
Header
component is causing this error. I'm investigating the cause.Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Please confirm which theme type you used for testing.
The text was updated successfully, but these errors were encountered: