# DatasetCreatedError

Output type describing a failure when creating a dataset.

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

Custom Apex type representing an error output returned by the Client.getEventDetails() method's ErrorEvent handling. It carries the dataset name and the resources for a dataset that failed to be created.

## Fields

### Output fields
| Parameter | Type | Required | Description |
|---|---|---|---|
| name | String | optional | Name of the dataset that failed to be created. |
| resources | List&lt;<a href="#/apex-type-resource">Resource</a>&gt; | optional | The resources that were to be included in the dataset. |
| context | String | optional | Context attribute describing the source of the dataset creation. |
