FlexMatch: Describe ticket in COMPLETED status return info only about one player

I am having issue with describe matchmaking API (https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/GameLift.html#describeMatchmaking-property).

When described ticket is in COMPLETED status, property Players — (Array<map>) should include the team the players were assigned to in the resulting match. In my case it return only information about only one player (player who submitted ticket to FlexMatch), I can’t find any info about opponents, teams etc… Example of my response:

{“TicketId”:“995cd67c-f2a6-4edc-8c41-96890e5364fc”,“ConfigurationName”:“MF-DEVELOPEMNT”,“Status”:“COMPLETED”,“StartTime”:“2018-02-26T17:55:19.283Z”,“EndTime”:“2018-02-26T17:55:24.468Z”,“Players”:[{“PlayerId”:“eu-west-1-5486e3d0-21eb-4401-b232-ddc1ff16ae53”,“PlayerAttributes”:{“level”:{“N”:11},“mmr”:{“N”:0},“role”:{“SL”:[“human”]},“type”:{“S”:“TurnBased”},“world”:{“N”:2}}}],“GameSessionConnectionInfo”:{“GameSessionArn”:“arn:aws:gamelift:eu-west-1::gamesession/fleet-a6fc3572-35ac-4053-a1fc-aaa36d7bde33/80631763-3019-4ede-aef0-38d5b7baee5f”,“IpAddress”:“34.244.204.134”,“Port”:6013,“MatchedPlayerSessions”:[{“PlayerId”:“eu-west-1-5486e3d0-21eb-4401-b232-ddc1ff16ae53”,“PlayerSessionId”:“psess-c07ee3c4-52d1-48ef-b8f3-e43b96552f73”}]}}

“Players” property does not contain info about second player.

Hey @pablo666!

Thanks for trying out FlexMatch.

The behavior you are seeing is by design.

Match details (like all players in the match and their teams) are not included in the response from DescribeMatchmaking – that API only contains ticket information like the state of the ticket, any players submitted on the ticket, and the team assignment of players submitted on the ticket.

We have in our backlog a DescribeMatch API that would return match information via AWS client SDK API.

To get match information today, you can either connect to the game server from your game’s service to get it, or you can subscribe to SNS to get the players and team assignments in the SNS notification for the MatchSucceeded event.

Hey!
Thanks for answer!
I found a way to get matchmaker data using describeGameSessionDetails(https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/GameLift.html#describeGameSessionDetails-property) There is MatchmakerData — (String) property which works fine for me! :slight_smile:

I don’t know why but i wasn’t able to get those data from MatchmakingSucceeded event received from SNS, I also found there information about only one player. Maybe i did somthing wrong.