<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppClip",
  "identifier" : "/documentation/AppClip/APActivationPayloadError",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "App Clips"
    ],
    "preciseIdentifier" : "s:SC28APActivationPayloadErrorCodeLeV"
  },
  "title" : "APActivationPayloadError"
}
-->

# APActivationPayloadError

An error that an App Clip activation payload returns.

```
struct APActivationPayloadError
```

## Topics

### Getting information about the error

[`static var errorDomain: String`](/documentation/AppClip/APActivationPayloadError/errorDomain)

### Interpreting errors

[`static var doesNotMatch: APActivationPayloadError.Code`](/documentation/AppClip/APActivationPayloadError/doesNotMatch)

The provided URL doesn’t match the invocation URL you registered for the App Clip.

[`static var disallowed: APActivationPayloadError.Code`](/documentation/AppClip/APActivationPayloadError/disallowed)

The user denied location access, or the source of the App Clip invocation wasn’t an NFC tag or visual code.

[`enum Code`](/documentation/AppClip/APActivationPayloadError/Code)

Error codes that an App Clip activation payload returns.

## Relationships

### Conforms To

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

[`CustomNSError`](/documentation/Foundation/CustomNSError)

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

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

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

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

---

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)