How to fix DUPLICATE_DEVELOPER_NAME in Salesforce deployments
Two metadata components share the same Developer Name, which Salesforce requires to be unique.
Surfaces during: metadata deploy validation, before any DML runsWhat it means
DUPLICATE_DEVELOPER_NAME means the deployment tries to create a component, a record type, a global value set, a permission set, whose Developer Name already exists in the target org, or collides with another component in the same deployment. Developer Names have to be unique within their namespace, so Salesforce blocks the deploy rather than picking a winner.
It's most common on components without a per-object namespace, like global value sets and permission sets, since record types and custom fields are scoped to their parent object and only collide with siblings on the same object.
Common causes
The fix
- Rename the newer componentGive the incoming component a unique Developer Name and update any metadata that references it by that name.
- Delete the stale duplicate if obsoleteIf the existing component in the target org is genuinely no longer needed, remove it before redeploying.
- Coordinate naming conventionsAgree on a naming pattern for record types, value sets, and permission sets across the team to prevent future collisions.
How Serpent prevents this
Serpent AI flags overlapping Developer Names across concurrent tasks at scoping time, before two branches of work ever collide in a deploy. See the Salesforce deployment error library.

Prevention
Related errors
DUPLICATE_DEVELOPER_NAME, answered
Start free. No credit card, no install, no commitment.
Set up in under 15 minutes. No DevOps hire needed.
