How to Fix OneDrive Error Code 2 (Files Cannot Be Listed)
Question details
The user needs to resolve an issue where OneDrive fails to display or list files and folders, presenting Error Code 2 instead.

- 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 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.
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.
Open a web browser and navigate to the official Microsoft 365 service health page at https://portal.office.com/ServiceStatus.
Look at the status list for any reported warnings or outages specifically affecting OneDrive or Microsoft 365 services.
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.

Refresh Account and Clear Browser Data
Use this method if the Microsoft 365 servers are operating normally but your files still fail to load.
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. Download and Install: Visit the official WPS Office website to download the free installation package for your device.
- 2. Sign In for Cloud Access: Launch the application and sign in to activate your free WPS Cloud storage.
- 3. Manage Files Reliably: Easily upload, sync, and list your documents within the WPS interface without worrying about complex error codes.

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.




