- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2023 06:58 AM
Hi all,
In the ESC portal, the error message "Sorry, either the data doesn't exist or you don't have access" shows up in the My Requests page. Is it possible to change or edit that error message on any module or records in any table in backend? If there is a way for this to do it, can someone please guide or help me on this issue? You can refer the image attached with this question below for this issue.
Thanks & Regards,
Imran J
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2023 02:55 AM
Hello @Imran J3 ,
It is not possible to change the OOTB widget as it is read-only. If you want to change this text: "Sorry, either the data doesn't exist or you don't have access". You need to clone the "Standard Ticket Header" widget, make a change in line number 117, save, and attach it to the portal page. SS:
@Imran J3 , Please mark my answer as "Accept as Solution" and "Helpfuls." If it works for you.
Thank You!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2023 07:28 AM
Hi @Imran J3 ,
You can do that on the page level by overriding the alert class.
Add the below CSS in your page specific CSS in your page:
.alert-danger {
color: orange;
background-color: rgb(253, 247, 247);
border-color: rgb(217, 83, 79);
}
The alert message is now changed ti orange color.
Taken from :https://www.servicenow.com/community/developer-forum/how-can-i-change-the-alert-message-styles-on-th...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2023 11:20 AM
Hi Sandeep,
I need to change this entire error message "Sorry, either the data doesn't exist or you don't have access" and replace it with a new message instead of the OOTB text that is shown in the portal page. Is it possible to change the OOTB error message here?
Thanks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2023 02:55 AM
Hello @Imran J3 ,
It is not possible to change the OOTB widget as it is read-only. If you want to change this text: "Sorry, either the data doesn't exist or you don't have access". You need to clone the "Standard Ticket Header" widget, make a change in line number 117, save, and attach it to the portal page. SS:
@Imran J3 , Please mark my answer as "Accept as Solution" and "Helpfuls." If it works for you.
Thank You!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2023 10:45 PM
Hi Khushboo,
Thanks for your help and this is really useful for me.
Regards,
Imran J