Are you experiencing OneDrive Error Code 0x8004def5 on Windows 11/10? Some Windows users have reported getting this error code while using OneDrive on their computers. When the error is triggered, users get the following error message:
Sorry, there is a problem with the OneDrive servers
Try again in a few minutes. (Error Code: 0x8004def5)
There can be different causes of this error for individuals. If OneDrive servers are currently facing downtime, you will likely face this error. A bad internet connection can also be a reason that you get the 0x8004def5 error code in OneDrive. Apart from that, firewall blockage, damaged cache, and corrupted customizations and settings can be some other reasons triggering this OneDrive error.
Now, if you are facing the same error, you have landed on the correct page. In this post, we will explain fixes to get rid of the 0x8004def5 error in OneDrive on Windows 11/10. So, let’s check out.
Sorry, there is a problem with the OneDrive servers (0x8004def5)
If you are getting the “Sorry, there is a problem with the OneDrive servers” error message with 0x8004def5 error code when using OneDrive on Windows 11/10, you can use the following methods to fix it:
- Check the status of OneDrive servers.
- Test your internet connection.
- Delete the Telemetry logs.
- Reset the OneDrive cache.
- Allow OneDrive through your firewall.
1] Check the status of OneDrive servers
As the error suggests a problem with OneDrive servers, make sure that the OneDrive servers are not down at the moment. It might be the case the OneDrive servers are undergoing maintenance or they might be facing some other server issues due to which you receiving this error. Hence, do check the current server status of OneDrive and ensure that its services are up and running. If not, wait for the server issue to be fixed from the end of OneDrive and try using OneDrive sometime later.
If the OneDrive servers are not down, move on to the next fix to resolve the error.
Fix: 0x8004de34 OneDrive error
2] Test your internet connection
The “Sorry, there is a problem with the OneDrive servers” error could be very well facilitated due to a weak or unstable internet connection. Since OneDrive needs an active internet connection to connect to its servers and synchronize data, you must ensure that you are connected to a reliable internet connection.
You might be experiencing issues with your wireless connection. So, troubleshoot WiFi problems and then try using OneDrive to check if the error 0x8004def5 is resolved or not. You can also try connecting to a different network connection and see if it helps. However, if your internet connection is working fine, use the next solution to fix this error.
See: Fix OneDrive Error Code 0x8004e4a2.
3] Delete the Telemetry logs
Some affected users were able to fix the error by clearing the telemetry logs linked with Microsoft OneDrive. You can also try doing the same and see if it works. Here’s how:
- Firstly, open the Run command box using Win+R and enter AppData in its Open field.
- Now, in the opened location, navigate to the following address:
AppData\Local\Microsoft\OneDrive\logs
- After that, delete the following two telemetry log files from the above location:
UserTelemetryCache.otc UserTelemetryCache.otc.session
- Once done, reboot your computer and open OneDrive to check if the error is fixed or not.
Read: Fix OneDrive cannot connect to Server error.
4] Reset the OneDrive cache
Another thing you can do to fix this error is reset the cache associated with OneDrive as well as the application to its default state. It might be the corrupted cache or settings that are causing an issue in establishing a connection with OneDrive servers. And thus, you are encountering the “Sorry, there is a problem with the OneDrive servers” error. So, if the scenario is applicable, you can clear the OneDrive cache to fix the issue.
Here’s how you can do that:
- Firstly, open the Run dialog using Win+R.
- Now, type the below command in the Open field and press the Enter button:
%localappdata%\Microsoft\OneDrive\onedrive.exe /reset
This will reset the OneDrive app. You can restart the app and check if the error is fixed or not.
In case the above command didn’t work, you can use one of the following commands to reset OneDrive:
C:\Program Files\Microsoft OneDrive\onedrive.exe /reset C:\Program Files (x86)\Microsoft OneDrive\onedrive.exe /reset
In case the error still pops up, you can move on to the next working fix.
5] Allow OneDrive through your firewall
An interference by your firewall can also cause the “Sorry, there is a problem with the OneDrive servers” error while using OneDrive. To check if your firewall is the reason why you are getting this error, temporarily disable your firewall and then see if the error is fixed. If yes, it is your firewall causing the error. So, you can allow OneDrive through your firewall to permanently fix the OneDrive error 0x8004def5.
Similarly, you can also check if your antivirus is causing the error by temporarily disabling it. If so, add the OneDrive app to its exception or exclusion list.
The above fixes should resolve the error for you.
PS: Here’s how to fix OneDrive Error Codes 1, 2, 6, 36, 0x8001007, 0x8004de40, 0x8004de85 or 0x8004de8a, 0x8004def0, 0x8004def7, 0x8004de90, 0x80070005, etc.
What is error code 0x8004def4 on OneDrive?
OneDrive Error Code 0x8004def4 can occur if your account credentials have changed or expired.
What is error code 8004dec5 in OneDrive?
The error code 0x8004dec5 occurs when signing into OneDrive. It basically indicated an authentication issue. Hence, make sure you are entering the correct username and password to access OneDrive. If the error occurs even with the correct credentials, you can delete the cached Office account identities from the registry. You can find it at HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\16.0\Common\Identity
location in Registry Editor. However, do back up your registry before doing so.
What is error code 0x80070005 in OneDrive?
The error code 0x80070005 in OneDrive primarily indicates that there is a problem with OneDrive updates. To fix it, you can run OneDriveSetup.exe and update the app. If that doesn’t work, set up Group Policy for work or school accounts, reset the OneDrive app, or uninstall and then reinstall the OneDrive app to fix the error.
Now read: Fix OneDrive high CPU or Memory usage problem in Windows.