Unable to change “Save action failed” error message while creating report – sys_ui_message not work
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi Team,
I am facing an issue while creating a report in ServiceNow. When I try to save the report, I receive the following generic error message: save action failed
- Navigating to Reports → Create New Report
- Filling the required details (Report Title, Table: Incident)
- Clicking on Save
- System throws a red banner error: "Save action failed"
Business Rule approach
- Attempted to use gs.addErrorMessage() and setAbortAction(true)
- Not working, as the error seems to occur before/after BR execution
sys_ui_message approach
- Tried to locate and override the message in:
System UI → Messages (sys_ui_message)
- Searched for keys like:
- save action failed
- save_action_failed
- action_save_failed
- Also tried creating a new message with similar keys
- Result: No change in the UI message
- Is the "Save action failed" message coming from a system-level handler instead of sys_ui_message?
- How can we override or customize this error message in Report creation?
- Is there any client script / UI script / widget involved for this message?
- Has anyone successfully changed this message using sys_ui_message or another method?
outcome:- Replace "Save action failed" with a custom message or Show a more meaningful validation error to users
Any guidance or pointers would be really helpful.
Thanks in advance!
- Replace "Save action failed" with a custom message or Show a more meaningful validation error to users
- Tried to locate and override the message in:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
ahoy @tmallipudi,
The message "Save action failed" looks like a custom error the wording and lowercase isn't typical for OOTB messages and I don't have it in my PDI either.. That makes it hard to tell what is the cause of that
What you can try is to install the SN Utils browser extension and run the slash command /code. It searches for all scripts in your environment, so using "save action failed" as a keyword may help you locate where that message is coming from.
On a break from this Community, too much collusion and self-boosting to handle... RIP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @tmallipudi
Check this KB: KB0959405 Unable to 'Save' Report
Cause
The issue is due to missing records in the sys_report_users_groups table. Whenever a report is created/shared, it will create a corresponding record in sys_report_users_groups. This table contains information on who can access the report (including who created the report and to whom the report is shared to).
Note: Investigate the reason why the records in sys_report_users_groups were deleted.
Resolution
The solution is to Save a copy of the report by clicking Insert & Stay. This will generate a new record in sys_report_users_groups, allowing user to Save the report.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti