When publishing an Experience Cloud site from Experience Builder, errors can occur for various reasons, including oversized CSS, invalid Head Markup, custom component bugs, corrupt page sections, audience assignment issues, or navigation menu configuration problems. Work through the troubleshooting steps below one at a time until publishing succeeds. If the problem persists after all steps, contact Salesforce Technical Support.
Go to Builder > Themes > ▼ > Edit CSS and remove the CSS. If the CSS content or total character length is too large, a publishing error may occur. After removing the CSS, attempt to publish the site again.
Go to Builder > Settings > Advanced > Edit Head Markup and remove the markup. Invalid or oversized Head Markup content may be causing the error. After removing the markup, attempt to publish again.
Remove custom components from the site. The implementation of a custom component may be affecting the site's publishing process. Try removing custom components one at a time to identify the problematic component.
Remove the affected section on the page and re-add it. Replacing the section may resolve the publishing error.
Remove all audience assignments from the page and its components. As documented in Known Issues, user audience assignments may be causing the publishing error. After removing all assignments, try publishing the site again.
Review the number and character count of navigation menu items. Publishing errors can occur if too many navigation menu items are created for a single site. Also review the total character length of all navigation menu item titles, as an excessive total may cause errors.
If the problem occurs only in a Sandbox environment, try updating each navigation menu individually. Inconsistencies can rarely occur when creating a Sandbox. Open each navigation menu via Edit and save it via Save Menu without making other changes. Attempt to publish after each save to isolate the problematic menu.
If none of the above steps resolve the publishing error, contact Salesforce Technical Support with the specific error message and the steps you have already attempted.
004867966

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.