Fix an Invalid Document Library Error on SharePoint Modern Pages
Question details
The user needs a way to access a document library when its web part intermittently reports an invalid list on a SharePoint modern page.

- Product
- Microsoft SharePoint
- Device & OS
- not provided
- Scenario
- A document library is displayed on a SharePoint modern page, but users need a reliable way to open the library or a folder.
- Observed behavior
- The modern page may show “The specified list is invalid” even though the owner can open the library directly. Classic pages may continue to work.
Open the affected library directly and copy its URL, or navigate to the folder you want to link. Make sure you have permission to edit the modern page and check whether affected users can open the library directly.
Replace the Document Library Web Part with Quick Links
Use a Quick Links web part to give users a direct route to the library or folder while the modern web part issue is investigated.
Open the document library or target folder in SharePoint and copy its URL from the browser address bar.
Open the affected page and select Edit. Select the Document Library web part and use its Delete or trash icon to remove it.
Select the plus button where you want the link to appear, then choose Quick Links from the web part picker.
In Quick Links, select Add links, paste the library or folder URL, and add a descriptive title. Select Publish or Republish, then test the link.

Open the Library Directly or Use Its Classic Experience
Use this temporary option if you need access to the files without relying on the affected modern page web part.
Work with SharePoint Documents Using WPS Office
WPS Office is a free, lightweight alternative for working with downloaded Office files. Its familiar interface and format compatibility make it easy to move between Office apps, though it does not fix SharePoint web part errors.

Frequently Asked Questions
Why can I open the library directly but not through the modern page?
The issue may affect the modern Document Library web part even when the library itself is accessible. Try opening the library URL directly and use a Quick Links web part as a temporary alternative.
Will Quick Links display the library's files on the page?
No. Quick Links provides a link that opens the library or folder; it does not embed the library's file listing on the modern page.
Can everyone use the Quick Links workaround?
Users must have permission to open the linked library or folder. Test the published link with an affected user, not just the site owner.
How do I switch a document library to classic SharePoint?
Open the library and look for Return to classic SharePoint near the bottom of its navigation. The option may not be available if your organization has disabled it.




