CLI exit codes
The Veracode CLI returns an exit code to indicate whether your command succeeded or triggered an error. Some commands might have multiple exit codes.
The following table lists the exit codes and their meaning.
Exit code | Meaning |
---|---|
0 | Command completed successfully. |
1 | Generic error. |
2 | Parser error. Check command input and user permissions. |
3 | The veracode static scan or veracode scan command completed successfully, but the scanned application did not pass policy. |
4 | Specific to the veracode package command. No artifacts were created. If the --strict flag is enabled, this exit code indicates build failure during packaging. |
125 | Out of memory. |
126 | Command failed. Check local system configuration. |
127 | Command not found. Check PATH configuration and command syntax. |
128 | Invalid argument. Retry command. |
130 | Command terminated by user. |