Minecraft Error Codes

Minecraft errors split between Java (crash 'exit codes' and login) and Bedrock (Microsoft Store codes). Here's what the common ones mean and how to fix them.

Error codes

Exit Code 1 Java crashed on launch

Cause: A mod conflict, a broken/incompatible Java version, or a corrupted game file.

Fix:
  1. Set the correct Java version for your Minecraft version in the launcher.
  2. Remove recently added mods/resource packs to find the culprit.
  3. Reinstall the game/launcher and update your GPU drivers.
Exit Code -1 Game closed unexpectedly (often a mod)

Cause: Usually a modded profile crashing — a bad mod, wrong Forge/Fabric version, or too little allocated RAM.

Fix:
  1. Match the mod loader (Forge/Fabric) version to your mods.
  2. Allocate more RAM to the instance in the launcher settings.
  3. Disable mods one at a time to isolate the bad one.
0x803F8001 Bedrock/Store: you don't own the game on this account

Cause: The Microsoft Store can't verify your license — wrong account, or the license didn't sync.

Fix:
  1. Sign in with the Microsoft account that owns Minecraft.
  2. Open Microsoft Store › ... › Downloads and updates and update the app.
  3. Run the Windows Store Apps troubleshooter, then restart.
Failed to Verify Username / Invalid Session Java can't confirm your login with Mojang/Microsoft

Cause: Your session token expired or the authentication servers are busy.

Fix:
  1. Restart the launcher so it re-authenticates.
  2. Log out of your Microsoft account and back in.
  3. Check the Mojang/Minecraft services status.
Realms Connection Error / Retrieving Can't reach your Realm

Cause: A Realms service issue or a version mismatch between you and the Realm.

Fix:
  1. Make sure your game is updated to the same version as the Realm.
  2. Check the Minecraft Realms service status.
  3. Restart the game and router.
io.netty / Connection Timed Out Can't reach a Java server

Cause: The server is offline, the address/port is wrong, or a firewall is blocking it.

Fix:
  1. Double-check the server IP and port.
  2. Confirm the server is online and on your game version.
  3. Allow Java through your firewall and restart the router.
Cauldron Bedrock could not reach the authentication servers

Cause: A temporary Mojang/Xbox service outage or a dropped connection during sign-in.

Fix:
  1. Check @MojangStatus for a reported outage and wait it out.
  2. Restart the game and your router, then sign in again.
  3. Switch networks (e.g. mobile hotspot) to rule out a filtered connection.
Bat Account provider could not be found (Bedrock)

Cause: The Xbox app/identity provider needed for sign-in is missing or not signed in.

Fix:
  1. Install the Xbox app from your platform store (search "Xbox").
  2. Sign into the Xbox app with the same Microsoft account.
  3. Restart Minecraft after the Xbox app is signed in.
Cobblestone Account is banned from online/multiplayer (Bedrock)

Cause: A moderation ban was applied to your Microsoft/Xbox account after a report.

Fix:
  1. Review the Minecraft reporting/ban policy for the ban duration.
  2. Wait out temporary suspensions; permanent bans require appeal.
  3. Ensure you are signing in with the correct account.
P2P/SIG: CODE ERROR: 100/102 Peer-to-peer connection failed (Bedrock multiplayer)

Cause: A broken P2P handshake or weak device signal between players.

Fix:
  1. Update Minecraft to the latest version on all devices.
  2. Reset your connection/router and rejoin.
  3. Sign out and back into your Microsoft/Xbox account.
Connection refused: connect Java could not open a socket to the server

Cause: The IP:port is wrong, or the server is offline/unreachable.

Fix:
  1. Double-check the exact server address and port.
  2. Confirm the server is online and you are whitelisted.
  3. Disable a VPN/firewall that may block the port.
Outdated client! / Outdated server! Client and server run different versions

Cause: The Java protocol version of your client does not match the server.

Fix:
  1. Update (or downgrade) your client to the server's version.
  2. On a server you own, update the server jar to match clients.
  3. Use a launcher profile pinned to the required version.
User Not Premium Java rejected login as a non-premium account

Cause: You are not signed into a valid (purchased) Microsoft account, or a cracked launcher is in use.

Fix:
  1. Sign into the official launcher with a Microsoft account that owns the game.
  2. Avoid third-party/cracked launchers.
  3. Re-link your Mojang account to Microsoft if migration is pending.
Exit code 1073741819 (0xC0000005) Access violation crash

Cause: A corrupted driver, conflicting mod, or faulty memory access crashed the JVM.

Fix:
  1. Update your GPU drivers to the latest stable release.
  2. Remove recently added mods/resource packs.
  3. Reinstall Java and the game; test with more allocated RAM.

Fixes that work for most Minecraft errors

  1. Check the game's official server status page or its X/Twitter — if servers are down or under maintenance, no local fix will help; wait it out.
  2. Fully close and restart the game and its launcher (Steam / Epic / EA App / Battle.net).
  3. Restart your router and, on PC, flush DNS (open Command Prompt and run: ipconfig /flushdns).
  4. Verify or repair the game files in your launcher so a corrupted update is re-downloaded.
  5. Make sure the game and your OS are fully updated — most 'version mismatch' errors are an out-of-date client.

FAQ

What does exit code 1 mean in Minecraft?

Exit code 1 means the Java game crashed on launch — usually a mod conflict, the wrong Java version, or a corrupted file. Set the correct Java version, remove recent mods, and reinstall if needed.

How do I fix Minecraft error 0x803F8001?

0x803F8001 means the Microsoft Store can't verify you own Bedrock. Sign in with the account that owns Minecraft, update the app via the Store, run the Windows Store Apps troubleshooter, and restart.

What does the Cauldron error mean in Minecraft?

Cauldron means Bedrock could not reach the authentication servers, usually a temporary Mojang/Xbox outage. Check @MojangStatus, restart, and try a different network.

Other games