---
title: INSearchForPhotosIntentResponseCode.failure
framework: intents
role: symbol
role_heading: Case
path: intents/insearchforphotosintentresponsecode/failure
---

# INSearchForPhotosIntentResponseCode.failure

You were unable to perform the search.

## Declaration

```swift
case failure
```

## Discussion

Discussion Use this code for both transient and unrecoverable errors that would prevent your app from searching the user’s photos.

## See Also

### Constants

- [INSearchForPhotosIntentResponseCode.unspecified](intents/insearchforphotosintentresponsecode/unspecified.md)
- [INSearchForPhotosIntentResponseCode.ready](intents/insearchforphotosintentresponsecode/ready.md)
- [INSearchForPhotosIntentResponseCode.continueInApp](intents/insearchforphotosintentresponsecode/continueinapp.md)
- [INSearchForPhotosIntentResponseCode.failureRequiringAppLaunch](intents/insearchforphotosintentresponsecode/failurerequiringapplaunch.md)
- [INSearchForPhotosIntentResponseCode.failureAppConfigurationRequired](intents/insearchforphotosintentresponsecode/failureappconfigurationrequired.md)
