We are having a strange error with Matchmaker/UserInfo with only specific users.
We suspect is something wrong about how this users are implemented, but we don't understand where is the error, as all other apis work perfectly.
Title id is 661F and a user that makes the error is for example 5E487EA40D24A68E
The response is:
{
"code": 500,
"status": "InternalServerError",
"error": "InternalServerError",
"errorCode": 1110,
"errorMessage": "An unexpected error occured while processing the request.",
"errorHash": "97ea20c543d5a9672098fff695bd65f7",
"errorDetails": {
"RequestID": [
"3c0bb141d2624a26b2eb688df30660c4"
]
}
}
Answer by Brendan · Nov 22, 2017 at 02:26 AM
Thanks for the full details of the response - with a 500 error (which tells us something unexpected happened), the Request ID is what allows us to find the details.
In this case, the call to UserInfo was:
{"PlayFabId": "5E487EA40D24A68E", "MinCatalogVersion": 0}
This highlights an essential error in that API call, for which I've opened a bug - CatalogVersion is a string, not an int. When this function was created (very early in our history), CatalogVersion had to be a numeric value - that's no longer the case. What I would recommend is one of two things:
1. Make all your CatalogVersion values be integer values - literally a version number.
2. Use Server/GetPlayerCombinedInfo instead.
And thanks for the catch, by the way - the Matchmaker API is rarely used, which is how this hadn't come up before. We'll likely need to deprecate this API call in favor of putting something like GetPlayerCombinedInfo in the Matchmaker API.
Problem with Matchmaking with TagFilter 4 Answers
Secret keys not working 1 Answer
Game Manager Matchmaking UI: Match Total Rule Broken with Custom Expansion? 2 Answers
JSON Field Reformatting on Automation Save 2 Answers
Values "ShowAvatarUrl" missing in the web model "PlayerProfileViewConstraints" 1 Answer