---
url: >-
  https://adk.nht.io/api/@nhtio/adk/batteries/media/variables/E_MEDIA_STEP_FAILED.md
description: >-
  Thrown by the step runtime when a step implementation fails mid-execution
  (corrupt input, engine error). Carries the underlying error as `cause`.
---

# Variable: E\_MEDIA\_STEP\_FAILED

```ts
const E_MEDIA_STEP_FAILED: CreatedException<[string, string]>;
```

Defined in: [src/batteries/media/exceptions.ts:140](https://github.com/NHTIO/ADK/blob/v1.20260713.1/src/src/batteries/media/exceptions.ts#L140)

Thrown by the step runtime when a step implementation fails mid-execution (corrupt input,
engine error). Carries the underlying error as `cause`.
