Fix JavaScript Errors on the SharePoint Online Site Contents Page
Question details
The user needs to identify and resolve a JavaScript error that prevents a SharePoint Online Site Contents page from loading.

- 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.
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.
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.
Open the affected SharePoint site in another supported browser, sign in, and select Site contents from the navigation or Settings menu.
Open a private or incognito window in the original browser, sign in to Microsoft 365, and try Site contents again.
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.

Isolate account and site-specific causes
Compare accounts and sites to narrow down whether permissions or site configuration need investigation.
Check SharePoint Online service health and escalate
Use this option if the error affects multiple accounts or sites, or persists after browser checks.
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.

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.




