SharePoint Document Issues

Fix an Invalid Document Library Error on SharePoint Modern Pages

Tauseeq MagsiTauseeq Magsi Nov 22, 2026 868 views

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.

Fix an Invalid Document Library Error on SharePoint Modern Pages
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.
Before you start

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.

Solution 1Recommended

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.

1
Copy the destination link

Open the document library or target folder in SharePoint and copy its URL from the browser address bar.

2
Edit the modern page

Open the affected page and select Edit. Select the Document Library web part and use its Delete or trash icon to remove it.

3
Add a Quick Links web part

Select the plus button where you want the link to appear, then choose Quick Links from the web part picker.

4
Add and publish the link

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.

Replace the Document Library Web Part with Quick Links
This is a workaround: Quick Links opens the library or folder instead of displaying its contents directly on the page. Users still need permission to access the destination.
Free Microsoft Office alternative

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.

Open and edit downloaded documents from a SharePoint libraryCompatible with Microsoft Office formats including DOCX, XLSX, and PPTXUse a familiar interface for documents, spreadsheets, and presentationsWork with Office files in one lightweight suite
microsoft office alternative - wps office

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.