Skip to Content
dFlow

Exit codes

What each dflow exit code means.

The exit code is how a script decides what to do next. The CLI does not retry. If you press Ctrl-C while a command is waiting, it exits 7 and leaves the operation running. Read it later with dflow operations:inspect.

CodeMeaning
0The command succeeded. Reading an application that is degraded is still success. The read worked.
1Usage or validation. A flag, a name, or the saved project and environment is wrong.
2The login is missing, the API rejected it, or this login may not run the command.
3The name or id is not visible to this login.
4The name already exists, or a hostname is already taken.
5The API accepted the operation, and the operation then failed or was cancelled.
6A precondition failed. Something else has to happen first, such as a cap, a missing cluster, or a name you still have to confirm.
7The wait ended first. The operation is still running. Read dflow operations:inspect.
10The API could not be reached.

How is this guide?

Last updated on