# EOS friend request

**URL:** <https://forums.unrealengine.com/t/eos-friend-request/682320>\
**Category:** Multiplayer & Networking\
**Tags:** onlinesubsystem, online-session, unreal-engine, Multiplayer, UE4, question\
**Created:** [November 2, 2022, 9:33am UTC](https://forums.unrealengine.com/t/eos-friend-request/682320 "2022-11-02T09:33:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sanchezgi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@sanchezgi](https://forums.unrealengine.com/u/sanchezgi)\
**Post date:** [November 2, 2022, 9:33am UTC](https://forums.unrealengine.com/t/eos-friend-request/682320/1 "2022-11-02T09:33:32Z")

</div>

Hi everyone,

I’m using EOS to make a multiplayer game, currently I’m able to login, create, find and join sessions. I was trying to implement the friends interface but I’m not able to send friend requests successfully, when I send an invite FOnSendInviteComplete delegate returns false and prints this error: not able to send invite due to NetId unknown. I know is something related with the id, but I don’t know what I’m doing wrong retrieving it from the player state. I’ll attach some code snippet to make more it clear

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/7/6/d7665558a298befce227d61ef83719104e6ed59e.png)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/5/9/85948302c8385d861f5d92a16d24fd897493da2b.png)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/9/5/995d1ceb22df3df5f4ecb2fbae348f21a8582b5e.png)

First I call sendInvite(APlayerState\*), the the OnFriendInviteSendComplete fires returning bWasSuccesful false.

I tested it with a friend joined in my session, and using his PlayerState

I guess soomething is wrong with the ID but I don’t know what I’m doing wrong retrieving it, I literally used the example provided on the EOS official documentation

[https://docs.redpoint.games/eos-online-subsystem/docs/networking\_uniquenetid](https://docs.redpoint.games/eos-online-subsystem/docs/networking_uniquenetid)

I also followed the send, accept and rejetc docu examples, but still it doesn’t work

[https://docs.redpoint.games/eos-online-subsystem/docs/friends\_invites](https://docs.redpoint.games/eos-online-subsystem/docs/friends_invites)

Any help is really appreciated.

Kind regards.

Alex
