Account and loginFailed 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
- 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.
- If you intentionally launched Minecraft in offline mode for singleplayer or LAN testing, safely ignore this error—it will not affect offline gameplay.
- 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.
| Loaders | Vanilla, Fabric, Quilt, Forge, Neoforge |
|---|
| Severity | Worth checking |
|---|
| Category | Account and login |
|---|
Check your own log