---
title: "processContentKeyResponseError(_:)"
framework: avfoundation
role: symbol
role_heading: Instance Method
path: "avfoundation/avcontentkeyrequest/processcontentkeyresponseerror(_:)"
---

# processContentKeyResponseError(_:)

Tells the receiver that the app was unable to obtain a content key response.

## Declaration

```swift
func processContentKeyResponseError(_ error: any Error)
```

## Parameters

- `error`: An doc://com.apple.documentation/documentation/Foundation/NSError that describes why the content key response failed.

## See Also

### Responding to the content key request

- [processContentKeyResponse(_:)](avfoundation/avcontentkeyrequest/processcontentkeyresponse(_:).md)
