---
title: ErrorResponse
framework: Apple Ads Platform API
role: symbol
role_heading: Object
platforms: [apple ads platform api 1.0+]
path: apple-ads-platform-api/errorresponse
---

# ErrorResponse

Certain endpoints return this envelope, which wraps an Error object, when a request fails.

## Declaration

```data
object ErrorResponse
```

## Properties

error: The error object containing details about the failure. See Error.

## Discussion

Discussion The ErrorResponse object is a response envelope that wraps an Error object. Certain endpoints return it when a request fails, providing the full Error structure including code, message, and details. A 429 status indicates the caller has exceeded its request quota. See Applying Rate Limits for the rate-limit headers and a sample backoff implementation to use before retrying. Example {   "error": {     "code": "INVALID_ARGUMENT",     "message": "The request could not be processed because of missing or invalid fields.",     "details": [       {         "code": "MISSING_REQUIRED_FIELD",         "message": "The field 'name' is required for campaign AwayFinder Summer Launch."       }     ]   } }

## See Also

### Error Responses

- [Error](apple-ads-platform-api/error.md)
- [ErrorDetail](apple-ads-platform-api/errordetail.md)
