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
Site editor: add details to "Saving failed" error message #57245
This was fixed in #81151, the save snackbar now shows the message the server returns and only falls back to "Saving failed." when there is none. So I'm closing this one. Feel free to reopen if I'm missing something.
Activity
[-]Site editor: add details to Save error[/-][+]Site editor: add details to "Saving failed" error message[/+]sirreal commentedon Jan 8, 2026
A failed API response looks like this:
{ "code": "rest_custom_css_illegal_markup", "message": "Example human-readable message here.", "data": { "status": 400 } }Mamaduka commentedon Jan 8, 2026
@sirreal, I think we should be able to reuse
getNotificationArgumentsForSaveFailutil here as well.gutenberg/packages/editor/src/store/actions.js
Lines 288 to 295 in 8115fc0
P.S. There's also another associated PR for this issue by @kartikmehta8. Let's not forget to give them props.
ntsekouras commentedon Sep 21, 2026
This was fixed in #81151, the save snackbar now shows the message the server returns and only falls back to "Saving failed." when there is none. So I'm closing this one. Feel free to reopen if I'm missing something.