Minecraft is one of the most popular games in the world, but many players face various errors when they try to play the game. The list below provides the solutions and workarounds to some of the most common error codes.
How to Fix Minecraft Errors and Crashes
This is a comprehensive list, so I'll keep the solutions and workarounds concise. No one wants to run into even more problems when trying to fix one!
Multiplayer Errors
You will only face these issues when you're online or trying to connect to a server.
P2P/SIG: CODE ERROR: 100/102
- Possible causes
- Issues with the peer-to-peer connection or poor device signal.
- Solutions
- Update Minecraft to the latest version, reset your connection, sign out and sign back in to your Microsoft/Xbox account.
Connection refused: connect
- Possible Causes
- The IP: Port you entered is invalid.
- The server itself is inaccessible.
- Possible Solutions
- Confirm you've entered the correct server address and try again.
Related: Where to find all ore types in Minecraft - Best ore mining levels
Bat
- Possible Causes
- An account provider could not be found.
- Possible Solutions
- Ensure the Xbox App is installed, which you can find by searching for “Xbox” in your platform’s store app or the Microsoft store.
Cauldron
- Possible Causes
- Minecraft could not reach the authentication servers, or the connection timed out. This may be caused by a temporary service outage or issues with your game or internet connection.
- Possible Solutions
- Check if the developers have reported an outage @MojangStatus on Twitter. If so, wait until the outage has been resolved and try again later.
Cobblestone
- Possible Causes
- You may have a ban on the account.
- Possible Solutions
- Be sure to familiarize yourself with how the reporting system works in Minecraft. You could have broken one of the game's terms of service.
Creeper
- Possible Causes
- A network issue is interfering with the login process.
- Possible Solutions
- Run general troubleshooting on your internet connection.
Crossbow
- Possible Causes
- Something interfered with the client during login.
- Possible Solutions
- Completely close down the game and force-close it if possible. Restart it and let it sit for a few minutes to ensure it loads correctly.
Drowned
- Possible Causes
- This means an unknown error occurred.
- Possible Solutions
- There is no direct solution for this. Minecraft recommends closing the client and launcher and restarting it.
Glowstone
- Possible Causes
- Sign-in could not authenticate with all services.
- Possible Solutions
- Try to restart the game. If restarting doesn't work, wait for services to resolve their issues and try again.
Haybale
- Possible Causes
- This indicates an issue with Xbox authorization.
- Possible Solutions
- Ensure the Xbox app is updated. Try signing out, then signing back in.
End of stream
- Possible Causes
- The server is not sending information to the client.
- Possible Solutions
- Restart Minecraft or the server.
- Confirm both the server and the client have a good internet connection.
Failed to login: Bad Login
- Possible Causes
- You've attempted to log in too quickly after your previous attempt.
- Possible Solutions
- Confirm that you are running the same version of Minecraft as the server.
- Check your network connection.
- Wait a few minutes before trying to log in again.
Failed to login: Invalid Session
- Possible Causes
- The server data cannot verify whether your Minecraft version is licensed.
- Possible Solutions
- Restart Minecraft
- Reinstall Minecraft.
- Remove mods.
- Restart your PC.
Failed to login: invalid IP
- Possible Causes
- The Mojang servers cannot validate your IP address.
- Possible Solutions
- Try again later when validation services have returned to normal.
- Check your internet connection to make sure there are no dropped packets.
Failed to login: the authentication servers are currently down for maintenance
- Possible Causes
- The Minecraft server could not contact the authentication server for the user logging in.
- Possible Solutions
- Try again later when the authentication servers return to normal.
- Check your firewall to make sure the servers are not blocked.
- Set the server.properties to online-mode=false. This disables authentication for the server.
Ghast
- Possible Causes
- Credentials between your Xbox Live account and Microsoft/Mojang account are incorrect or don't match.
- Possible Solutions
- On Windows devices, sign out of Xbox Live and sign back in.
- On Switch, select Settings, then Profile, and select Clear Account Credentials.
Internal Exception: io.netty.handler.timeout.ReadTimeoutException
- Possible Causes
- The game or your computer can't process the data from the server fast enough, forcing you to fall out of sync with the server.
- Possible Solutions
- Check your internet connection to make sure there are no dropped packets.
- Make sure your computer is fast enough to run the game. It takes more processing power to play it on a server than single-player.
java.io.IOException: Server returned HTTP response code: 503
- Possible Causes
- The server cannot authenticate your account because minecraft.net is down.
- Possible Solutions
- Try again later when the Minecraft authentication servers have returned to normal.
java.net.SocketException: Connection reset
- Possible Causes
- The server has shut down or uses an excessive amount of processing power.
- The user's internet connection forced them to disconnect from the server.
- Possible Solutions
- Wait a few minutes and try to reconnect to the server.
- Confirm the server connection is normal.
Marketplace Errors (B-0010,L-401, D-0010, C-0010, U-000 S- or P-)
- Possible Causes
- These are issues related directly to the Marketplace itself.
- Possible Solutions
- You can do nothing directly except wait for the server to resolve the issue and try again later.
- Possible Causes
- Your Minecraft client is using an older version than the client the server is using.
- Possible Solutions
- Update your Minecraft client to the version the server is using.
Outdated client!
- Possible Causes
- Your Minecraft client is using an older version than the client the server is using.
- Possible Solutions
- Update your Minecraft client to the version the server is using.
Outdated server!
- Possible Causes
- Your Minecraft client is using a newer version than the client the server is using.
- Possible Solutions
- In the Minecraft Launcher, change your Minecraft version to the one used by the server.
Piglin
- Possible Causes
- There are too many users trying to log in from your device.
- Possible Solutions
- Force the game to close and restart it.
Pufferfish
- Possible Causes
- There is an unknown issue with the client during login.
- Possible Solutions
- Force the game to close, restart your device, and attempt to log back into Minecraft.
Sugar cane
- Possible Causes
- The wrong Microsoft/Xbox account is used to sign into the current PlayStation Network account.
- Possible Solutions
- The PlayStation and Microsoft account link is permanent and cannot be associated with other accounts.
Terracotta
- Possible Causes
- An unspecified error has occurred. This could mean any of the events above could have occurred.
- Possible Solutions
- Try out the general troubleshooting steps I mentioned above.
This server responded with an invalid server key.
- Possible Causes
- An attempt to validate a modified server has returned an incorrect value.
- Possible Solutions
- Attempt to log in again.
Took too long to log in.
- Possible Causes
- The server cannot authenticate who you are because minecraft.net wasn't responding
- Possible Solutions
- Confirm your internet connection works properly and there is no connection loss.
- Wait a few minutes and try again.
User Not Premium
- Possible Causes
- Your Minecraft client does not pass the minecraft.net authentication.
- Possible Solutions
- Confirm your client is a paid version of the game rather than a hacked or modified client.
You are not whitelisted on this server
- Possible Causes
- You are not on the list of people who may connect to the server.
- Possible Solutions
- Contact the server owner/administrator and request to be added to the list of people who may connect to the server.
Crashes
These issues can happen either in single-player or multiplayer and usually result in the game shutting down.
Error code 1073740791
- Possible causes
- Outdated graphics drivers
- Possible solutions
- Update your graphics drivers and Minecraft to the latest version.
Error code 1073740940
- Possible causes
- The Java Virtual Machine doesn't allocate enough RAM to run the game.
- Possible solutions
- Update Java or upgrade your RAM if your current setup doesn't meet the system requirements.
- Download a 8x8 Minecraft texture pack to reduce the texture size.
Error code 1
- Possible causes
- Minecraft Launcher cannot target Minecraft.exe to start the game.
- Solutions
- Reinstall Java, change the Executable path for Java by selecting Installations in the Minecraft Launcher, choosing your profile, select More Options and change the Java Executable path to the newest version of Java.
- Change the path of the Minecraft Launcher by right-clicking the launcher, selecting Properties and finding the Minecraft.exe file where Minecraft is installed.
- Disable mods and repeat the previous two steps.
Process crashed with exit code 1073741819
- Possible causes
- You have D3DGear game recorder installed on your PC, or your graphics drivers (particularly NVIDIA) have become corrupt.
- Solutions
- Uninstall D3DGear and/or update your NVIDIA graphics drivers.
Failed to check session lock, aborting
- Possible Causes
- An active lock on the part of the world that a third-party editor has left locked.
- Possible Solutions
- Delete session.lock in the world save folder.
java.lang.NullPointerException
- Possible Causes
- This is a catch-all crash response; many error logs could cause this. The game client crashed on startup.
- Possible Solutions
- Find the Java crash log (look for a file on your desktop that looks similar to: hs_err_pid). Check for the exact error code there.
- If you cannot determine the problem and it persists, rename the .minecraft directory to something else. Start Minecraft again and start a new game. This will create a new .minecraft directory. Move the saved worlds to the new .minecraft/saves folder if necessary.
Runtime Errors
These are errors with the game understanding its own code while it is running. These may be caused by code changes or issues with how your game/world is saved.
Unable to locate the Java runtime - 0x0000000/0x00000002
- Possible Causes
- Your existing Java installation has become corrupt or outdated.
- Your version of Minecraft is outdated and doesn't support the newer version of Java.
- Possible Solutions
- Reinstall Java
- Reinstall Minecraft
- Open Minecraft Launcher, select Options, and then select Advanced Settings. Choose your profile, and turn off the Java Executable option. Restart your PC and launch the game.
com.google.gson.JsonSyntaxException
- Possible Causes
- Your world may be corrupted.
- Your save files have invalid JSON/NBT formatting; tag names are defined as a "variable" instead of a string.
- Check for any mods installed in Minecraft.
- Possible Solutions
- Restore your save to a previous backup and remove any mods you didn't have before this issue.
- Sometimes, removing a problematic Minecraft mod will fix this error.
java.lang.OutOfMemoryError
- Possible Causes
- Your game has run out of memory.
- Possible Solutions
- Increase the amount of memory that is allocated to java.
- Free up memory by closing down any other unused programs.
- Reduce the number of mods that use excessive amounts of computer memory.
General error code troubleshooting
If you encounter an error code not mentioned above, you can proceed with the general troubleshooting steps below to address similar issues.
- If the internet connection causes your issues, you may need to contact your Internet Service Provider and/or complete separate troubleshooting steps.
- Restart the game, then sign back into your Minecraft: Bedrock Edition and Microsoft account(s).
- Verify the stability and strength of your device's internet connection.
- Log out of all Minecraft accounts, including the linked Microsoft account, and close any open Minecraft: Bedrock Edition applications.
- If you still see the error, repeat the steps above after waiting 1 hour, including internet troubleshooting steps.
These steps are applicable if you get any of the following error codes:
- Mycelium
- Observer
- Soul Sand
- Prismarine
- Wither Rose
- Magma Block
- Cake
RuntimeException: No OpenGL context found in the current thread.
- Possible Causes
- Your graphics card or driver cannot run Minecraft.
- Possible Solutions
- Make sure your graphics driver is up-to-date.
- On Linux systems, install a package that contains the xrandr utility.
- Upgrade your graphics card to something more powerful.
These are the most common error codes that players face. If you have one that isn't listed above, be sure to let us know in the comments below!
Want to improve the look of your Minecraft game? Use our guides on How to Install OptiFine and How to Install BSL Shaders!