logo
search
OneDrive Error Codes

How to Fix a 404 File Not Found Error in OneDrive

Maira MehtabMaira Mehtab Sep 22, 2026 869 views

Question details

The user is trying to resolve a 404 File Not Found error encountered when attempting to access a file, folder, or shared link in OneDrive.

Product
Microsoft OneDrive
Device & OS
not provided
Scenario
Accessing a OneDrive file via a shared link, bookmark, or directly through the web or desktop client.
Observed behavior
The system displays a '404 File Not Found' error message, preventing access to the requested document or page.
Before you start

Ensure you have a stable internet connection and verify that you are signed into the correct Microsoft account associated with the missing file.

Solution 1Recommended

Search OneDrive and Check the Recycle Bin

Since the 404 error is most commonly caused by files being moved, renamed, or deleted, searching the drive and recycle bin is the most effective first step.

When a file is accidentally deleted or moved to a different folder, any old links pointing to it will break and return a 404 error. The OneDrive web interface allows you to search globally across all your folders and recover deleted items from the Recycle Bin.

1
Search for the file name

Log into the OneDrive website, click the search bar at the top of the page, and type the name of the missing file to see if it was moved to another directory.

2
Open the Recycle Bin

If the search yields no results, click on 'Recycle bin' located in the left-hand navigation pane.

3
Restore the file

Locate the missing file in the list, click the checkmark circle next to its name, and select 'Restore' from the top menu.

File Recovery Tip: Items in the OneDrive Recycle Bin are kept for 30 days for personal accounts and up to 93 days for work or school accounts before being permanently deleted.
Free Microsoft Office alternative

Experience Reliable File Management with WPS Office

If Microsoft Office and OneDrive errors frequently disrupt your workflow, consider switching to WPS Office. It provides a lightweight, highly compatible alternative with its own reliable built-in cloud storage to ensure your files are always safe and accessible without unexpected 404 errors.

  1. 1. Download and Install: Get the free WPS Office suite from the official website and install it on your computer.
  2. 2. Sign In to WPS Cloud: Create or log into your WPS account to instantly activate your free, secure cloud storage space.
  3. 3. Save and Sync Automatically: Create documents and save them directly to WPS Cloud for secure, error-free access from any device.
Seamless compatibility with all standard Microsoft Office formats (Word, Excel, PowerPoint).Built-in WPS Cloud storage prevents unexpected synchronization and file access errors.Lightweight software that runs smoothly on Windows, Mac, Linux, and mobile devices.Familiar and intuitive user interface makes migration effortless.
microsoft office alternative - wps office

Frequently Asked Questions

Why does a shared OneDrive link show a 404 File Not Found error?

A shared link will return a 404 error if the file owner deleted or moved the file to a different folder. It can also occur if the link itself was set with an expiration date that has already passed.

Can I recover a file if it is not in the OneDrive Recycle Bin?

If the file is not in your primary Recycle Bin, scroll to the bottom of the Recycle Bin page and check the 'Second-stage recycle bin' (available for work or school accounts). If it is still missing, contact Microsoft OneDrive Support for further assistance.

Does renaming a file in OneDrive cause a 404 error?

Yes. If you or someone else tries to access the file using an old direct link, shortcut, or bookmarked URL that points to the previous file name, OneDrive will not be able to locate it, resulting in a 404 File Not Found error.