# `cli.incident_invalid`

The log text `jadpo incident` was given holds no deployable's `operation.failed` or `failure.rejected` event.

Area 14, [Tools](/docs/tooling.md); not declinable; the next step is usually the agent's.

## Why Jadpo refuses it

`jadpo incident` explains a fault or a failure from the event a deployable logged for it, which carries its build stamp and its `.jadpo` frames. Other lines say nothing it can follow to the code, so text without such an event is refused rather than explained by a guess.

## What it looks like

A project:


The text saved is the server's start, not the failure:

```sh
printf '%s\n' '2026-11-30T10:02:11Z listening on 0.0.0.0:8080' > app.log
jadpo incident app.log
```

```text
error: `app.log` holds no event `jadpo incident` explains
  reason: It explains a deployable's `operation.failed` and `failure.rejected` events: JSON objects, one a line or inside a platform's record, carrying the build stamp and `.jadpo` frames.
  next: Copy the event's line from the production log, with its `"event"` field, and run this again (agent)
  rule: cli.incident_invalid
  help: https://jadpo.dev/docs/errors/cli.incident_invalid
```

`(agent)` at the end of the `next:` line means your coding agent can make the fix itself.

## How to fix it

**If the text holds other lines only**, copy the event's line, the JSON object whose `"event"` is `operation.failed` or `failure.rejected`, from the production log. A timestamp or a platform's wrapping around it is fine:

```sh
pbpaste | jadpo incident -
```

The command finds the event and names its line in the build that ran, and where that code is now.

## Related

- [Production incidents after the code has changed](/docs/production-incidents-after-the-code-has-changed.md)
- [Errors point at the `.jadpo` line](/docs/errors-point-at-the-jadpo-line.md)
