# List LeaderBoard Records, ranks null

**URL:** <https://forum.heroiclabs.com/t/list-leaderboard-records-ranks-null/5251>\
**Category:** Client Libraries\
**Tags:** sdk-unity, typescript\
**Created:** [May 9, 2024, 2:19pm UTC](https://forum.heroiclabs.com/t/list-leaderboard-records-ranks-null/5251 "2024-05-09T14:19:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![hojat-shafiee](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/hojat-shafiee/32/1956_2.png) [@hojat-shafiee](https://forum.heroiclabs.com/u/hojat-shafiee)\
**Post date:** [May 9, 2024, 2:19pm UTC](https://forum.heroiclabs.com/t/list-leaderboard-records-ranks-null/5251/1 "2024-05-09T14:19:54Z")

</div>

Hello,  
i’m using ListLeaderboardRecordsAsync to show rank of logged in user in leaderboard in my game  
but IApiLeaderboardRecord rank is null, ( in nakama console show rank of player)

1. Versions: Server: Nakama {3.2.1}, Client: {Windows}, { nakama unity library 3.12.0}
2. Server Framework Runtime language TS/JS

```auto
 public async Task<IEnumerable<IApiLeaderboardRecord>> GetUserLeaderBoardRecord()
 {
     string[] owner = new string[1];
     owner[0] = UserId;
     var list = await Client.ListLeaderboardRecordsAsync(Session, GameConstants.GLOBAL_LEADERBOARD, owner);
     return list.OwnerRecords;
 }

```

📺 **Media:**  
 ![Screenshot 2024-05-09 174349](https://us1.discourse-cdn.com/flex020/uploads/heroiclabs/original/2X/e/eacee4ee68ad07fbee90fed7ae48aa0c9f1d8c9c.png)

---

<div class="post-metadata">

**Author:** ![hojat-shafiee](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/hojat-shafiee/32/1956_2.png) [@hojat-shafiee](https://forum.heroiclabs.com/u/hojat-shafiee)\
**Post date:** [May 9, 2024, 3:05pm UTC](https://forum.heroiclabs.com/t/list-leaderboard-records-ranks-null/5251/2 "2024-05-09T15:05:43Z")

</div>

i’m also tried ListLeaderboardRecordsAroundOwnerAsync  
But this function is the same output and rank is null

```auto
  public async Task<IEnumerable<IApiLeaderboardRecord>> GetUserLeaderBoardRecord()
  {
      var list = await Client.ListLeaderboardRecordsAroundOwnerAsync(session, GameConstants.GLOBAL_LEADERBOARD, UserId);

      return list.Records;
  }

```

---

<div class="post-metadata">

**Author:** ![hojat-shafiee](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/hojat-shafiee/32/1956_2.png) [@hojat-shafiee](https://forum.heroiclabs.com/u/hojat-shafiee)\
**Post date:** [May 9, 2024, 3:14pm UTC](https://forum.heroiclabs.com/t/list-leaderboard-records-ranks-null/5251/3 "2024-05-09T15:14:56Z")

</div>

thanks to @champilas  
just downgrade nakama to 3.20.1

---

<div class="post-metadata">

**Author:** ![sesposito](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/sesposito/32/2594_2.png) [@sesposito](https://forum.heroiclabs.com/u/sesposito)\
**Post date:** [May 9, 2024, 3:52pm UTC](https://forum.heroiclabs.com/t/list-leaderboard-records-ranks-null/5251/4 "2024-05-09T15:52:16Z")

</div>

Hello @hojat-shafiee,

I’m glad you resolved the issue, a fix is already on master and we’ll have a new release including it very soon.

Best.
