---
title: GKError.Code.invalidPlayer
framework: gamekit
role: symbol
role_heading: Case
path: gamekit/gkerror/code/invalidplayer
---

# GKError.Code.invalidPlayer

The system can’t complete the requested operation because the player is invalid.

## Declaration

```swift
case invalidPlayer
```

## See Also

### Communication Errors

- [GKError.Code.unknown](gamekit/gkerror/code/unknown.md)
- [GKError.Code.cancelled](gamekit/gkerror/code/cancelled.md)
- [GKError.Code.communicationsFailure](gamekit/gkerror/code/communicationsfailure.md)
- [GKError.Code.invalidParameter](gamekit/gkerror/code/invalidparameter.md)
- [GKError.Code.gameSessionRequestInvalid](gamekit/gkerror/code/gamesessionrequestinvalid.md)
- [GKError.Code.apiNotAvailable](gamekit/gkerror/code/apinotavailable.md)
- [GKError.Code.connectionTimeout](gamekit/gkerror/code/connectiontimeout.md)
- [GKError.Code.apiObsolete](gamekit/gkerror/code/apiobsolete.md)
