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

# AAAttributionError.Code.networkError

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

## Declaration

```swift
case networkError
```

## 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

### Determining the cause of an error

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