Others

Fix JavaScript Errors on the SharePoint Online Site Contents Page

Bushra ParveenBushra Parveen Nov 20, 2026 869 views

Question details

The user needs to identify and resolve a JavaScript error that prevents a SharePoint Online Site Contents page from loading.

Fix JavaScript Errors on the SharePoint Online Site Contents Page
Product
SharePoint Online
Device & OS
not provided
Scenario
Opening the Site Contents page of a SharePoint Online site.
Observed behavior
The page may fail to load and show errors such as “Unexpected end of input” or “No define call” for a SharePoint Files module.
Before you start

Note the affected site URL, the exact error message, and whether other users can open the page. Have access to another supported browser and, if possible, a second test account or site.

Solution 1Recommended

Test the Site Contents page in another browser

Use this approach to determine whether the error is limited to a browser session or local browser data.

1
Try another browser

Open the affected SharePoint site in another supported browser, sign in, and select Site contents from the navigation or Settings menu.

2
Test a private session

Open a private or incognito window in the original browser, sign in to Microsoft 365, and try Site contents again.

3
Check browser data and extensions

If the page works in a private window or another browser, use the original browser’s settings to clear cached site data for SharePoint. Temporarily disable extensions, then reload Site contents.

Test the Site Contents page in another browser
Sign-in may be required: Clearing site data can sign you out of SharePoint. Sign in again before retesting.
Free Microsoft Office alternative

Work with Office files using WPS Office

WPS Office is a free, lightweight alternative for editing documents, spreadsheets, and presentations. Its familiar interface and Microsoft Office format support make it easy to move existing files into your workflow. It does not fix SharePoint Online Site Contents errors.

Open and edit Word, Excel, and PowerPoint files in compatible formats such as DOCX, XLSX, and PPTX.Work with Office files outside the affected SharePoint Site Contents page when you have a local copy.Use a familiar interface for documents, spreadsheets, and presentations.Start with a free, lightweight office suite.
microsoft office alternative - wps office

Frequently Asked Questions

What does “No define call” mean on the Site Contents page?

It indicates that a JavaScript module did not load as expected. Test another supported browser and a private window to help determine whether the problem is local to the browser.

How can I tell whether the issue affects only my account?

Ask another authorized user to open Site contents on the same site, or test with a second account in a private browser window. If only one account fails, ask a site owner to check Settings > Site permissions.

What if Site Contents works on other SharePoint sites?

The problem may be specific to the affected site. Ask its administrator to review recent site configuration and customizations, and include the comparison when contacting support.

Where can I check for a SharePoint Online outage?

A Microsoft 365 administrator can check Health > Service health in the Microsoft 365 admin center for SharePoint Online incidents and advisories.

Will WPS Office repair the SharePoint JavaScript error?

No. The error belongs to SharePoint Online and must be investigated through browser, account, site, or Microsoft 365 service checks. WPS Office can be used to edit compatible Office files separately.