Loading
ただいま大変多くのお問い合わせをいただいており、ご連絡までにお時間を頂戴しております続きを読む

"Author Apex" Permission Required to Execute Salesforce Apex Code via SOAP API

公開日: Jun 19, 2026
説明

Overview

If a Salesforce user does not have the correct permission to execute Apex code using a SOAP API call exposed in the Apex WSDL (Web Services Description Language), the following error occurs:
"You don't have permission to execute Apex."
This error commonly occurs when a developer or integration user attempts to run anonymous Apex code using the executeAnonymous() API call — for example, via Workbench, the Salesforce Developer Console, or a third-party integration tool.

解決策

Resolution

Users must have the Author Apex permission in Salesforce to execute Apex code using the executeAnonymous() API call or any other SOAP API call exposed in the Apex WSDL.
To add the Author Apex permission:
  1. Contact your Salesforce System Administrator.
  2. Request that the Author Apex permission be added to your Salesforce profile or permission set.
  3. Once the permission is granted, retry executing Apex code.
Note: The Author Apex permission controls the ability to create, edit, and run Apex code in a Salesforce org.

その他のリソース
For further information on permissions please review the following additional resources:

Trailblazer Community - Unable to set Author Apex Permission

ナレッジ記事番号

000386957

 
読み込み中
Salesforce Help | Article