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
praveen murugesanpraveen murugesan 

Internal Salesforce Error on getAll() with Custom Setting

Suddenly we are getting Internal Salesforce Error on getAll method with List Custom Setting. Same code used in other classes it doesn't throw an error. Classes created in last 2 months only throws this error. Raised a case with salesforce team for the fix.
praveen murugesanpraveen murugesan
After lot of investigation sfdc team provided the solution. With new relase https://help.salesforce.com/articleView?id=cs_grant_all_permissions.htm&type=5 new option added to enable view all custom setting permission on profile level. After making this true issue got resolved.