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

# GKError.Code.turnBasedInvalidTurn

The system can’t complete the requested operation because the participant doesn’t have the required turn state.

## Declaration

```swift
case turnBasedInvalidTurn
```

## See Also

### Turn-Based Game Errors

- [GKError.Code.turnBasedMatchDataTooLarge](gamekit/gkerror/code/turnbasedmatchdatatoolarge.md)
- [GKError.Code.turnBasedTooManySessions](gamekit/gkerror/code/turnbasedtoomanysessions.md)
- [GKError.Code.turnBasedInvalidParticipant](gamekit/gkerror/code/turnbasedinvalidparticipant.md)
- [GKError.Code.turnBasedInvalidState](gamekit/gkerror/code/turnbasedinvalidstate.md)
