Account and login

Failed to Verify Authentication (InvalidCredentialsException: Status: 401)

What the log looks like

com\.mojang\.authlib\.exceptions\.InvalidCredentialsException: Status: \d+
Failed to verify authentication[\r\n]+com\.mojang\.authlib\.exceptions\.InvalidCredentialsException

How to fix it

  1. If you cannot join online multiplayer servers ("Invalid session"), close Minecraft, log out of your Microsoft account inside your launcher, and sign back in to refresh your login token.
  2. If you intentionally launched Minecraft in offline mode for singleplayer or LAN testing, safely ignore this error—it will not affect offline gameplay.
  3. If your game crashed or froze on the loading screen right after this line, look further down in latest.log, check the crash-reports folder, or check for an hs_err_pid file, as graphics driver hangs and incompatible client mods often fail right around this stage of startup.
LoadersVanilla, Fabric, Quilt, Forge, Neoforge
SeverityWorth checking
CategoryAccount and login

Check your own log

Related errors