logo
search
OneDrive Error Codes

How to Fix OneDrive Error Code 2 (Files Cannot Be Listed)

Khadija KhanKhadija Khan Sep 30, 2026 869 views

Question details

The user needs to resolve an issue where OneDrive fails to display or list files and folders, presenting Error Code 2 instead.

How to Fix OneDrive Error Code 2 When Files Cannot Be Listed
Product
Microsoft OneDrive
Device & OS
not provided
Scenario
Attempting to view, access, or list stored files within the OneDrive web interface or application.
Observed behavior
OneDrive displays Error Code 2 and cannot list the user's files due to a potential Microsoft 365 service disruption, browser glitch, or account synchronization issue.
Before you start

Before attempting to troubleshoot, verify that your internet connection is stable and ensure you have your Microsoft account credentials ready in case you need to sign back in.

Solution 1Recommended

Check Microsoft 365 Service Health

Use this solution first, as Error Code 2 is frequently caused by a temporary disruption in Microsoft's cloud servers.

When Microsoft 365 services experience an outage, OneDrive may temporarily lose its ability to fetch and list your files. Checking the official service status will confirm if the issue is on Microsoft's end.

1
Visit the Service Status Page

Open a web browser and navigate to the official Microsoft 365 service health page at https://portal.office.com/ServiceStatus.

2
Check for OneDrive Incidents

Look at the status list for any reported warnings or outages specifically affecting OneDrive or Microsoft 365 services.

3
Refresh Your Page

If an outage is reported, you will need to wait until Microsoft resolves it. Once the status shows as normal, refresh your OneDrive tab to see if your files load.

Check Microsoft 365 Service Health
Known Issue: Microsoft has previously acknowledged Error Code 2 as a known service issue. If it is an active outage, no changes to your local device will fix it until the servers are restored.
Free Microsoft Office alternative

Try WPS Office for Seamless Document Management

If you frequently experience cloud disruptions with Microsoft OneDrive, consider switching to WPS Office. It provides a robust, lightweight, and free alternative with excellent cloud integration, allowing you to manage your documents without losing productivity.

  1. 1. Download and Install: Visit the official WPS Office website to download the free installation package for your device.
  2. 2. Sign In for Cloud Access: Launch the application and sign in to activate your free WPS Cloud storage.
  3. 3. Manage Files Reliably: Easily upload, sync, and list your documents within the WPS interface without worrying about complex error codes.
Built-in WPS Cloud storage for reliable and easily accessible document backups.Fully compatible with Microsoft Word, Excel, and PowerPoint file formats.Lightweight software suite that installs quickly and runs smoothly on all devices.Familiar and intuitive user interface designed for a seamless migration.
microsoft office alternative - wps office

Frequently Asked Questions

What does Error Code 2 mean in OneDrive?

Error Code 2 typically indicates a server-side disruption or an authentication glitch that prevents OneDrive from successfully fetching and displaying your list of stored files and folders.

Are my files lost when OneDrive displays Error Code 2?

No, your files are completely safe on Microsoft's cloud servers. The error only affects the interface's ability to display them at that specific moment. They will reappear once the server or browser issue is resolved.

How long does it take for a Microsoft 365 service outage to be fixed?

The duration of an outage varies depending on its severity, but Microsoft typically resolves cloud service disruptions within a few hours. You can track their real-time progress on the Microsoft Service Health page.

Can I access my files offline if OneDrive web is down?

If you have the OneDrive desktop application installed and previously set your files to 'Always keep on this device,' you can still access those downloaded files directly through Windows File Explorer or Mac Finder, even during a web service outage.