Salesforce internal error
Detection
- String:
An unexpected error occurred. Please include this ErrorId
- Applies to: component errors, deployment errors
Examples
UNKNOWN_EXCEPTION: An unexpected error occurred. Please include this ErrorId if you contact support: 1234567890-12345 (-1234567890)
Resolution
Salesforce failed internally: the message does not say what is wrong.
- Run the job again, it is sometimes temporary
- Find the item that causes it: with delta deployments, the deployment holds only the items of the Pull Request (https://sfdx-hardis.cloudity.com/salesforce-devops-config-delta-deployment/)
- If it goes on, open a Salesforce support case with the ErrorId