I have Read permission on a object for a profile. Also, OWD settings is Public Read/Write. Still the record is getting insufficient access for the relevant User.

Why am I getting this error? Why is the record not visible?

  • Is the page you're trying to see it through standard or a Custom Visualforce page? Could it be that the Profile doens't have access to the visualforce page? – Alexander Aeons Torn Nov 30 '17 at 13:24
  • Yes it is through a custom page and I have given access to it. Still the error shows – user3919803 Nov 30 '17 at 14:17
  • Check field level security as well for that profile. Also the current user will only see the records it owns. – Mr.Frodo Nov 30 '17 at 17:09
  • also if there is a master detail relationship present you would need to ensure that the profile has access to both ends of that relationship. – Ronnie Dec 1 '17 at 3:45

You should try giving access to the custom page as well as the controller.

  • This could be a comment until it is confirmed. – Mr.Frodo Nov 30 '17 at 17:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.