# EOS Sessions SetAllowedPlatformIds erroneous behavior 

**URL:** <https://forums.unrealengine.com/t/eos-sessions-setallowedplatformids-erroneous-behavior/2858362>\
**Category:** Multiplayer\
**Tags:** epic-online-services, question\
**Created:** [August 14, 2025, 5:04pm UTC](https://forums.unrealengine.com/t/eos-sessions-setallowedplatformids-erroneous-behavior/2858362 "2025-08-14T17:04:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [August 14, 2025, 5:04pm UTC](https://forums.unrealengine.com/t/eos-sessions-setallowedplatformids-erroneous-behavior/2858362/1 "2025-08-14T17:04:34Z")

</div>

Hi there,

We’re trying to use EOS\_SessionModification\_SetAllowedPlatformIds as a way to separate players based on platform, and running into a few issues. Tested on 1.16.4 and the newest 1.17.1.3 version.

- EOS\_OPT\_Nintendo (or EOS\_OPT\_Switch in older sdk version) seem to work correctly to allow switch players and deflect non switch players, but EOS\_OPT\_PSN does not seem to allow PlayStation players at all (tested only on ps4 so far). Unable to test GDK behavior at the moment.

- Using EOS\_OPT\_Epic (which is set to 100) as one of the allowed platform Ids is rejected with the following error:

Error response received from backend. ServiceName=[Sessions], OperationName=[CreateSession], Url=[\<Redacted\>], HttpStatus=[400], ErrorCode=[errors.com.epicgames.sessiontracker.invalid\_session], NumericErrorCode=[UNSET], ErrorMessage=[AllowedPlatforms contains an unknown value, supported values are HashSet(0, 2000, 3000, 4000, 1000)], CorrId=[EOS-llYdMPT3\_Em8nzCMx7DrsA-EeWJzZTSWEaFLTFb\_q6v\_g]

Of note EOS\_OPT\_Epic is explicitly cited as one of valid allowed platform values:

 ![069QP00000noBDpYAM.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/b/c/1bcca7b255ff1e925fc0cbebcbd43b312c1bd49b.png)

- Finally, None of the sessions that have a list of AllowedPlatformIds specified appear in the EOS dev portal matchmaking browser. They are counted in the total sessions/open slots, but won’t appear if sessionId/bucket is specified. Not the worst thing but would be great if they were visible here

 ![069QP00000no4fNYAQ.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/2/4/22445d3a6e8fa6890f72ee15480e72bea5b038b0.png)

---

<div class="post-metadata">

**Author:** ![SebBergy2.0](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sebbergy2.0/32/1214708_2.png) [@SebBergy2.0](https://forums.unrealengine.com/u/SebBergy2.0)\
**Post date:** [August 27, 2025, 5:27pm UTC](https://forums.unrealengine.com/t/eos-sessions-setallowedplatformids-erroneous-behavior/2858362/2 "2025-08-27T17:27:24Z")

</div>

Hey, sorry for the delay here!

- EOS\_OPT\_PSN → Can you share your logs from your repro? Something worth checking is that the account you are testing isn’t restricted from playing online
- EOS\_OPT\_Epic → We fixed this documentation mistake in 1.17.1.3. I’ve copied and pasted the contents of the header file below for convenience. EOS\_OPT\_Epic is a platform ID used internally by the SDK when looking up the display name. It can’t be used to restrict/allow EGS players in a lobby/session.
- Are you able to repro the session / dev portal issue with the sessions sample included in the C SDK download (modified to set AllowedPlatformIds)? If you can, and can share repro steps (or a recording), I’ll try to reproduce this on my end.

It might be good for us to work on this privately given that consoles are protected by NDA. Feel free to create a private discussion and tag me there.

Thanks!
