- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2025 12:56 PM
Hi,
When users with only snc_internal role are trying to access enhancement records, we see below error messages:
This is working as expected for all other users.
Here's the line 39:
Can anyone please assist?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2025 01:01 PM
Clearly the object fields[0] is null. So where is "fields" coming from. So you need to check that and that should point you to a table the user probably does not have access to. So you will have to change the security of the table or trap out the error and display a message that tells the user that they do not have access to the record they are trying to view.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2025 01:01 PM
Clearly the object fields[0] is null. So where is "fields" coming from. So you need to check that and that should point you to a table the user probably does not have access to. So you will have to change the security of the table or trap out the error and display a message that tells the user that they do not have access to the record they are trying to view.