<!--
{
  "availability" : [
    "iOS: 14.3.0 -",
    "iPadOS: 14.3.0 -",
    "macCatalyst: 14.3.0 -",
    "macOS: 11.1.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AdServices",
  "identifier" : "/documentation/AdServices/AAAttributionError/networkError",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "AdServices"
    ],
    "preciseIdentifier" : "s:SC22AAAttributionErrorCodeLeV07networkB0SoAAVvpZ"
  },
  "title" : "networkError"
}
-->

# networkError

The server is unable to provide a token because the internet isn’t available.

```
static var networkError: AAAttributionError.Code { get }
```

## Discussion

To receive an attribution token, you must have unimpeded internet access. Make sure
you’re not using a simulator when generating a token.

---

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)