---
title: INAddMediaIntentResponseCode.failure
framework: intents
role: symbol
role_heading: Case
path: intents/inaddmediaintentresponsecode/failure
---

# INAddMediaIntentResponseCode.failure

The app was unable to add the media.

## Declaration

```swift
case failure
```

## Discussion

Discussion Use this code for both transient and unrecoverable errors that would prevent your app from adding the media.

## See Also

### Response Code

- [INAddMediaIntentResponseCode.unspecified](intents/inaddmediaintentresponsecode/unspecified.md)
- [INAddMediaIntentResponseCode.ready](intents/inaddmediaintentresponsecode/ready.md)
- [INAddMediaIntentResponseCode.inProgress](intents/inaddmediaintentresponsecode/inprogress.md)
- [INAddMediaIntentResponseCode.success](intents/inaddmediaintentresponsecode/success.md)
- [INAddMediaIntentResponseCode.handleInApp](intents/inaddmediaintentresponsecode/handleinapp.md)
- [INAddMediaIntentResponseCode.failureRequiringAppLaunch](intents/inaddmediaintentresponsecode/failurerequiringapplaunch.md)
