<!--
{
  "availability" : [
    "iOS: 10.0.0 -",
    "iPadOS: 10.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 11.0.0 -",
    "tvOS: 14.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 3.2.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SiriKit",
  "identifier" : "/documentation/Intents/INIntentError/Code",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Intents"
    ],
    "preciseIdentifier" : "c:@E@INIntentErrorCode"
  },
  "title" : "INIntentError.Code"
}
-->

# INIntentError.Code

Constants for error codes returned by the framework.

```
enum Code
```

## Topics

### Encoding Errors

[`INIntentErrorDecodingGeneric`](/documentation/Intents/INIntentError/Code/decodingGeneric)

[`INIntentErrorEncodingFailed`](/documentation/Intents/INIntentError/Code/encodingFailed)

[`INIntentErrorEncodingGeneric`](/documentation/Intents/INIntentError/Code/encodingGeneric)

### Image Errors

[`INIntentErrorImageGeneric`](/documentation/Intents/INIntentError/Code/imageGeneric)

[`INIntentErrorImageLoadingFailed`](/documentation/Intents/INIntentError/Code/imageLoadingFailed)

[`INIntentErrorImageNoServiceAvailable`](/documentation/Intents/INIntentError/Code/imageNoServiceAvailable)

[`INIntentErrorImageServiceFailure`](/documentation/Intents/INIntentError/Code/imageServiceFailure)

[`INIntentErrorImageProxyInvalid`](/documentation/Intents/INIntentError/Code/imageProxyInvalid)

[`INIntentErrorImageProxyLoop`](/documentation/Intents/INIntentError/Code/imageProxyLoop)

[`INIntentErrorImageProxyTimeout`](/documentation/Intents/INIntentError/Code/imageProxyTimeout)

[`INIntentErrorImageRetrievalFailed`](/documentation/Intents/INIntentError/Code/imageRetrievalFailed)

[`INIntentErrorImageStorageFailed`](/documentation/Intents/INIntentError/Code/imageStorageFailed)

[`INIntentErrorImageScalingFailed`](/documentation/Intents/INIntentError/Code/imageScalingFailed)

[`INIntentErrorPermissionDenied`](/documentation/Intents/INIntentError/Code/permissionDenied)

### Voice Shortcut Errors

[`INIntentErrorVoiceShortcutCreationFailed`](/documentation/Intents/INIntentError/Code/voiceShortcutCreationFailed)

[`INIntentErrorVoiceShortcutDeleteFailed`](/documentation/Intents/INIntentError/Code/voiceShortcutDeleteFailed)

[`INIntentErrorVoiceShortcutGetFailed`](/documentation/Intents/INIntentError/Code/voiceShortcutGetFailed)

### Interaction Errors

[`INIntentErrorInteractionOperationNotSupported`](/documentation/Intents/INIntentError/Code/interactionOperationNotSupported)

The [`INInteraction`](/documentation/Intents/INInteraction) object could not be donated or deleted because those capabilities are not supported on the current device.

[`INIntentErrorDonatingInteraction`](/documentation/Intents/INIntentError/Code/donatingInteraction)

The INInteraction object could not be donated to the system.

[`INIntentErrorDeletingAllInteractions`](/documentation/Intents/INIntentError/Code/deletingAllInteractions)

The system was unable to delete all donated INInteraction objects.

[`INIntentErrorDeletingInteractionWithIdentifiers`](/documentation/Intents/INIntentError/Code/deletingInteractionWithIdentifiers)

The system was unable to delete the specified set of INInteraction objects.

[`INIntentErrorDeletingInteractionWithGroupIdentifier`](/documentation/Intents/INIntentError/Code/deletingInteractionWithGroupIdentifier)

The system was unable to delete the INInteraction objects using their group identifier.

### Extension Errors

[`INIntentErrorExtensionLaunchingTimeout`](/documentation/Intents/INIntentError/Code/extensionLaunchingTimeout)

The extension failed to launch in a timely manner.

[`INIntentErrorExtensionBringUpFailed`](/documentation/Intents/INIntentError/Code/extensionBringUpFailed)

There was an error while trying to communicate with the extension.

[`INIntentErrorNoAppAvailable`](/documentation/Intents/INIntentError/Code/noAppAvailable)

[`INIntentErrorIntentSupportedByMultipleExtension`](/documentation/Intents/INIntentError/Code/intentSupportedByMultipleExtension)

An intent was supported by more than one Intents extension in the same app. An app may have multiple Intents extensions, but each one must support a unique set of intents.

[`INIntentErrorRestrictedIntentsNotSupportedByExtension`](/documentation/Intents/INIntentError/Code/restrictedIntentsNotSupportedByExtension)

An intent was listed in the `IntentsRestrictedWhileLocked` key of the app’s `Info.plist`, but not in the `IntentsSupported` key. All intents in the `IntentsRestrictedWhileLocked` key must also be present in the `IntentsSupported` key.

[`INIntentErrorNoHandlerProvidedForIntent`](/documentation/Intents/INIntentError/Code/noHandlerProvidedForIntent)

No object was provided to handle the specified intent. If your extension declares support for an intent in its `Info.plist` file, the [`handler(for:)`](/documentation/Intents/INIntentHandlerProviding/handler(for:)) method of its [`INExtension`](/documentation/Intents/INExtension) object must provide a corresponding handler object.

[`INIntentErrorInvalidIntentName`](/documentation/Intents/INIntentError/Code/invalidIntentName)

The extension declared support for a nonexistent intent. Check your extension’s `Info.plist` file to make sure all intent names are spelled correctly.

### Other Errors

[`INIntentErrorRequestTimedOut`](/documentation/Intents/INIntentError/Code/requestTimedOut)

The underlying request timed out.

[`INIntentErrorInvalidUserVocabularyFileLocation`](/documentation/Intents/INIntentError/Code/invalidUserVocabularyFileLocation)

An invalid location was specified for the user vocabulary file.

[`INIntentErrorMissingInformation`](/documentation/Intents/INIntentError/Code/missingInformation)

## Relationships

### Conforms To

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Hashable`](/documentation/Swift/Hashable)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`Equatable`](/documentation/Swift/Equatable)

[`Sendable`](/documentation/Swift/Sendable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)