---
title: networkError
framework: AdServices
role: symbol
role_heading: Type Property
platforms: [iOS 14.3+, iPadOS 14.3+, Mac Catalyst 14.3+, macOS 11.1+, visionOS 1.0+]
path: adservices/aaattributionerror/networkerror
---

# networkError

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

## Declaration

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

## Discussion

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

## See Also

### Error codes

- [internalError](adservices/aaattributionerror/internalerror.md)
- [platformNotSupported](adservices/aaattributionerror/platformnotsupported.md)
- [AAAttributionError.Code](adservices/aaattributionerror/code.md)
