---
title: INSetTaskAttributeIntentResponseCode.failure
framework: intents
role: symbol
role_heading: Case
path: intents/insettaskattributeintentresponsecode/failure
---

# INSetTaskAttributeIntentResponseCode.failure

You were unable to modify the task attributes.

## Declaration

```swift
case failure
```

## Discussion

Discussion Use this response code for both transient and unrecoverable errors that prevented you from modifying the task.

## See Also

### Constants

- [INSetTaskAttributeIntentResponseCode.unspecified](intents/insettaskattributeintentresponsecode/unspecified.md)
- [INSetTaskAttributeIntentResponseCode.ready](intents/insettaskattributeintentresponsecode/ready.md)
- [INSetTaskAttributeIntentResponseCode.inProgress](intents/insettaskattributeintentresponsecode/inprogress.md)
- [INSetTaskAttributeIntentResponseCode.success](intents/insettaskattributeintentresponsecode/success.md)
- [INSetTaskAttributeIntentResponseCode.failureRequiringAppLaunch](intents/insettaskattributeintentresponsecode/failurerequiringapplaunch.md)
