---
title: INSetMessageAttributeIntentResponseCode.failure
framework: intents
role: symbol
role_heading: Case
path: intents/insetmessageattributeintentresponsecode/failure
---

# INSetMessageAttributeIntentResponseCode.failure

You are unable to modify the messages.

## Declaration

```swift
case failure
```

## Discussion

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

## See Also

### Response State

- [INSetMessageAttributeIntentResponseCode.unspecified](intents/insetmessageattributeintentresponsecode/unspecified.md)
- [INSetMessageAttributeIntentResponseCode.ready](intents/insetmessageattributeintentresponsecode/ready.md)
- [INSetMessageAttributeIntentResponseCode.inProgress](intents/insetmessageattributeintentresponsecode/inprogress.md)
- [INSetMessageAttributeIntentResponseCode.success](intents/insetmessageattributeintentresponsecode/success.md)
- [INSetMessageAttributeIntentResponseCode.failureRequiringAppLaunch](intents/insetmessageattributeintentresponsecode/failurerequiringapplaunch.md)
- [INSetMessageAttributeIntentResponseCode.failureMessageNotFound](intents/insetmessageattributeintentresponsecode/failuremessagenotfound.md)
- [INSetMessageAttributeIntentResponseCode.failureMessageAttributeNotSet](intents/insetmessageattributeintentresponsecode/failuremessageattributenotset.md)
