You need to sign in to do that
Don't have an account?
Error message when deploying Experience Site from Sandbox to Sandbox
Hello,
I am trying to deploy Experience Site from Sandbox to Sandbox with Workbench and package.xml.
I get following error :
You have specified duplicate language codes for the same language de in your bundle. Language codes must be unique. Remove duplicates and try again.
Error message :

package.xml :
I am trying to deploy Experience Site from Sandbox to Sandbox with Workbench and package.xml.
I get following error :
You have specified duplicate language codes for the same language de in your bundle. Language codes must be unique. Remove duplicates and try again.
Error message :
package.xml :
<?xml version="1.0" encoding="UTF-8" ?> <Package xmlns="http://soap.sforce.com/2006/04/metadata"> <types> <members>SRC_UX_DE</members> <members>Font_Family_Encode_Sans_Expanded</members> <name>StaticResource</name> </types> <types> <members>CA_ThemeLayoutLogin</members> <name>AuraDefinitionBundle</name> </types> <types> <members>deutschland</members> <name>CustomSite</name> </types> <types> <members>deutschland_C</members> <name>ExperienceBundle</name> </types> <types> <members>deutschland</members> <name>Network</name> </types> <version>52.0</version> </Package>force-app\main\default\experiences\deutschland_C\config\languages.json :
{ "defaultCode" : "de", "defaultLabel" : "German", "id" : "33a3bb36-829b-4f2a-9bcb-345888e4ec13", "languages" : [ { "countryCode" : null, "fallbackLanguageId" : null, "id" : "5c694963-b7d0-448e-b909-c1929c54ed5c", "isActive" : true, "label" : "German - Deutsch", "languageCode" : "de", "type" : "language" } ], "type" : "languageContainer" }
It looks like you are using same laguage code for other language too in your experience bundle.
Please try to search with keyword as 'de' and see if there is any other language or file having same languageCode defined in the metadata, if found try to rename the duplicate one and it should pass through.
Hope above information helps, Please mark as Best Answer so that it can help others in the future.
Thanks.
All Answers
It looks like you are using same laguage code for other language too in your experience bundle.
Please try to search with keyword as 'de' and see if there is any other language or file having same languageCode defined in the metadata, if found try to rename the duplicate one and it should pass through.
Hope above information helps, Please mark as Best Answer so that it can help others in the future.
Thanks.
Now we have this in languages.json :