# Is the limitation for GetFriends valid in Unreal SDK?

**URL:** <https://forum.heroiclabs.com/t/is-the-limitation-for-getfriends-valid-in-unreal-sdk/4384>\
**Category:** Runtime Framework\
**Tags:** sdk-unreal, friends\
**Created:** [September 25, 2023, 7:26am UTC](https://forum.heroiclabs.com/t/is-the-limitation-for-getfriends-valid-in-unreal-sdk/4384 "2023-09-25T07:26:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![j4c0b](https://avatars.discourse-cdn.com/v4/letter/j/3ab097/32.png) [@j4c0b](https://forum.heroiclabs.com/u/j4c0b)\
**Post date:** [September 25, 2023, 7:26am UTC](https://forum.heroiclabs.com/t/is-the-limitation-for-getfriends-valid-in-unreal-sdk/4384/1 "2023-09-25T07:26:10Z")

</div>

Hi, please, could somebody confirm the limitation of the function

```auto
void GetFriends(UNakamaSession* Session, int32 Limit, ENakamaFriendState State, FString Cursor, const FOnFriendsList& Success, const FOnError& Error);

```

In the **NakamaClient.h** is **@param Limit The max number of records to return. Between 1 and 100.**

But In API explorer and in [Heroic Labs Documentation | Friends](https://heroiclabs.com/docs/nakama/concepts/friends/) is a limitation **up to 1000 friends**

It’s a big difference. Could somebody confirm which limit is correct? Or is this correct because there is a special limitation in Unreal SDK?

{Details}

1. Server: Go, [registry.heroiclabs.com/heroiclabs/nakama:3.16.0](http://registry.heroiclabs.com/heroiclabs/nakama:3.16.0)
2. Versions: Nakama {2.8.1}, {Windows}

---

<div class="post-metadata">

**Author:** ![mofirouz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/mofirouz/32/1523_2.png) [@mofirouz](https://forum.heroiclabs.com/u/mofirouz)\
**Post date:** [September 25, 2023, 7:41am UTC](https://forum.heroiclabs.com/t/is-the-limitation-for-getfriends-valid-in-unreal-sdk/4384/2 "2023-09-25T07:41:45Z")

</div>

I think this was later changed in the server to allow 1000 friend fetches at a time. We will update the docs for the SDKs - thank you. cc @gabriel and @lugehorsam

---

<div class="post-metadata">

**Author:** ![j4c0b](https://avatars.discourse-cdn.com/v4/letter/j/3ab097/32.png) [@j4c0b](https://forum.heroiclabs.com/u/j4c0b)\
**Post date:** [September 25, 2023, 7:52am UTC](https://forum.heroiclabs.com/t/is-the-limitation-for-getfriends-valid-in-unreal-sdk/4384/3 "2023-09-25T07:52:25Z")

</div>

ok. thank you. We will use limit 1000 😉
