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

# ResponseErrorDetail

Granular error detail for a single field or condition within a failed Recommendations or Suggestions request.

```
object RecommendationResponseErrorDetail
```

## Discussion

The `ResponseErrorDetail` provides field-level granularity for errors returned in a `ResponseError`. Each detail entry identifies one specific condition that caused the request to fail. For example, this occurs for a missing required field, an invalid value, or a constraint violation.

The `code` and `message` fields identify the nature of the issue. When `details` contains multiple entries, correct all issues before retrying. The API rejects the request atomically on the first validation pass.

### Example

```json
{
  "code": "MISSING_REQUIRED_FILTER",
  "message": "Filter 'promotedObjectId' is required",
  "info": {
    "field": "promotedObjectId",
    "location": "filters"
  }
}
```

## Topics

### Dictionaries

[`object RecommendationResponseErrorDetail.Info`](/documentation/Apple-Ads-Platform-API/RecommendationResponseErrorDetail/Info-data.dictionary)

Additional context that supplements the error message, varying by endpoint and error type.

---

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)