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

# GKError.Code.gameSessionRequestInvalid

The properties of the game session request are impossible to fulfill.

## Declaration

```swift
case gameSessionRequestInvalid
```

## Discussion

Discussion For example, the maximum number of requested players is greater than the maximum number of allowed players.

## 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.invalidPlayer](gamekit/gkerror/code/invalidplayer.md)
- [GKError.Code.invalidParameter](gamekit/gkerror/code/invalidparameter.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)
