function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Imtiaz PashaImtiaz Pasha 

System.DmlException: Insert failed. First exception on row 0; first error: INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY, You do not have the level of access necessary to perform the operation you requested. Please contact the owner of the recordour a

please help me to get this rid of out , actually even though i have access am getting this error
Imtiaz PashaImtiaz Pasha
am getting error on case object while using post method to post attachment on related lists
AbhishekAbhishek (Salesforce Developers) 
>>You may see this error message if a Salesforce user is restricted to any of the objects or components being used with the app. For example, does the user have access to the document action object and the base object being used in document action to build a template? You can check to share settings by going to Setup > Security Controls > Sharing Settings. Click “edit” if you need to change the settings on any object.

>>Another reason you could see this error message is if you installed the app package for Admin’s only rather than All Users. This type of install would restrict the app package components to any nonadmin users. You may need to uninstall the app package and then reinstall it from AppExchange for all users. We suggest submitting a case to Salesforce support to make sure this is what you need to do. If you have configurations setup in org that you want to save or want assistance from our Consulting team to do this for you, contact to link you with the Consulting team.

>>Steps to uninstall the package: Setup > Installed Packages > A5 Documents > Click on “uninstall package.” You will have to make sure no custom buttons are on page layout or any other fields in use that is preventing you from uninstall. You will get an error notification after trying to uninstall letting you know the steps need to successfully uninstall. Then once uninstall is complete, you should go to permanently uninstall it.

I hope you find the above information is helpful. If it does, please mark as Best Answer to help others too.