Minecraft: How To Repair “Failed To Obtain File, The Contents Differ”?

I’ve been a Minecraft participant since 2017 and nothing frustrates me greater than an error message that doesn’t let me launch the sport. Sure, I’ve confronted a bunch of them and realized my approach round them the laborious approach. If you’re caught with the “did not obtain file, the contents differ from what was anticipated” error, right here’s some assist.
Earlier than you break one thing or go down a rabbit gap of doable fixes, please have a look at the message twice and think about if the repair is hidden proper there.
Your job is straightforward as a result of the error message specifies the URL from which you’ll want to obtain the file and it additionally mentions the placement in your laborious drive the place the file must go.
Obtain it once more following these steps
Earlier than you begin the obtain, copy the error message at a distinct location, you’ll need it.
To obtain the file, copy the next URL and paste it right into a browser. https://libraries.minecraft.web/web/sf/jopt-simple/jopt-simple/4.5/jopt-simple-4.5.jar
Copy the downloaded file after which observe the file path specified within the error message. It ought to look one thing like this
C:Customers<username>AppDataRoaming.minecraftlibrariesnetsfjopt-simplejopt-simple4.5
Find the file named jopt-simple-4.5.jar and exchange it with the file you simply downloaded.
Launch Minecraft once more to see if the difficulty is resolved. If not, observe the subsequent steps.
Additionally Learn – Learn how to Repair Can’t Open The Web page Error on Safari?
Reset the file opening preferences for .JAR information
To open .JAR information, you need to have a Java runtime surroundings put in. To make sure that all courses and assets in a .JAR file are executed in a single request, you’ll want to set the correct file opening desire for Java.
If one other utility is ready because the default program to open these information, the information is not going to be executed appropriately, which can result in the error underneath dialogue.
To change the file opening desire, observe these steps:
- Navigate to C: > Customers > %username% > AppData > Roaming.
- Go to the .minecraft folder.
- Proper-click on any file with the .JAR extension and choose Properties. On this case, we’re utilizing a .JAR file within the addons folder to switch the file opening desire.
- Click on on the Change button subsequent to “Opens With.”
- Choose Java (or JDK) as this system to open information with this extension.
Make certain there are not any corrupt mods
In the event you prefer to play laborious, you in all probability strive each Minecraft mod you will get your arms on. Generally a mod could also be corrupted and it’d result in the error we’re discussing right here. Right here’s how one can rule out the potential for a corrupt mod.
First, you’ll want to navigate this file path: C:UserspercentusernamepercentAppDataRoaming.minecraft
Now, copy the mods folder and preserve it someplace useful. Now go into the sport listing and delete the mods folder after which relaunch the sport. If the launch is profitable, it is a sign that the mods folder was inflicting the difficulty.
You do not need to let go of all of the mods, so what you do is paste the mode folder into the sport listing and begin deleting mod information one after the other (you have already got them backed up) relaunching the sport after every deletion. Begin with the latest mod that you just had downloaded. This may allow you to determine the wrongdoer mod after which you may do away with it.
Rule out launcher-related points
In the event you’re experiencing issues whereas utilizing a launcher with mods, it’s seemingly that the launcher itself is inflicting the difficulty. In such circumstances, you may strive deleting the folder the place the non-vanilla launcher is put in, together with all its related information. Then, launch the vanilla launcher as an alternative.
If switching to the vanilla launcher resolves the issue, it’s really helpful to completely use it as an alternative of non-vanilla launchers.
If the options mentioned above don’t work, you may need to verify your firewall. Make certain your firewall permits the Minecraft app. If that too doesn’t work, strive reinstalling Minecraft.