Logs / Error guide / Garry's Mod
Garry's Mod: “Invalid server login token” (GSLT)
What the message means
Steam rejects your server's login token. Without a valid token, the server often still runs, but doesn't appear in the server list and can't reliably load Workshop content.
What it looks like in the log
Network: IP 0.0.0.0, mode MP, dedicated Yes, ports 27015 SV / 27005 CL
Initializing Steam libraries for secure Internet server
Logging into Steam gameserver account with logon token '9A3Fxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
Invalid server login token. Please check your sv_setsteamaccount setting.
VAC secure mode is activated.
Excerpt from an example log, marked the way the analysis marks it.
Common causes
- The token was deleted, has expired or was used for another server.
- A typo or spaces when entering sv_setsteamaccount.
- The token belongs to a different app ID (a CS2 token doesn't work for Garry's Mod).
- The Steam account the token belongs to is banned or no longer meets the requirements.
How to fix it
- Open steamcommunity.com/dev/managegameservers and create a new token with the app ID 4000 (Garry's Mod).
- Enter it in your server's startup settings (the login token variable or +sv_setsteamaccount).
- Restart the server and check that “Connection to Steam servers successful” appears in the log without errors.
The token is masked automatically when you share your log.