SteamCMD has exit codes to go with its failure errors. However, there is no documentation anywhere telling us what they mean. I may have to contact Valve to see if they would be willing to provide details of there exit codes
for example
Error! App '237410' state is 0x602 after update job.
gave me exit code 8
Where/how do you get the exit code ?
You will see exit codes scattered across LGSM. they are very useful in detected issues with other commands. Here is some example on catching an exit code
steamcmd.sh
if [ $? -ne 0 ]; then
echo "FAIL
else
echo "OK"
fi
basically if you run a command in shell then echo $? straight after you will see the previous commands exit code.
exitcode 0 is everything is OK and any other code is a failure. Some commands do have specific meanings. This allows us to trap the errors and handle them in our code, If we are lucky and the command has specific exit codes we know about I can get LGSM to handle a specific issue.
For example dealing with steamcmd issues. Since its hard to replicate all of the steamcmd issues its hard to tell what all the codes mean
Just posted here. Hopefully I get something back
https://github.com/ValveSoftware/steam-for-linux/issues/4341
That's cool, i didn't notice that into the code yet.
Should i harrass Gaben to get error codes and their meanings ?
Having a look at steam.sh i found
# Backward compatibility for server operators
if [ "$STEAMEXE" = "steamcmd" ]; then
echo "***************************************************"
echo "The recommended way to run steamcmd is: steamcmd.sh $*"
echo "***************************************************"
exec "$STEAMROOT/steamcmd.sh" "$@"
echo "Couldn't find steamcmd.sh" >&1
exit 255
253 more and we got them all.
Edit : Well, i'm late for the party, hopefully they'll give some piece of information.
current known error codes
0: Success!
1: ERROR! Timed out waiting for AppInfo update.
5: Login Failure: Two-factor code mismatch (88)
5: Login Failure: Rate Limit Exceeded (84)
8: ERROR! Failed to install (No subscription).
8: Error! State is 0x402 after update job.
8: Error! State is 0x602 after update job.
8. Error! App '376030' state is 0x202 after update job
| Error | Possible Reason |
| ---------------------------------------------- | ------------------------------------------------- |
| ERROR! Timed out waiting for AppInfo update. | Unknown |
| Login Failure: Rate Limit Exceeded (84) | Unknown |
| ERROR! Failed to install (No subscription) | Game not owned by any authorised accounts |
| Error! State is 0x202 after update job. | Not enough space to download game |
| Error! State is 0x402 after update job. | An update is required and that the update has been started previously. | |Error! App '232130' state is 0x202 after update job. | Low disk space |
| Error! State is 0x602 after update job. | Update required but not completed - check network |
| Error! App '255850' state is is 0x2 after update job. |
Adding support to to a fatal exit if no subscription
@Bourne-ID since you have been doing some work with steamcmd would it be possible for you to look at causing the install to fail if no subscription?
Error! App '232130' state is 0x202 after update job. Is low on disk space
new error #2684
https://gaming.stackexchange.com/questions/321270/error-app-255850-state-is-is-0x2-after-update-job
ArqadeThis issue has been solved. I was having an issue with my local CDN after a major internet outage that spanned over two weeks. I am trying to create a new Rust server for my friend and I to play o...
Steamcmd errors out stating ERROR! Timeout downloading item 1380777369 while still giving error code 0.
Most helpful comment
current known error codes
| Error | Possible Reason |
| ---------------------------------------------- | ------------------------------------------------- |
|
ERROR! Timed out waiting for AppInfo update.| Unknown ||
Login Failure: Rate Limit Exceeded (84)| Unknown ||
ERROR! Failed to install (No subscription)| Game not owned by any authorised accounts ||
Error! State is 0x202 after update job.| Not enough space to download game ||
Error! State is 0x402 after update job.| An update is required and that the update has been started previously. | |Error! App '232130' state is 0x202 after update job.| Low disk space ||
Error! State is 0x602 after update job.| Update required but not completed - check network ||
Error! App '255850' state is is 0x2 after update job.|