<!--
{
  "availability" : [
    "Apple Ads Platform API: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Apple-Ads-Platform-API",
  "identifier" : "/documentation/Apple-Ads-Platform-API/ErrorDetail",
  "metadataVersion" : "0.1.0",
  "role" : "Object",
  "symbol" : {
    "kind" : "Object",
    "modules" : [
      "Apple Ads Platform API"
    ],
    "preciseIdentifier" : "data:apple-ads-platform-api:ErrorDetail"
  },
  "title" : "ErrorDetail"
}
-->

# ErrorDetail

Field-level or request-level detail for a specific part of a failed API request.

```
object ErrorDetail
```

## Discussion

The `ErrorDetail` provides field-level or request-level granularity for a specific part of a failed request. Each entry in the `Error.details` array is one `ErrorDetail`.

### Example

```json
{
  "code": "FIELD_REQUIRED",
  "message": "campaign.name is required and was not provided for AwayFinder campaign creation."
}
```

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)