Loading

Fix an Internal Server Error When Editing Apex Class Access in a Permission Set

Дата публикации: Sep 22, 2026
Описание

When updating a permission set in Salesforce to grant access to an Apex class, you may receive an error similar to the one below.

"Error: An internal server error has occurred. An error has occurred while processing your request. The salesforce.com support team has been notified of the problem. If you believe you have additional information that may be of help in reproducing or correcting the error, please contact Salesforce Support. Please indicate the URL of the page you were requesting, any error id shown on this page as well as any other related information. We apologize for the inconvenience. Thank you again for your patience and assistance. And thanks for using salesforce.com! Error ID: 181345344544-6454(-1355300733)"

This article explains why this error occurs when editing Apex class access in a permission set and how to resolve it.

Решение

This article explains how to resolve an internal server error that occurs when editing Apex class access in a Salesforce permission set, by enabling the Enhanced Permission Set Component Views setting.

Cause

This error can occur when the Enhanced Permission Set Component Views setting is not enabled in the org, which can interfere with editing Apex class access on a permission set.

Resolution

To resolve the error, enable the Enhanced Permission Set Component Views setting:

  1. Navigate to Setup | User Management Settings.
  2. Toggle Enhanced Permission Set Component Views to enabled.

After enabling this setting, return to the permission set and try editing the Apex class access again — it should now save without the internal server error.

Номер статьи базы знаний

002717234

 
Загрузка
Salesforce Help | Article