# DocumentMapperRunError

Output type describing a failed document mapper run.

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

Custom Apex type representing an error output returned by the Client.getEventDetails() method's ErrorEvent handling. It identifies the mapper configuration, file, and record for a document mapper run that failed.

## Fields

### Output fields
| Parameter | Type | Required | Description |
|---|---|---|---|
| ConfigId | String | optional | Id of the document mapper configuration that failed to run. |
| FileId | String | optional | Id of the file the mapper ran on. |
| VersionNumber | Integer | optional | Version number of the file the mapper processed. |
| RecordId | String | optional | Salesforce Record Id associated with the run. |
| Context | String | optional | Context attribute describing the source of the run. |
