<!--
{
  "availability" : [
    "iOS: 3.0.0 - 7.0.0",
    "iPadOS: 3.0.0 - 7.0.0",
    "visionOS: 1.0.0 - 1.0.0",
    "watchOS: 3.0.0 - 3.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "GameKit",
  "identifier" : "/documentation/GameKit/GKVoiceChatClient/voiceChatService(_:didNotStartWithParticipantID:error:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "GameKit"
    ],
    "preciseIdentifier" : "c:objc(pl)GKVoiceChatClient(im)voiceChatService:didNotStartWithParticipantID:error:"
  },
  "title" : "voiceChatService(_:didNotStartWithParticipantID:error:)"
}
-->

# voiceChatService(_:didNotStartWithParticipantID:error:)

Received by the client when an attempt to establish a voice chat with another participant failed.

```
optional func voiceChatService(_ voiceChatService: GKVoiceChatService, didNotStartWithParticipantID participantID: String, error: (any Error)?)
```

## Parameters

`voiceChatService`

The voice chat service that was establishing the connection.

`participantID`

A string that uniquely identifies the other user.

`error`

The error that prevented the voice chat from being established.

## Discussion

Your application can implement this method to notify the user that an error occurred when establishing a connection.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)