---
title: "Record Failed Issue Build"
method: POST
path: "/api/rooster/issues/{issue_id}/build-failed"
tags: ["rooster"]
---

# Record Failed Issue Build

`POST /api/rooster/issues/{issue_id}/build-failed`

## Request

- Base URL: `https://api.pigeonly.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pigeonly.com/api/rooster/issues/{issue_id}/build-failed`
- Auth: none declared

A builder took this and produced nothing. Put it back now.

Waiting for the stall timeout would leave an issue whose build failed in
ninety seconds reading "being built now" for the next hour. Past three
attempts this escalates to Needs You instead of looping.

## Path parameters

- `issue_id` string, uuid, required

## Request body

- FailedBuildRequest
  - `reason` string, required
  - `outcome` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os.md) - [All operations](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/llms.txt) - [OpenAPI document](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/revisions/14571c4b7007?raw)
