Skip to content
Bug Barometer

NavigationMenus on experience cloud sites with spaces in the name throw deployment error after Spring '22 Upgrade

Salesforce says this is fixed.

Summary

When deploying NavigationMenus in sites with spaces in the site name, the error "Name: The Navigation Link Set API Name can only contain underscores and alphanumeric characters. It must be unique, begin with a letter, not include spaces, not end with an underscore, and not contain two consecutive underscores." is thrown when the default file names are used.

For example, NavigationMenus for an experience cloud site with the name "Site Name with Spaces" receives the file "SFDC_Default_Navigation_Site Name with Spaces.navigationMenu".

When any changes are made to this file (changing label names, etc.) and the changes are deployed, the error is thrown because the name contains spaces.

Workaround

We haven't loaded the full details for this issue yet. Check the official page.

History

  1. First tracked here as Solution Deployed with 68 reports

    Nov 30, 2026

Also open in DXP (Digital Experience Platform)