# SalesforceFileCopiedError

Output type describing a failure when copying a Salesforce file.

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

Custom Apex type representing an error output returned by the Client.getEventDetails() method's ErrorEvent handling. It carries the identifiers and destination for a Salesforce file that failed to copy.

## Fields

### Output fields
| Parameter | Type | Required | Description |
|---|---|---|---|
| RecordId | String | optional | Id of the Salesforce record associated with the copy operation. |
| ContentVersionId | String | optional | Id of the ContentVersion for the file that failed to copy. |
| Destination | <a href="#/apex-type-resource">Resource</a> | optional | The intended destination resource for the copy. |
