# DocumentProcessedError

Output payload describing a document that failed processing, surfaced on an ErrorEvent.

> Kind: Apex type · Updated: 2026-07-01

DocumentProcessedError represents an output carried by an ErrorEvent when a document fails to process. You resolve it from Apex via Client.getEventDetails().

## Fields

### Output fields
| Parameter | Type | Required | Description |
|---|---|---|---|
| Context | String | optional | Context describing the processing error. |
| File | <a href="#/apex-type-resource">Resource</a> | optional | The input Resource that failed to process. |
