Skip to the content
Forge

Why a run failed

An ended run's page shows why it ended; the API has it as reason. Most failures are the run's own: its process exited with an error. The others name the step that went wrong.

The run itself

Reason What it means What to do
exit_code The process, or one of its commands, exited with an error. Read the output: the failing command's lines are at the end. Re-run with debug to look around in its container.
run_timeout The run took longer than timeouts.run_seconds. Raise the limit, or find out what hangs.
command_timeout A command took longer than its own timeout_seconds. Raise the command's limit.
disk_exceeded The run wrote more to disk than it reserved in resources.disk_bytes. Reserve more, or clean up as it goes.
cancelled Someone cancelled it, or a newer run of its concurrency group replaced it. The run's events say who or what.

Before it started

Reason What it means What to do
queue_timeout No runner was free in time. See why a run waits; raise timeouts.queue_seconds.
pull_failed The image couldn't be pulled. Check the image name and tag. A private image needs a registry with a pull login.
pull_timeout Pulling the image took longer than timeouts.pull_seconds. Use a smaller image, or raise the limit.
start_failed The container couldn't be started. Check the command, the working_dir and the image's entrypoint.
start_timeout Starting took too long. Raise timeouts.start_seconds.
checkout_failed The commit couldn't be checked out. Check the repository link is still there and the commit exists.
checkout_timeout Checking out the commit took too long. Check out less: a depth, sparse paths or no LFS.
inputs_failed The artifacts of earlier flow steps couldn't be put into the workspace. Check the earlier steps saved them.
inputs_timeout Putting those artifacts in place took too long. Pass smaller artifacts between steps.
service_failed A service couldn't be started, or exited before it was ready. The run's page shows the service's last output.
service_timeout A service wasn't ready in time. Check its ready check, or raise ready.timeout_seconds.
secret_unavailable A secret the run needs was deleted, or its version is gone. Add the secret again, then start the run again.
residency No runner stands in a country the residency policy allows. Pick a class or location the policy allows.
class_not_allowed The plan doesn't allow the run's runner class, and no own runner could take it. Pick another class, or change the plan.

Approvals

Reason What it means
approval_expired Nobody approved the run in time.
rejected A reviewer rejected the deploy.
not_allowed Once it was approved, whoever started the run was no longer allowed to start it.

After it ran

Reason What it means What to do
push_failed The run succeeded, but its images couldn't all be pushed. Its exit code stays 0. The run's page says which push failed and why: a login, a repository or a missing file.

The runner

Reason What it means What to do
runner_lost The runner stopped responding while it had the run. See runner problems. A retry policy with lost tries it again elsewhere.
runner_revoked The runner was revoked while it had the run. Start the run again.
run_missing The runner no longer knew the run. Start the run again.
runner_error The runner reported an error of its own. The run's events have the runner's message.