# Client Libraries

**URL:** https://forum.heroiclabs.com/c/client-library/19.md?page=3

[Latest](https://forum.heroiclabs.com/latest.md) · [Categories](https://forum.heroiclabs.com/categories.md) · [Tags](https://forum.heroiclabs.com/tags.md)

**Page:** 4

---

## [Leaderboard does not re-rank when I delete an account on the leaderboard (when fetching records around owner)](https://forum.heroiclabs.com/t/leaderboard-does-not-re-rank-when-i-delete-an-account-on-the-leaderboard-when-fetching-records-around-owner/3211)

<div class="topic-metadata">

**Author:** [@maxmiranda](https://forum.heroiclabs.com/u/maxmiranda)\
**Replies:** 4\
**Last updated:** [March 20, 2024, 9:45am UTC](https://forum.heroiclabs.com/t/leaderboard-does-not-re-rank-when-i-delete-an-account-on-the-leaderboard-when-fetching-records-around-owner/3211 "2024-03-20T09:45:31Z")

</div>

I have deleted an account using my Nakama dashboard, and as a result Nakama has successfully deleted the leaderboard record in all my leaderboards. Now, when I go to fetch my leaderboard using ListLeaderboardRecords, I g…

---

## [Socket connection disconnects immediately on mobile](https://forum.heroiclabs.com/t/socket-connection-disconnects-immediately-on-mobile/5042)

<div class="topic-metadata">

**Author:** [@sinandmr](https://forum.heroiclabs.com/u/sinandmr)\
**Replies:** 1\
**Last updated:** [March 12, 2024, 1:50pm UTC](https://forum.heroiclabs.com/t/socket-connection-disconnects-immediately-on-mobile/5042 "2024-03-12T13:50:59Z")

</div>

I got the above error from the browserstack emulator, so actually the network socket data on an iPhone device is like this. Error message: The operation couldn’t be completed. Software caused connection abort If I …

---

## [Godot Android Build experiences HTTPRequest Failed](https://forum.heroiclabs.com/t/godot-android-build-experiences-httprequest-failed/5032)

<div class="topic-metadata">

**Author:** [@districtjackson](https://forum.heroiclabs.com/u/districtjackson)\
**Replies:** 0\
**Last updated:** [March 9, 2024, 11:08pm UTC](https://forum.heroiclabs.com/t/godot-android-build-experiences-httprequest-failed/5032 "2024-03-09T23:08:46Z")

</div>

Slightly weird post, because I have seemingly fixed the problem already. But I want to leave this here for anyone else in the future, and to maybe get a better explanation of what happened. Basically, in my Android Expo…

---

## [Godot Nakama SDK HTTP Requests times out unexpectedly](https://forum.heroiclabs.com/t/godot-nakama-sdk-http-requests-times-out-unexpectedly/5016)

<div class="topic-metadata">

**Author:** [@jeremyhcho](https://forum.heroiclabs.com/u/jeremyhcho)\
**Replies:** 3\
**Last updated:** [March 3, 2024, 2:42am UTC](https://forum.heroiclabs.com/t/godot-nakama-sdk-http-requests-times-out-unexpectedly/5016 "2024-03-03T02:42:23Z")

</div>

Hey there! I have a custom deployment of Nakama in Godot and I’m running into an issue that I can’t seem to completely understand. I’m initializing my client and calling authenticate\_email\_async client = Nakama.create\_…

---

## [How to set up a match label for match listings queries?](https://forum.heroiclabs.com/t/how-to-set-up-a-match-label-for-match-listings-queries/3979)

<div class="topic-metadata">

**Author:** [@BimDav](https://forum.heroiclabs.com/u/BimDav)\
**Replies:** 5\
**Last updated:** [February 26, 2024, 7:37pm UTC](https://forum.heroiclabs.com/t/how-to-set-up-a-match-label-for-match-listings-queries/3979 "2024-02-26T19:37:11Z")

</div>

Hello, A filter on match labels can be added to a match listing query, but I don’t see any way to add match labels, either when creating a match or after, via the WebSocket or REST APIs? Is it in anyway possible or shou…

---

## [How to get all party presences using party id?](https://forum.heroiclabs.com/t/how-to-get-all-party-presences-using-party-id/4995)

<div class="topic-metadata">

**Author:** [@abdelrahman-essawy](https://forum.heroiclabs.com/u/abdelrahman-essawy)\
**Replies:** 2\
**Last updated:** [February 26, 2024, 11:47am UTC](https://forum.heroiclabs.com/t/how-to-get-all-party-presences-using-party-id/4995 "2024-02-26T11:47:56Z")

</div>

Hello, I have a use case where each new member that joins the party, should be able to see other party members. onpartypresence only shows new presence, so only party’s leader can track all party’s members. I want eac…

---

## [Decoding issue with AES 128 in web browser](https://forum.heroiclabs.com/t/decoding-issue-with-aes-128-in-web-browser/4993)

<div class="topic-metadata">

**Author:** [@rokky](https://forum.heroiclabs.com/u/rokky)\
**Replies:** 0\
**Last updated:** [February 24, 2024, 8:43pm UTC](https://forum.heroiclabs.com/t/decoding-issue-with-aes-128-in-web-browser/4993 "2024-02-24T20:43:28Z")

</div>

Hello, I’m developing a web game using nakama-js. I’m looking to add a feature that requests account information from the server through the client (browser). The server encrypts the account information using AES-128 wit…

---

## [Delete Account](https://forum.heroiclabs.com/t/delete-account/4970)

<div class="topic-metadata">

**Author:** [@Albertcleetus](https://forum.heroiclabs.com/u/Albertcleetus)\
**Replies:** 1\
**Last updated:** [February 19, 2024, 10:18am UTC](https://forum.heroiclabs.com/t/delete-account/4970 "2024-02-19T10:18:57Z")

</div>

How will I delete user account from client, in ue4?

---

## [Best way to setup Pion/WebRTC with Nakama?](https://forum.heroiclabs.com/t/best-way-to-setup-pion-webrtc-with-nakama/4962)

<div class="topic-metadata">

**Author:** [@ValorZard](https://forum.heroiclabs.com/u/ValorZard)\
**Replies:** 1\
**Last updated:** [February 12, 2024, 12:14am UTC](https://forum.heroiclabs.com/t/best-way-to-setup-pion-webrtc-with-nakama/4962 "2024-02-12T00:14:24Z")

</div>

Hey, so I’m currently planning out a game that will be able to run multiplayer on both the web and natively with WebRTC datachannels. Thankfully, Go has a native implementation of WebRTC called Pion that seems to be able…

---

## [Administration in the game with Nakama Server in Unreal engine](https://forum.heroiclabs.com/t/administration-in-the-game-with-nakama-server-in-unreal-engine/4959)

<div class="topic-metadata">

**Author:** [@AmazingJungle](https://forum.heroiclabs.com/u/AmazingJungle)\
**Replies:** 1\
**Last updated:** [February 10, 2024, 8:33pm UTC](https://forum.heroiclabs.com/t/administration-in-the-game-with-nakama-server-in-unreal-engine/4959 "2024-02-10T20:33:25Z")

</div>

Hello I’m trying to implement an admin system in the game, with features like kick, mute, among others, there is a ban feature that exists on the Nakama panel, but with the unreal SDK, there is no way to access it from …

---

## [Trouble with Socket.AddMatchmakerAsync in Nakama](https://forum.heroiclabs.com/t/trouble-with-socket-addmatchmakerasync-in-nakama/4955)

<div class="topic-metadata">

**Author:** [@muhammad.hunain](https://forum.heroiclabs.com/u/muhammad.hunain)\
**Replies:** 3\
**Last updated:** [February 7, 2024, 5:47pm UTC](https://forum.heroiclabs.com/t/trouble-with-socket-addmatchmakerasync-in-nakama/4955 "2024-02-07T17:47:38Z")

</div>

Socket.AddMatchmakerAsync(“\*” , 2, 4); When using the Socket.AddMatchmakerAsync function with a minCount of 2 and a maxCount of 4, I’ve noticed that it behaves unexpectedly. Specifically, when three players request matc…

---

## [How to report and ban in unity?](https://forum.heroiclabs.com/t/how-to-report-and-ban-in-unity/4938)

<div class="topic-metadata">

**Author:** [@aliakbarm534](https://forum.heroiclabs.com/u/aliakbarm534)\
**Replies:** 0\
**Last updated:** [February 1, 2024, 7:59am UTC](https://forum.heroiclabs.com/t/how-to-report-and-ban-in-unity/4938 "2024-02-01T07:59:46Z")

</div>

I read that nakama have ban feature in backend side. But we know that in most games you also need reason why the player got banned. Thus you need a report feature. Does nakama have a report function? And does nakama hav…

---

## [Does runtime.http\_key if put in the client app allow to make admin-only requests?](https://forum.heroiclabs.com/t/does-runtime-http-key-if-put-in-the-client-app-allow-to-make-admin-only-requests/4860)

<div class="topic-metadata">

**Author:** [@RickCastle2018](https://forum.heroiclabs.com/u/RickCastle2018)\
**Replies:** 2\
**Last updated:** [January 24, 2024, 7:19pm UTC](https://forum.heroiclabs.com/t/does-runtime-http-key-if-put-in-the-client-app-allow-to-make-admin-only-requests/4860 "2024-01-24T19:19:19Z")

</div>

Hi! I was wondering if runtime.http\_key may be put in the client app and how should we authenticate admins when developing an additional admin panel for our (common for all of our games) go module. I was thinking about u…

---

## [When joining room chat and group chat then sending a message, both channel received the message](https://forum.heroiclabs.com/t/when-joining-room-chat-and-group-chat-then-sending-a-message-both-channel-received-the-message/4061)

<div class="topic-metadata">

**Author:** [@aliakbarm534](https://forum.heroiclabs.com/u/aliakbarm534)\
**Replies:** 4\
**Last updated:** [January 20, 2024, 12:07am UTC](https://forum.heroiclabs.com/t/when-joining-room-chat-and-group-chat-then-sending-a-message-both-channel-received-the-message/4061 "2024-01-20T00:07:33Z")

</div>

So I have a room chat named Public and group chat named MyGroup. In my scenario, first I joined Public chat by default. And then later the user can join a group chat by clicking a button. But when I send a message in a P…

---

## [How do matchmaking tickets work in Godot?](https://forum.heroiclabs.com/t/how-do-matchmaking-tickets-work-in-godot/4897)

<div class="topic-metadata">

**Author:** [@ultramarinebicycle](https://forum.heroiclabs.com/u/ultramarinebicycle)\
**Replies:** 0\
**Last updated:** [January 19, 2024, 8:16pm UTC](https://forum.heroiclabs.com/t/how-do-matchmaking-tickets-work-in-godot/4897 "2024-01-19T20:16:59Z")

</div>

I’m using NakamaMultiplayerBridge and in my test project, I’m more or less copy-pasting the code in the documentation: var ticket = await socket.add\_matchmaker\_async() if ticket.is\_exception(): print ("Error joining m…

---

## [Exception: ApiResponseException: Unknown Error](https://forum.heroiclabs.com/t/exception-apiresponseexception-unknown-error/4873)

<div class="topic-metadata">

**Author:** [@zhuguiqing](https://forum.heroiclabs.com/u/zhuguiqing)\
**Replies:** 4\
**Last updated:** [January 18, 2024, 11:16am UTC](https://forum.heroiclabs.com/t/exception-apiresponseexception-unknown-error/4873 "2024-01-18T11:16:21Z")

</div>

The same code is normal on Android, but it will report an exception on iOS. How to solve it? Exception is: Exception: ApiResponseException: Unknown Error Nakama.ApiClient.AuthenticateCustomAsync (System.String basicAu…

---

## [Apple Sign in Refresh Token](https://forum.heroiclabs.com/t/apple-sign-in-refresh-token/4876)

<div class="topic-metadata">

**Author:** [@00jknight](https://forum.heroiclabs.com/u/00jknight)\
**Replies:** 1\
**Last updated:** [January 17, 2024, 12:02am UTC](https://forum.heroiclabs.com/t/apple-sign-in-refresh-token/4876 "2024-01-17T00:02:14Z")

</div>

We use Sign In With Apple in our games. Is it up to the client to handle refreshing the Apple id token? Is there a recommended approach for this? We’re considering using the Sign In With Apple system to authenticate once…

---

## [Nakama-godot: party presence events not being delivered](https://forum.heroiclabs.com/t/nakama-godot-party-presence-events-not-being-delivered/4868)

<div class="topic-metadata">

**Author:** [@jonbonazza](https://forum.heroiclabs.com/u/jonbonazza)\
**Replies:** 3\
**Last updated:** [January 15, 2024, 9:46am UTC](https://forum.heroiclabs.com/t/nakama-godot-party-presence-events-not-being-delivered/4868 "2024-01-15T09:46:15Z")

</div>

I’m using the latest Nakama-godot version from the asset lib and working with the party subsystem of nakama. I am able to create parties and join them no problem, however whenever a user joins a party, nobody in the par…

---

## [Is it possible for a client to reestablish connection with server in case of unexpected disconnection?](https://forum.heroiclabs.com/t/is-it-possible-for-a-client-to-reestablish-connection-with-server-in-case-of-unexpected-disconnection/4867)

<div class="topic-metadata">

**Author:** [@Ndirangug](https://forum.heroiclabs.com/u/Ndirangug)\
**Replies:** 1\
**Last updated:** [January 14, 2024, 4:57pm UTC](https://forum.heroiclabs.com/t/is-it-possible-for-a-client-to-reestablish-connection-with-server-in-case-of-unexpected-disconnection/4867 "2024-01-14T16:57:08Z")

</div>

Hello, I’m building a multiplayer word game where the gameplay is realtime. Sometimes some players disconnect unexpectedly, eg due to network issues. In the event a player disconnects, is it possible for them to automati…

---

## [Socket connect giving error 'WebSocket is not defined'](https://forum.heroiclabs.com/t/socket-connect-giving-error-websocket-is-not-defined/4862)

<div class="topic-metadata">

**Author:** [@HailMaverick](https://forum.heroiclabs.com/u/HailMaverick)\
**Replies:** 3\
**Last updated:** [January 12, 2024, 3:37pm UTC](https://forum.heroiclabs.com/t/socket-connect-giving-error-websocket-is-not-defined/4862 "2024-01-12T15:37:33Z")

</div>

Hi, I am trying to build my Bot logic in Javascript using nakama-js. While trying to connect socket to my Nakama server, i am getting error as ‘WebSocket is not defined’. await nSocket.connect(nSession, appearOnline);…

---

## [partyInfo Not Receive](https://forum.heroiclabs.com/t/partyinfo-not-receive/4846)

<div class="topic-metadata">

**Author:** [@Albertcleetus](https://forum.heroiclabs.com/u/Albertcleetus)\
**Replies:** 6\
**Last updated:** [January 9, 2024, 11:13am UTC](https://forum.heroiclabs.com/t/partyinfo-not-receive/4846 "2024-01-09T11:13:22Z")

</div>

so we are using Nakama party system , but when we use the variable returned by createParty → FNakamaParty, it seems to not be updating with the latest information about newly joined members… \[FNakamaParty partyObject;\] …

---

## [ListGroupsAsync API doesn't allow combining filters](https://forum.heroiclabs.com/t/listgroupsasync-api-doesnt-allow-combining-filters/4850)

<div class="topic-metadata">

**Author:** [@Theo-Rapidfire](https://forum.heroiclabs.com/u/Theo-Rapidfire)\
**Replies:** 2\
**Last updated:** [January 9, 2024, 11:35am UTC](https://forum.heroiclabs.com/t/listgroupsasync-api-doesnt-allow-combining-filters/4850 "2024-01-09T11:35:56Z")

</div>

Hi, I’m trying to list all open groups where the name matches a user-defined search criteria, but I’m getting an error whenever I try to combine the name filter with the ‘open’ requirement as such: client.ListGroupsAsy…

---

## [Notification Receiver Issue](https://forum.heroiclabs.com/t/notification-receiver-issue/4807)

<div class="topic-metadata">

**Author:** [@Albertcleetus](https://forum.heroiclabs.com/u/Albertcleetus)\
**Replies:** 2\
**Last updated:** [January 7, 2024, 10:50am UTC](https://forum.heroiclabs.com/t/notification-receiver-issue/4807 "2024-01-07T10:50:24Z")

</div>

void UBackendGameinstance::getNotifications() { FOnReceivedNotification NotificationReceivedDelegate; NotificationReceivedDelegate.AddDynamic(this, &UBackendGameinstance::OnReceivedNotification); rtClient-\>Notificati…

---

## [Support for the Nuxt module](https://forum.heroiclabs.com/t/support-for-the-nuxt-module/4814)

<div class="topic-metadata">

**Author:** [@JCtapuk](https://forum.heroiclabs.com/u/JCtapuk)\
**Replies:** 2\
**Last updated:** [December 28, 2023, 6:16pm UTC](https://forum.heroiclabs.com/t/support-for-the-nuxt-module/4814 "2023-12-28T18:16:15Z")

</div>

Are you planning to make a module for Nuxt? While it is not there, you have to manually implement everything using the plugin, but I hope in the future there will be a convenient module for Nuxt Nakama

---

## [SocketException: A request to send or receive data was disallowed because the socket is not connected and (when sending on a datagram socket using a sendto call) no address was supplied](https://forum.heroiclabs.com/t/socketexception-a-request-to-send-or-receive-data-was-disallowed-because-the-socket-is-not-connected-and-when-sending-on-a-datagram-socket-using-a-sendto-call-no-address-was-supplied/4802)

<div class="topic-metadata">

**Author:** [@ghasem167](https://forum.heroiclabs.com/u/ghasem167)\
**Replies:** 1\
**Last updated:** [December 28, 2023, 6:06pm UTC](https://forum.heroiclabs.com/t/socketexception-a-request-to-send-or-receive-data-was-disallowed-because-the-socket-is-not-connected-and-when-sending-on-a-datagram-socket-using-a-sendto-call-no-address-was-supplied/4802 "2023-12-28T18:06:37Z")

</div>

Hi. I use nakama with unity and I saw this exception when using faraway server SocketException: A request to send or receive data was disallowed because the socket is not connected and (when sending on a datagram socket…

---

## [Clarification on party presence events](https://forum.heroiclabs.com/t/clarification-on-party-presence-events/4778)

<div class="topic-metadata">

**Author:** [@jonbonazza](https://forum.heroiclabs.com/u/jonbonazza)\
**Replies:** 4\
**Last updated:** [December 28, 2023, 5:16am UTC](https://forum.heroiclabs.com/t/clarification-on-party-presence-events/4778 "2023-12-28T05:16:14Z")

</div>

I’m Trying to better understand who receives party presence events. It’s not clear to me from the docs. For instance, If I wanted my game server (a godot server instance) to keep track of parties, would it recieve party …

---

## [Having problem with SocketException in WebGL build](https://forum.heroiclabs.com/t/having-problem-with-socketexception-in-webgl-build/4783)

<div class="topic-metadata">

**Author:** [@aliakbarm534](https://forum.heroiclabs.com/u/aliakbarm534)\
**Replies:** 1\
**Last updated:** [December 22, 2023, 3:43pm UTC](https://forum.heroiclabs.com/t/having-problem-with-socketexception-in-webgl-build/4783 "2023-12-22T15:43:49Z")

</div>

So I have problem with this bug. Sometimes it’s connected to nakama sometimes not. I’ve handled them with try catch like this public void SendChat(IChannel channel, string message) { UnityDispatcher.Dispatch(async…

---

## [Error read storage](https://forum.heroiclabs.com/t/error-read-storage/4736)

<div class="topic-metadata">

**Author:** [@ghasem167](https://forum.heroiclabs.com/u/ghasem167)\
**Replies:** 2\
**Last updated:** [December 14, 2023, 8:03am UTC](https://forum.heroiclabs.com/t/error-read-storage/4736 "2023-12-14T08:03:35Z")

</div>

I faced to this error when I try to read storage after passing 2 or 3 hours time after start session ApiResponseException: {“code”:13, “message”:“Error reading storage objects.”} Nakama.ApiClient.ReadStorageObjectsAsyn…

---

## [Can we export the public chat history in nakama console?](https://forum.heroiclabs.com/t/can-we-export-the-public-chat-history-in-nakama-console/4718)

<div class="topic-metadata">

**Author:** [@aliakbarm534](https://forum.heroiclabs.com/u/aliakbarm534)\
**Replies:** 1\
**Last updated:** [December 11, 2023, 11:36am UTC](https://forum.heroiclabs.com/t/can-we-export-the-public-chat-history-in-nakama-console/4718 "2023-12-11T11:36:14Z")

</div>

I want to export the chat history into a file like .csv in nakama console. Is it possible?

---

## [Nakama JS Client on an express js API](https://forum.heroiclabs.com/t/nakama-js-client-on-an-express-js-api/4693)

<div class="topic-metadata">

**Author:** [@BernardoSantos](https://forum.heroiclabs.com/u/BernardoSantos)\
**Replies:** 9\
**Last updated:** [December 6, 2023, 5:49pm UTC](https://forum.heroiclabs.com/t/nakama-js-client-on-an-express-js-api/4693 "2023-12-06T17:49:57Z")

</div>

Hey! Got this error while running nakama js client on an expressjs api. I use this to have matches with bot users. So a request is made for a bot to play a match, and the endpoint creates a ticket for a specific bo…

[Previous page](https://forum.heroiclabs.com/c/client-library/19.md?page=2)

[Next page](https://forum.heroiclabs.com/c/client-library/19.md?page=4)
