Brief description
Calling PlayerResolver.RemoveRoom()
with room.Id
rather than room.UniqueId
consistently produces an HTTP 500 error.
Note: the documentation states using UniqueId
, but if you don’t follow the instructions correctly the result from the API is potentially confusing.
Details and error message(s)
Request failure, StatusCode: 500
Expected behaviour
The HTTP API should most likely return 4000 or a similar 4xx error when and invalid value is provided.
How to reproduce
Every time
Steps:
- Create a room
- Send a request to delete the room but provide an invalid value for
UniqueId
(such asroom.Id
).
Environment
SDK: v0.10.9
Engine:
Unity: 2020.3.46f1
OS/Platform: Windows