How to get the Active Session Details with EOS

Hey there, I’ve been trying out multiplayer and EOS for my project, and I was wondering how to get the Session Details that the player is in. I’ve tried EOS_SessionDetails_CopyInfo but I keep on getting the invalid parameters result. I’m not sure on what I’m doing wrong and having alot of issue with trying to find a solutions.

I’m trying to find a way to display a widget component if the user is on their local session, but once they are in a multiplayer session that said component will go away. I’ve been following this documentation but I keep getting issues, specifically the “Invalid Parameters” error. If anyone can help that would be great thank you.

Sessions Interface | Epic Online Services Developer (epicgames.com)