I came across an org where the system admin users are receiving insufficient privileges error while trying to access case records. I don't understand why admin users are getting this error as 'View All Data' and 'Modify All Data' are checked by default at profile level. In the list view, I'm able to see the case owners. So, I logged in as a case owner and tried to access the cases owned by the user. Still receiving the same insufficient privileges error. Any thoughts on what I should be looking at to fix this?

  • 3
    Any chance the case view is overridden with a VF page that the profile does not have access to? – Eric Dec 9 '16 at 15:13
  • I checked it, the view is not overridden. I created some cases for testing and I'm able to view them. – Avinash Dec 9 '16 at 15:45
  • 1
    So you can view any new cases created by yourself, but you can't view any old cases created by anyone? What about the user? Can they create/view their own new case and just not access the old ones? Are there multiple record types in play? What is the OWD for Case object? – Morgan Marchese Dec 9 '16 at 16:00
  • OWD for case object is Private. Yes, there are multiple record types, but all the record types are assigned to the profile. – Avinash Dec 9 '16 at 17:15
  • if you do a soql query on the Case, can you see it? If yes, does it have a recordTypeId for a no-longer existing recordType (although this shouldn't happen) – cropredy Dec 9 '16 at 19:05

Your Answer

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

Browse other questions tagged or ask your own question.