What do the OneDrive error codes mean?

What do the OneDrive error codes mean?

OneDrive error 2 graphic

We’re sorry you’re having problems with OneDrive. Select your error code from the list below to learn more.

ISSUE

After enabling Files on Demand in OneDrive, some customers may see the following error when trying to access items in your OneDrive folder.

  • OneDrive cannot connect to Windows. Files On-Demand requires a connection to Windows in order to show your files without taking up space on this device. OneDrive can keep trying to connect to Windows or you can choose to download all your files. You won't be able to use online-only files until this is fixed.

STATUS: WORKAROUND

Read more about how to resolve the error when accessing files in OneDrive.

ISSUE

You are unable to sign in to OneDrive and the "You're syncing a different account" error appears. This may occur after you have changed your Microsoft Account password.

STATUS: WORKAROUND

For more details on the workarounds, read OneDrive shows "You're syncing a different account" error.

ISSUE

When you try to add your account to OneDrive for Mac, you may receive the error: "You're already syncing this account."

STATUS: WORKAROUND

  1. From Spotlight search type “keychain” and select " Keychain Access”. If it's not visible in Spotlight, go to the Utilities folder and open Keychain Access from there.

  2. Search for “OneDrive.”

  3. Delete “OneDrive Cached Credential.”

  4. Go to /Users/<username>/Library/Group Containers/

  5. Find and delete UBF8T346G9.OneDriveSyncClientSuite.plist and UBF8T346G9.OfficeOneDriveSyncIntegration.plist

  6. Restart OneDrive.

Error Code 1 means an unknown error has occurred, but there are a couple of other checks that may help you get OneDrive working again.

Check that you can access OneDrive online

  1. Select the white or blue OneDrive cloud icon in the notification area, at the far right of the taskbar.

    OneDrive SyncClient with blue cloud and white cloud icons

    Note: You might need to click the Show hidden icons arrow The Show hidden icons button. next to the notification area to see the OneDrive icon. If the icon doesn't appear in the notification area, OneDrive might not be running. Select Start, type OneDrive in the search box, and then select OneDrive in the search results.

  2. Select More > View online.

    Screenshot of getting to OneDrive Settings

    Note: If you're having problems signing in to OneDrive.com online, check the status of Microsoft Office Online Services at the Service Health portal

Update to the latest version of OneDrive

OneDrive and Windows are frequently updated and keeping your PC up-to-date can help sync problems.

  1. Download the latest Windows updates to get the most out of OneDrive. The Windows 10 Fall Creators Update enables OneDrive Files On Demand which can help resolve sync problems. Learn more about OneDrive Files On-Demand.

  2. Download the latest version of OneDrive and install it. 

    Notes: 

    • If you already have the latest version, the installer setup will end automatically.

    • For more information on the latest version, read the release notes.

  3. Restart your PC

  4. Press  Press the Windows key , search for OneDrive and then open OneDrive.

Error code 2 means that OneDrive has experienced a problem fetching your account details.

Sign in to your Microsoft account to ensure there are no authentication issues.

Error code 36 may be seen if you exceed SharePoint limits on the amount of data items that can be managed at any one time. The List View Threshold is approximately 5000 items.

For more information, read Manage large lists and libraries in SharePoint.

Error Code 6 means a timeout error has occurred. We recommend restarting your computer or smart phone.

Please try the solutions below before contacting support:

  1. Check the internet connectivity on the device where OneDrive isn’t working.

  2. Check the status of Microsoft Office Online Services at the Service Health portal.

  3. Restart your computer or smart phone.

  4. Can you access other Microsoft services with your Microsoft account, such as Outlook.com or people.live.com? If you can, it may be a temporary problem with OneDrive. If you cannot, it could be account related, or a wider issue. 

Error Code 0x8001007 means OneDrive is having difficulties syncing with your PC. To fix this, unlink OneDrive and run OneDrive setup again.

You won't lose files or data by disabling, uninstalling or unlinking OneDrive on your computer. You can always access your files by signing in to your OneDrive account online.

  1. Select the white or blue OneDrive cloud icon in the notification area, at the far right of the taskbar.

    OneDrive SyncClient with blue cloud and white cloud icons

    Note: You might need to click the Show hidden icons arrow The Show hidden icons button. next to the notification area to see the OneDrive icon. If the icon doesn't appear in the notification area, OneDrive might not be running. Select Start, type OneDrive in the search box, and then select OneDrive in the search results.

  2. Select More > Settings.

    Screenshot of getting to OneDrive Settings

  3. Click Unlink this PC.

  4. Follow the steps in the Welcome to OneDrive wizard to set up OneDrive.

Error Code 0x80040c81 can be fixed by resetting your OneDrive.

means OneDrive is having difficulties connecting to the cloud. If you are using a cable to connect to the Internet, please read about How to fix your network connection.

If you are using Wi-Fi, read How to fix Wi-Fi problems.

Error Code 0x8004de40 means OneDrive is having difficulties connecting to the cloud. If you are using a cable to connect to the Internet, please read about How to fix your network connection.

If you are using Wi-Fi, read How to fix Wi-Fi problems.

You may see Error Codes 0x8004de85 or 0x8004de8a if there is a problem with your OneDrive account, including a missing account, or a mismatch if you sign in with a personal Microsoft account and a work or school account. 

Sign in to your personal Microsoft account or Office 365 account to ensure there are no authentication issues, then check your OneDrive app accounts:

  1. Select the white or blue OneDrive cloud icon in the notification area, at the far right of the taskbar.

    OneDrive SyncClient with blue cloud and white cloud icons

    Note: You might need to click the Show hidden icons arrow The Show hidden icons button. next to the notification area to see the OneDrive icon. If the icon doesn't appear in the notification area, OneDrive might not be running. Select Start, type OneDrive in the search box, and then select OneDrive in the search results.

  2. Select More > Settings.

    Screenshot of getting to OneDrive Settings

  3. Select the Account tab to ensure the correct or expected account is being displayed.

You may see Error Code 0x8004de96 after you have changed your Microsoft Account password.

For more information, read OneDrive shows "You're syncing a different account" error.

You may see Error Code 0x8004ded2 if you are trying to add a work or school account from an organisation that does not support OneDrive.

You may be able to resolve the issue by resetting OneDrive. You won't lose files or data by resetting OneDrive on your computer. 

Reset OneDrive on a PC

  1. Open a Run dialog by pressing Windows key  Press the Windows key  and R.

  2. Type %localappdata%/Microsoft/OneDrive/onedrive.exe /reset and press OK.

  3. Manually launch OneDrive by going to Start, type OneDrive in the search box, and then click OneDrive.

Reset OneDrive on a Mac

  1. Find OneDrive in your Applications folder.

  2. Right-click OneDrive and select Show Package Contents.

  3. Browse to the Contents > Resources folder.

  4. Double-click ResetOneDriveApp.command (or ResetOneDriveAppStandalone.command).

  5. Start OneDrive and finish the setup process.

You may see Error Code 0x8004def0 if your account credentials have changed or expired. Your organization may have a password policy that forces users to change their password every 60 days.

Check if you can access other Microsoft services, such as Outlook.com, with your personal Microsoft account or Sign in to Office 365 with your work or school account.

You may see Error Code 0x8004def4 if you are trying to use the OneDrive sync app while having the OneDrive store app installed.

The solution is to uninstall the OneDrive store app.

  1. Press  Press the Windows key  and enter apps:onedrive

  2. Select Uninstall and follow the prompts.

    Uninstalling OneDrive Store app

Note: You won't lose files or data by disabling, uninstalling or unlinking OneDrive on your computer. You can always access your files by signing in to your OneDrive account online.

You may see Error Code 0x8004def7 if you have exceeded your storage capacity and or your account has been suspended.

Learn what you can do When your OneDrive account is frozen.

Error code 0x8004de90 will be displayed if OneDrive has not been set up fully.

  1. Press  Press the Windows key , search for OneDrive and then open OneDrive

  2. When OneDrive Setup starts, enter your Microsoft account email address, and then select Sign in to set up your account.

Error Code 0x80070005 suggests there is an issue with OneDrive updates.

  1. Press  Press the Windows key  and type Updates 

  2. Select Check for updates and install all available Windows Updates.

  3. After Windows updates have completed, press  Press the Windows key  + R to open a Run window.

  4. Type %localappdata%\Microsoft\OneDrive\update and press OK.

  5. Double click on OneDriveSetup.exe to install the latest version of OneDrive.

ISSUE

When setting up Known Folder Move in OneDrive for Business, you receive the following error message:

An unknown error occurred. (Error code: 0x80070005)

This is caused by a group policy preventing the the feature from running.

RESOLUTION

Use gpedit.exe, modify a Group Policy.

Navigate to User Configuration > Administrative Templates > Desktop > Prohibit User from manually redirecting Profile Folders

Set the value to “Not Configured.”

MORE INFORMATION

It is possible your company’s administrators do not want you to configure this feature if the Group Policy is enabled. Your administrator may also elect to continue to enforce the policy even if you manually override it.

Read more about how to Back up your Documents, Pictures, and Desktop folders with OneDrive.

ISSUE

You may see Error Code 0x8007018b is you are trying to delete, move or rename a file that is open or in use by OneDrive.

RESOLUTION

  1. Wait for OneDrive to finish syncing.

  2. Close OneDrive by selecting the OneDrive cloud icon, selecting More, then Close OneDrive.

If you see the error message "Upload Blocked" or are having trouble syncing Office files, the Office Upload cache system may be interfering with OneDrive sync. Try turning off the related setting in OneDrive settings.

  1. Select the white or blue OneDrive cloud icon in the notification area, at the far right of the taskbar.

    OneDrive SyncClient with blue cloud and white cloud icons

    Note: You might need to click the Show hidden icons arrow The Show hidden icons button. next to the notification area to see the OneDrive icon. If the icon doesn't appear in the notification area, OneDrive might not be running. Select Start, type OneDrive in the search box, and then select OneDrive in the search results.

  2. Select More > Settings.

    Screenshot of getting to OneDrive Settings

  3. Select the Office tab and uncheck the Use Office 2016 to sync Office files that I open check box.

    Note: When you turn off the Use Office 2016 to sync Office files that I open setting, any changes that you and other people make to Office files in your OneDrive will no longer merge together automatically.

After deselecting a folder from the list of folders you choose to sync, you may see an error: "The file or folder already exists on OneDrive."

Workaround options:

Option 1: Delete it from the PC.

Note: It’s safe to delete the file because it’s still available in OneDrive online. If you don’t want to have the folder in OneDrive and only have the folder on your PC, move the folder out of the PC’s OneDrive folder (see option 2 below).

Option 2: Remove the file or folder from OneDrive.

Note: With the file included in your list of folders to sync, move the folder to another place outside the OneDrive folder structure. This will delete the files and folder from OneDrive.com and make them only available on your PC.

Learn more

More fixes for recent OneDrive issues

Need more help?

Online

Get online help
See more support pages for OneDrive and OneDrive for Business.
For the OneDrive mobile app, see Troubleshoot OneDrive mobile app problems.

Email Support icon

Email support
If you still need help, shake your mobile device while you're in the OneDrive app or email the OneDrive support team. To contact OneDrive for Business support from your PC or Mac, select the OneDrive icon in the notification area or menu bar, then select More > Send feedback > I don't like something.

OneDrive for Business Admins can also view the OneDrive for Business Tech Community, Help for OneDrive for Business Admins, or contact Office 365 for business support.

Office 365 community forums

Tips
Letting us know your location may help us resolve your issue more quickly.

All fixed? If you contacted us and OneDrive starts working again, please let us know by replying to the email we sent you.

Expand your Office skills
Explore training
Get new features first
Join Office Insiders

Was this information helpful?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.

×