Entity is null
Detection
- String:
Entity is null or entity element's name is null
Examples
Error Search Entity is null or entity element's name is null
Resolution
An item of the deployment, often the Search Settings, refers to an object that is not in the target org (feature not enabled, or object not deployed yet).
- Deploy the object first, or enable its feature in the target org (Knowledge, Chat...)
- With delta deployments, an item that did not change in the Pull Request is not deployed: change it in the Pull Request, or turn on useDeltaDeploymentWithDependencies (https://sfdx-hardis.cloudity.com/salesforce-devops-config-delta-deployment/)
- Or remove the <searchSettingsByObject> block of this object from Search.settings-meta.xml