Skip to main content

Build run not successful

typehttps://docs.frem.sh/reference/api/errors/build-run-not-successful
HTTP status400 Bad Request

What it means

build_run_id names a run that is neither running nor successful.

A failed, cancelled or skipped run did not publish an artifact, so it cannot be the provenance for one. A run that is still running IS accepted, because an image is normally pushed part-way through its own build.

What to do

Attest from the run that produced the artifact, once it has reached a running or successful state.

Response shape

All fremforge API errors are RFC 9457 problem+json:

{
  "type": "https://docs.frem.sh/reference/api/errors/build-run-not-successful",
  "title": "Bad Request",
  "status": 400,
  "detail": "..."
}

Branch on type, not on title or detail - those are human-readable and may be reworded.