Solution Deployed
Experience / Develop & Deploy
SFDX Deployment fails when the zip file contains an External ID which is marked as a custom index
Summary
Using the SFDX file structure with the customindex folder to create a custom index on a field and also by setting the externalid attribute in the custom field field to true will cause a field to attempt to create a custom index twice on the one field twice during the deploy resulting in error.
Workaround
We haven't loaded the full details for this issue yet. Check the official page.
History
First tracked here as Solution Deployed
Nov 30, 2026