EOS_Sessions_JoinSession will fail when a player is attempting to join and the number of registered players is equal to the maximum number of players. Registering a player on a server is an asynchronous operation. There is a race condition where there may be an open slot available for a player…
https://dev.epicgames.com/community/learning/knowledge-base/bLR3J/epic-online-services-how-to-check-if-the-number-of-max-players-has-been-reached-on-a-server