Fix the SharePoint People Web Part “Name Cannot Be Blank” Error
Question details
The user needs to save a modern SharePoint page after adding a person to the People web part.

- Product
- Microsoft SharePoint
- Device & OS
- not provided
- Scenario
- Editing a modern page and adding a person to the People web part.
- Observed behavior
- An extra blank field appears, and the page cannot be saved because of a “Name cannot be blank” error.
Confirm that you have permission to edit the page and identify it in the site's Site Pages library. Check that the page has a meaningful title and file name before adding people.
Give the SharePoint page a valid name and retry
Use this method first when the People web part prevents a modern page from being saved.
Open the modern page, select Edit, and enter a nonblank title in the page title area.
Open Site contents > Site Pages, find the page, and use its menu to rename it if the file name is missing or unsuitable.
Return to the page, select Save as draft, then edit the People web part and add the people again. Select Save as draft or Publish to check whether the error is resolved.

Test the page in a private window or on a new page
Use these checks if a valid page name does not resolve the error.
Work with Office documents in WPS Office
WPS Office is a free, lightweight alternative for working with Office documents in a familiar interface. Its format compatibility helps you move existing files into your workflow, though it does not fix SharePoint People web part errors.

Frequently Asked Questions
Why does the People web part show “Name cannot be blank”?
The error may occur if the modern page does not have a valid name. Check the page title in Edit mode and the file name in Site contents > Site Pages, then save the page before adding people again.
Where can I rename a SharePoint page?
Go to Site contents > Site Pages, locate the page, and use its menu to rename the file. You can also open the page, select Edit, and change its displayed title.
How can I tell whether the original page is the problem?
Select New > Page on the site, enter a title, add a People web part, and try to save it. If the new page works but the original does not, the issue may be specific to the original page.
What should I do if the error occurs on several sites?
Try the same action in a private browser window. If it still fails, give your SharePoint administrator a screenshot and details of which sites and site collections are affected.




