Need help in migrating communities from Sandbox to production

While trying to deploy my community, I have been facing this error :

“The page “/PartnerIncentiveClaim” for Menu Item “New Incentive Claim” must be published, begin with a / character, and consists only of characters that are permitted in a URL path for Menu Item Type “Internal”

Although my page is already published. Can anyone please help in identifying what am I missing?


I ran into this issue. It took a long time to figure out since the error message we see ins’t the actual error.

In my case,

  1. I created list view on Opportunity object.
  2. Used it in a lightning component by referencing its API name.
  3. Used the lightning component in a community page.
  4. Referenced the community page in partner portal navigation menu.

I forgot to include the list view I created in step 1. But Salesforce threw error about the navigation menu URL path which is actually correct. It would have been helpful if it threw a error about the lightning component which is referencing the missing component.

Source : Link , Question Author : Shobhit Saxena , Answer Author : Avinash

Leave a Comment